Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

5
votes
4answers
5k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
1
vote
2answers
18 views

Renew my ip address (dhclient not found) [on hold]

I recently got a new cable modem and my internet connection is no longer working. I suspect I need to renew my IP address. How can I renew my address? The command ifconfig returns: bash: ifconfig: ...
0
votes
0answers
5 views

WiFi Drivers Not Working

I just installed Linux Mint 17.3 on my mid 2012 MacBook Pro. I'm currently trying to install the necessary drivers for WiFi via Driver Manager (nvidia-331 and bcmwl-kernel-source) for my BCM4222 ...
1
vote
1answer
9 views

Printing to ubuntu client via network, using php that reside in windows 7 webserver

I plan to change my windows 7 client to ubuntu 14.04 LTS. The client has a local printer (Epson LX-310) that is used to print an invoice in web app environment built using apache with php (the web ...
0
votes
3answers
206 views
+100

How to route 3 computers in a wireless ad-hoc network?

I have 3 computers: 192.168.2.1, 192.168.2.2, 192.168.2.4 connected into an wireless ad-hoc network. I want all the traffic from 192.168.2.1 to go through 192.168.2.2 when it talks to 192.168.2.3. ...
1
vote
2answers
25 views

WPA_CLI showing access point as connected when it shouldn't

I'm using linux kernel 3.3 and am trying to use the wpa_cli utility to monitor the status of my WiFi connection. I'm using an Edimax WiFi dongle to connect to a wireless access point. Normally I see ...
1
vote
3answers
3k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
0
votes
1answer
333 views

Apache server in raspberry PI not visible from outside( public IP)

I have made a fresh install of Arch Linux ARM into a Raspberry PI and I mounted there a LAMP, all fresh. I have another Arch(x86) in my laptop with Apache also there, and as far as I know, two web ...
-1
votes
0answers
12 views

creating directories in a directory using loop [duplicate]

On my CentOS machine, I need to create a main directory inside which I will have a few sub directories and, inside them, some subsubdirectories. Something like: main_directory->sub1,sub2,sb3.. ...
2
votes
0answers
23 views

DHCP to assign different addresses for multiple interfaces and subnets

First of all, I'd like to point out that I've read any related questions asked here. So, on my desktop computer (running Ubuntu) I have three NICs - eth0, eth2, eth3. I have links connecting these ...
1
vote
0answers
9 views

NAO robot running Gentoo based OS cannot connect to Wi-Fi automatically

I am using NAO robot for my Masters Thesis. It is running OpenNAO OS Version 2.1.4.13. This OS is Gentoo based. The problem I am facing is that it doesn't automatically connect to one specific Wi-Fi ...
2
votes
0answers
13 views

SNR or signal and noise levels in ad-hoc mode

I am using the WiPi dongle which is based on the rt2800usb driver on my Raspberry Pis (running raspbian) in an ad-hoc network, and I can't seem to be able to get any SNR, signal or noise level ...
1
vote
2answers
832 views

What's the best way to have a 169.254.169.254 address local to my laptop?

I want to emulate the Amazon EC2 metadata service on my local system for testing. In EC2, this runs on 169.254.169.254. I understand that this is the designated range for pseudorandom local addresses ...
3
votes
1answer
51 views

How to detect / prevent systemd network startup failures

Using Centos 7 (most recent updates), on a remote firewall machine that is 200 miles away, I have occasional difficulty on reboot with the network stack not properly starting up. The box has 3 ...
12
votes
5answers
10k views

Simple way to create a tunnel from one local port to another?

I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from ...
1
vote
1answer
20 views

TCP over TUN: SYN/ACK is received, but no ACK is generated, and socket remains in SYN_SENT state

I am tunneling an outgoing TCP connection over a TUN interface set up by a program I wrote. The TUN interface basically just relays the packets to/from a proxy server, with minimal modifications ...
0
votes
1answer
17 views

How to disable interface just for NetworkManager in Kali Linux?

I have two WLAN interfaces, and I want to disable one of them for NetworkManager, so that if I run something like service network-manager stop, all the interfaces should stop except on of the WLAN ...
3
votes
2answers
46 views

Send my IP to remote server every time booting

I want to send my computer's IP automatically every time it boots. I edit /etc/rc.local sleep 10 ifconfig > /tmp/myip scp /tmp/myip <server> exit 0 I tried, and there is no inet addr, ...
0
votes
1answer
3k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
0
votes
0answers
19 views

Virtualbox connectity from vboxnet0 to internal network

I am trying to create a setup with gateway(Guest OS Ubuntu) in middle and an webserver(Guest OS - Debian) - must be connected to VM-2 only via VM-1 from host pc. My aim is to ping 10.1.1.2 from Host ...
0
votes
4answers
41 views

Setting up hostnames on local network [duplicate]

So, I'm setting up an experiment network for me and the other geeks at my school to use for website testing and server practice, and I'm the sys and net admin (but really it's just for playing Quake). ...
0
votes
1answer
3k views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
2
votes
1answer
40 views

Network interface crashes after disconnecting eth wire or restarting service

At startup or reboot, network interface works fine. Host is reachable and also can communicate with other devices on the local net or internet. IP address is configured as static, and dns-nameservers ...
0
votes
0answers
129 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS ...
15
votes
5answers
14k views

How to recover a shell after a disconnection

Am doing some work on a remote CentOS 5.6 machine and my network keeps dropping. Is there a way that I can recover my hung sessions after I reconnect? EDIT: am doing some updating and installing with ...
3
votes
2answers
35 views

Timeout with 'service network restart'

I have a script running on fedora 22 where I am restarting service network as part of a troubleshoot calling service network restart. I want to check if that command is taking too long to execute. If ...
1
vote
0answers
42 views

How to do iptables nat loopback?

I have a linux server behind the ISP's cablemodem-router combo. With some hacking I was able to make the port forwarding work, and the DHCP exceptions in the udhcpd. But I wasn't able to do the NAT ...
0
votes
1answer
5k views

Linux Mint 17, Wifi Slow and Drops Connection, No Ethernet Connection

On a fresh install and updated Linux Mint 17 XFCE, the system cannot maintain an internet connection through wifi, and is unable to connect at all through ethernet. Wifi will work somewhat slowly for ...
1
vote
1answer
35 views

Is there a way to send packets through one ISP and receive answers through another one?

I just finished building my first load balancer that combines two different ISPs. This mechanism works just fine, but it's a little bit limited because a connection can't simply utilize both ISP at ...
1
vote
1answer
57 views

How to Do Split Tunnelling with Slave ppp0 VPN + 2nd VPN?

Network Finland(internet)-PC(Sweden)-Uni(Sweden). Uni IP is fixed. Finland(internet) is gained with 3g-4 connection. I need to use a VPN provider to change my country but the VPN provider gives ppp0, ...
1
vote
0answers
8 views

Networking failed to start on Alpine linux

I keep having an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface lo ...
0
votes
0answers
7 views

Boost ASIO async_write_some is really slow [migrated]

I finally found the bottleneck of my server and it turns out to be async_write and the same goes for async_write_some. Here the following benchmark code: struct timespec start, end; ...
1
vote
2answers
2k views

Why can't nmtui see wlp3s0 on minimal CentOS 7 installation?

In a recent installation of a minimal version of CentOS 7 (terminal only, no GUI), typing iwconfig results in the terminal showing a wlp3s0 connection, as follows: [root@localhost ...
3
votes
1answer
15k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
2
votes
1answer
1k views

RHEL how to sync network settings between GUI and configuration files in /etc/sysconfig/network-scripts/?

In RHEL, we can change network settings either using GUI or editing the configuration files in /etc/sysconfig/network-scripts/. I would like to know how the network settings (e.g. IP address, ...
2
votes
1answer
569 views

How would I go about getting UPnP working on a Slackware server/firewall?

I'm a long time fan of Slackware and I've always had a machine serving as my main server/firewall with the latest version installed. I have it now but I'm struggling to find information on how to ...
0
votes
2answers
33 views

Linux bridging question

I'm trying to understand why many Linux (virtual) networking guides attach IP addresses to a bridge device? A physical bridge itself doesn't really have an IP, instead one attaches networks to it and ...
0
votes
1answer
2k views

scp ssh: connect to host 10.0.0.109 port 22: No route to host lost connection

I use SCP command on Debian Linux to transfer a file to my colleague via LAN. But I encounter the problem: $ scp filename.file username@10.0.0.109:/tmp ssh: connect to host 10.0.0.109 port 22: No ...
1
vote
1answer
857 views

How does KVM set its own netfilter rules?

I've been poking around with KVM VM's on Centos 6.4 not having an internet connection on my VM's, I found something curious: Upon booting the machine, iptables has rules in the FORWARD chain to allow ...
1
vote
0answers
25 views

AIX: network and route problem

I changed my router some days ago. ping, internet, and network are working on AIX, but SSH is terribly slow. For connecting to other hosts on the same network it takes... two minutes! This is my ...
0
votes
1answer
14 views

Where does a Centos7 VM get the IP address for the local host name from?

On my centos7 VM, hostname says bmargulies-centos7, domainname says (none), dig bmargulies-centos7 says what's below, and ping of that hostname hangs. Where does the IP address 92.242.140.21 come ...
3
votes
2answers
1k views

Wait for a network device to come up before bringing another network device up on boot?

I'm in the middle of setting up my Raspberry Pi running Raspbian as a bridge between my university's wireless network (which requires WPA2-Enterprise authentication) and my private wireless router ...
1
vote
1answer
15 views

linux - context-based access control

I would like to further restrict network traffic based on the source / destination application. To do that, I'm using network namespaces, but is there a better / simpler approach? My approach ...
-1
votes
0answers
14 views

Share Internet from WebOS tv with ubuntu pc through Ethernet

Is it possible to share WebOS TV's internet connection with ubuntu using Ethernet ? Do I have to do anything for this on my Ubuntu (Gnome) pc? I'll be thankful if you tell me How I can do that? Sorry ...
1
vote
3answers
6k views

D-Link DWM-156 HSPA USB Modem doesn't work with SIM card inserted

I have a D-Link DWM-156 HSPA modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian packages (.deb) for both i386 and amd64, so obviously I installed ...
1
vote
3answers
36 views

Check my DHCP lease?

Is there a way to show my current (client) DHCP lease? Or even better - retrieve all options/infos sent with DHCPACK?
0
votes
1answer
2k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
0answers
25 views

Linux Mint keeps dropping /etc/hosts [closed]

I reloaded my machine two days ago. In the proccess of restoring my configuration I accidentally over-wrote my /etc/hosts file without making a backup. Since then, I have an issue with any of the ...
2
votes
1answer
912 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
0
votes
0answers
4 views

using netlink is it possible to listen whenever multicast group membership is changed for interface [migrated]

I want to do some custom actions whenever an app wants to become a part of an multicast group. As I understand a app becomes a part of multicast by executing the following command sequence: /* use ...