How to share Internet (eth0) with Ethernet (eth1) and Wifi at the same time?

Problem I would like to share an Ethernet connection with two other Network Interfaces. So one source, and two shared connections. Background Here is a screencap of my Advanced Network Configuration nm-connection-editor: The InternetSource is on device enp0s31f6, a ethernet NIC. The SharedInternet, which provides for my subnet, is on device enx000dad2c7da0, a USB NIC.…

Details

compiling open-iscsi, __without__ systemd

Hello @helping people, i try to compile open-scsi on K4.9.207 but this system has no systemd. OK for me. I got this: wget https://github.com/open-iscsi/open-iscsi/archive/2.1.0.tar.gz and wget https://github.com/open-iscsi/open-isns/archive/v0.99.tar.gz then make … but make ends here: iscsid.c:38:10: fatal error: systemd/sd-daemon.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ should be Ok, because this system has no systemd. Also…

Details

How to print array to csv

Hi am trying to export order data in magento 1 to csv here is my script <?php require_once ‘app/Mage.php’; Mage::app(); Mage::app()->getStore()->setId(Mage_Core_Model_App::ADMIN_STORE_ID); $orderCollection = Mage::getModel(‘sales/order’)->getCollection(); $fp = fopen(‘orders_exported.csv’, ‘w’); foreach ($orderCollection as $order) { $orders[‘orders’][] = array( ‘id’ => $order->getIncrementId(), ‘store’ => ‘magento’, ‘status’ => $order->getStatus(), ‘name’ => $order->getCustomerName(), ’email’ => $order->getCustomerEmail(), ‘telephone’ => $order->getShippingAddress()->getTelephone(), ‘street’…

Details

MySQL copy temp table filled disk, how do I remove temp files?

What is the safest way to clean up? MySQL server 5.5.62-0 on Debian 8 with no replication. I made a mistake and created a new column on a 26GB table. SHOW PROCESSLIST showed MySQL was copying the data to a tmp table at 100% CPU. +———–+——+———–+——–+———+——+——————-+——————+ | Id | User | Host | db |…

Details