Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
3answers
2k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
0
votes
0answers
9 views

nmcli connection activation failed

I was able to create a wifi hotspot on my debian 8 install using network tab under gnome settings. I was trying to do the same using nmcli but it always shows $nmcli con up id Hotspot Error: ...
1
vote
2answers
5k 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 ...
0
votes
3answers
4k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
2
votes
2answers
745 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
0
votes
1answer
29 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 ...
1
vote
1answer
520 views

How to tell what wireless protocols my network card is using?

I want to know which wireless protocol my card is currently using. I found a similar question that tells you what network protocol your card supports, but I want to confirm that my card is actually ...
0
votes
0answers
23 views

Allow all traffic using iptables within a linux router

I've followed the official Ubuntu tutorial for setting up a router here . The problem is that within this router some traffic seems to get dropped or something. I have a network-namespace that no one ...
1
vote
0answers
19 views

Blocking or forwarding packets as access point

I set up my Pi 2 as a wifi access point following this tutorial. I'd like to implement a rudimentary QoS, according to the DSCP field in every packet's header. That means, blocking packets using low ...
3
votes
2answers
1k views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
1
vote
2answers
676 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
2
votes
3answers
5k views

Auto connect to a wireless network (Ångström Linux)

I am using Ångström Linux on BeagleBoard-xM. I have installed a RTL8188SU USB Wi-Fi adapter and configured it properly. But it doesn't connect automatically even though I have marked the interface as ...
0
votes
1answer
2k 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) ...
0
votes
0answers
37 views

How can I redirect all UDP traffic from one port to another on BSD / OS X?

On Mac OS X 10.9.5 I am running boot2docker and would like to temporarily forward a non-privileged UDP port 69 to port 69 of the boot2docker virtual machine. Virtualbox only supports forwarding ...
1
vote
3answers
55 views

Which program is altering my resolv.conf?

On Debian 8 stable, I add dns server IPs in /etc/resolv.conf but after some time they get overwritten. I don't have gnome installed (I use i3wm) and network-manager is not installed either. On ...
0
votes
2answers
14 views

Get the IP for NetBios name [duplicate]

There is a mashine called "BIE" visible in my network surrounding of my dolphin File manager (Ubuntu 14.10). I cannot access that device in dolphin and also don't get an answer pinging it. How can I ...
0
votes
0answers
6 views

Debian Network 2 subnets one interface proxmox

I have a box that runs proxmox with a debian 7 base. It is virtualizing openvz venet VMs. The host node and all VMs are currently inside of the same /24 . I recently got a new subnet and wanted to be ...
0
votes
0answers
16 views

Fedora 21 wired internet problem

Booted up Fedora on my desktop (previously was running w8.1, with also some network problems on restart/wake but usually a reset of the adapter solved them.) No internet on the Fedora. Here are the ...
1
vote
1answer
34 views

Static IP changes to dynamic automatically after time

I have found only one discussion about my problem here, but not a solution. I have access to one Debian 7.8.0 amd64 virtual machine (under VMware) and its IP address is gained through DHCP, e.g., ...
3
votes
1answer
3k views

problem with server bonding interface configuration

We are facing some problem with configuration of servers: There are 2 servers, each one contain 2 NICs which are in bond. Each server is connected to 2 Cisco switches (one connection from each NIC to ...
0
votes
0answers
11 views

WPA_Supplicant bgscan doesn't populate scan_results

I'm using WPA_Supplicant 2.1 with Wext driver, on a custom Linux 2.6.27 kernel. The issue is that bgscan fails to populate 'scan_results' other than the network that wpa_supplicant is currently ...
0
votes
0answers
25 views

Virtual Box Bridged network failed to get IP (DHCP) No DHCPOFFERS received

My goal is to get Bridged network working. When I try to UP interface in my Virtual Box VM, it tries some DHCPDISCOVER messages, but eventually I get No DHCPOFFERS received. I found where is the ...
6
votes
1answer
855 views

AP randomly gets unreachable for the clients while hostapd is running

I got an old PC running as router which has 3 NIC and 1 wifi PCI card TP-Link L-WN751ND. This box runs Debian Wheezy, hostapd, dhcpd etc. The problem is that AP randomly gets unreachable for the ...
-1
votes
1answer
33 views

Ping to LAN address takes an incredibly long time?

I'm running CentOS 7 in a lab environment with one domain controller (DC - Windows 2012R2) which serves as a DNS and DHCP server as well. CentOS is joined to the domain; it can ping the DC and a ...
0
votes
1answer
2k views

Set up network with static IP and wpa_supplicant on Debian

On Debian, I am trying to set up my network to use ad-hoc mode with a static IP address. I also want wpa_supplicant to be running so that I can scan use it to scan for WiFi networks in range. To get ...
2
votes
1answer
2k views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
3
votes
4answers
178 views

Shell Scripting: Proper way to check for internet connectivity?

I found scripts that say they check for internet connectivity. Some check the ip address if the interface is connected BUT it does not check for internet connectivity. I found some that uses ping like ...
1
vote
0answers
18 views

openbsd: mpls provider doesn't forward packets

Can anybody help me with next question: I am trying to get mpls test network up like in http://lteo.net/blog/2013/09/03/a-small-mpls-test-network-built-with-openbsd/ or ...
3
votes
5answers
14k views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what ...
0
votes
0answers
14 views

Problems Setting Up DHCP Server On CentOS 6

I have been trying to set up a DHCP server on CentOS 6 running on an Intel NUC i7. I have installed dhcpd and am using the example dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 { option ...
0
votes
0answers
16 views

Debian won't accept my network's password during installation

I'm trying to install Debian Jessie on a Toshiba Satellite M45-S331, but I'm stuck on the "Configure the network" step. I successfully installed the firmware for my wireless card, and I am able to ...
3
votes
0answers
8 views

Radiusd(freeradius): User only for a special client

Is it possible to restrict a user from the "users" file to a special client? I try to use one radiusd server for two wifi access points but I will use one user credentials only for one access point ...
0
votes
0answers
11 views

Problematic RTL8188EE Wireless Network Adapter

Good Day All, There are numerous results when searching google on this issue, however, none seem to have a solution. I am hoping to resolve this issue -- or at least have a decent workaround. It is a ...
11
votes
4answers
48k views

Connecting to wifi network through command line

I am trying to connect to my WEP network just using the command-line (Linux). I run: sudo iwconfig wlan0 mode Managed essid 'my_network' key 'xx:xx:... hex key, 26 digits' Then I try to obtain an ...
3
votes
1answer
37 views

What exactly is an ifconfig dropped RX packet?

I'm seeing very high RX dropped packets in the output of ifconfig: Thousands of packets per second, an order of magnitude more than regular RX packets. wlan0 Link encap:Ethernet HWaddr ...
4
votes
4answers
5k views

Source code of netstat

Can I view the source code of netstat on my Linux machine?
0
votes
1answer
42 views

Manual network setting on Solaris 10

Am using Solaris 10 on Virtual Box. While installing I chose to assign IP manually. IP address: 192.168.1.46 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Now when I ping my Solaris machine with other ...
2
votes
0answers
21 views

Make OpenVPN restart upon new network connection on systemd

How would you go about making OpenVPN automatically restart upon connecting to a network? The issue is that every time a network connection is lost, or if the computer is booted without a network ...
1
vote
0answers
12 views

docker container manual networking setup not working

I have an application environment where two containers need to talk to each other. container A gets a message from container B, and container A initiates a connection back to container B using the ...
8
votes
1answer
18k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
1
vote
1answer
28 views

Routing table and multiply hops

I have 6 networks, I need to connect network 1 and network 5 via five routers. What’s the command to set multiply hops? ip route add IP_address/mask via IP_adrress dev eth0, but how do I set next hop? ...
4
votes
1answer
34 views

Monitoring ARP Poisoning

How to monitor ARP poisoning? These few days my internal website that can be accessed locally has weird image replacing every images on the site for few seconds (it got back to normal after ...
3
votes
1answer
2k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
1
vote
1answer
54 views

systemd waiting too long for network at Debian 8.0 Jessie's boot

My system has booted up relatively fast while run Debian 7 Wheezy, but after upgrade to Debian 8 Jessie, and therefore SysVinit to systemd, it became a way, way slower. The thing, slowing down the ...
2
votes
1answer
679 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. ...
2
votes
1answer
26 views

Office 365 online from Unix working only with MTU <= 1400

First of all --- I really didn't know where to post this question: askubuntu, unix, superuser... I am posting this one here because the only cases I have seen are on Ubuntu and I have a report for ...
1
vote
1answer
26 views

How to block the response of certain DHCP server

There are multiple DHCP servers that run on our LAN, and some of them are unwanted. Can I configure my OS to reject certain responses so that I can get the correct one?
1
vote
1answer
40 views

Change Network Bandwidth

I am using ethtool to change the bandwidth to 10MB/s. Since this is my first time using this program, I am struggling with the correct syntax to change it. I have tried something like: ethtool -s ...
1
vote
1answer
25 views

Is it possible to have 2 different passwords saved for the same network?

I'm not always at home and sometimes the router needs to be reset completely to receive a new wan ip address because my roommates are not very tech savvy at all. When this happens the password is ...
1
vote
1answer
55 views

Connectivity issues after updating to Debian Jessie

I have inadvertently upgraded to Debian Jessie from Debian Wheezy while I was trying to install VLC player :D. The upgrade did not go very well as my sources.list file was mix of wheezy and ...