Tagged Questions

Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
100 views

Static IP addressing issue in Ubuntu on BeagleBoneBlack Rev C

I have my BBB configured to use a static IP address using the following in the file /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet static address 192.168.0.1 netmask ...
0
votes
1answer
97 views

Ethernet does not work at all

I haven't used my NIC for some time, and now it doesn't work anymore, at all. I can assign IP addresses to it manually (sudo ip addr add 192.168.2.155/24 broadcast 192.168.2.255 dev eth0, for ...
1
vote
2answers
56 views

Debian VM Can see other computers on the network but can't connect to the WWW

Similar to this SU question: http://superuser.com/questions/667631/network-is-unreachable-when-attempting-to-ping-google-but-internal-addresses Actually, it's pretty much the same base issue. I went ...
0
votes
4answers
57 views

How do I find my Raspberry Pi on a big LAN?

I'm a college kid on a WPA2 Enterprise with a Raspberry Pi on ethernet. How do I find this device on the network? I could try running arp -a logging results to a file, connecting my Pi, and then ...
1
vote
0answers
36 views

Does PPPoE connection have IP before authentication?

I am debugging a connectivity issue with my internet connection provider. I have a PPPoE type of connection. I am working on configuring my router to connect over PPPoE connection. Please note that ...
0
votes
2answers
343 views

Can't access mail server through SMTP

I'm trying to send email from a server. Testing on my local machine works fine but on my production Ubuntu server, the webserver fails when trying to send email. I'm using GMail as my SMTP provider ...
2
votes
0answers
77 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 ...
3
votes
1answer
181 views

How can I most simply transparently bridge traffic between wlan0 and eth0?

I am looking to do this on a Raspberry Pi, but I don't mind which operating system I have to install, so the easiest most out-of-the-box solution for Pidora (Fedora 20 Remix), Raspbian (Debian) or ...
4
votes
2answers
75 views

Redirecting loopback traffic through a router

For some tests purposes, I am running multiple socket-based applications on one machine and want to simulate "real" network conditions between them. I thought the simplest would be to redirect all ...
0
votes
1answer
169 views

Unable to ping CentOS virtualbox

I have created a virtual machine for CentOS in VirtualBox using an NAT connection (It wont work under Bridged). Now the problem is I can ping from CentOS to my IP on Ubuntu with no problem but I ...
1
vote
0answers
19 views

Two way internet sharing configuration (swiching modem from one machine to another)

I have: One Raspberry Pi with Raspbian (distribution based on Debian), with one enthernet interface One laptop with windows, with one ethernet interface One USB modem Ethernet cable between Pi and ...
1
vote
2answers
68 views

Logging in to VirtualBox via SSH

I'm starting with VirtualBox and Linux on a Windows machine. I can log in to Linux using the Virtual Box command line but I want to do something pretty easy: log in from an external (not virtualbox) ...
1
vote
1answer
58 views

How to permit any user (mysql, apache, etc) to use any TCP or UDP port?

How can I ensure that all ports are open to any user? Currently ports 1 to 1024 are reserved for "root" only. Although I am not sure why "apache" is capable of using port "80" if this port too is ...
1
vote
1answer
197 views

Reboot when no network connection does not work!

I have a Raspberry Pi that I use as a NAS for my local network. It works fine, but when I turn off the router to which the pi is connected, it permanently loses the connection. To be able to connect ...
0
votes
0answers
58 views

How to merge two network interface in one?

I have two network interface on my router: wlan0 and wlan1. First for 2.4Ghz and second for 5Ghz. Also i have Coova-chilli with setting HS_LANIF=wlan0. Therefore captive portal (chilli) work for only ...
2
votes
1answer
116 views

Fix “Route hash chain too long” without restart

On our production server (ubuntu 12.04, 3.2.0-63 kernel) routing cache reached its capacity. Modifying rhash_entries is out of the question, since it is a kernel boot param, and we can not restart the ...
1
vote
1answer
30 views

Re-enable route cache

In my kernel log I found: lo: 5 rebuilds is over limit, route caching disabled I know what triggers route cache rebuilds (too long hash bucket chains), but what exactly gets disabled? Which device? ...
0
votes
0answers
16 views

Proxy for certain networks

Is it possible, on a system using NetworkManager, to configure a system-wide proxy if I am in a certain wifi-network, but not otherwise? It would also need to log in to the proxy with a username and ...
2
votes
1answer
30 views

Absolutely jail a user with minimum IP, file, & command rights

I am trying to secure a custom application as much as possible from outside tampering. I've seen many pages on jailing a user, but they usually include many exceptions, and I want to lock down this ...
1
vote
1answer
65 views

curl timeout troubleshooting

I tried to curl popular websites e.g. curl google.com or curl google.com:80 and there is always a timeout error. Some troubleshooting steps performed: Able to curl localhost with response Able to ...
1
vote
1answer
77 views

Cannot ping machine on eth0; Pings fine on wlan0; Centos 6.5 on Dell D610

I recently installed Centos 6.5 (32 bit) on an old Dell D610. It has both a lan port and a wifi. When I assign the wifi a static IP, I can use it as a server, connect to it from other machines etc ...
1
vote
2answers
63 views

netcat to capture ethernet

How can I make sure the result of the following command: nc eth0 &> capture.txt would capture the data + errors transmitted via eth0?
2
votes
0answers
67 views

How does ssh work when client and host are on the same machine? [closed]

I illustrate my question with the help of docker containers but this example is orthogonal to the rest of the problem. In fact any program that allows the use of bridge interfaces and ssh would do. I ...
3
votes
1answer
150 views

What is the difference between hostname, hostname --fqdn, and hostname -A

I have a machine I changed the hostname of. I changed it in /etc/hosts, /etc/sysconfig/network, and with hostname command. hostname returns the correct shortname, hostname --fqdn returns the expected ...
5
votes
1answer
253 views

How to rollback network configuration changes done over SSH in case of failure?

I'm about to change iptables configuration and interface speed and duplex settings over SSH. What are the possibilities to rollback the changes in case of host becomes unreachable? I guess simple: ip ...
1
vote
0answers
70 views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
1
vote
1answer
75 views

repair the static route to allow traffic to right place

I recently was taking an online test and I got the below question. The server has been configured with a TUN device tun-aib0 that acts as an endpoint for a VPN tunnel. The IP address of the device ...
1
vote
1answer
48 views

Unable to access an http sevice forwarded using ssh

I forwarded a port from a remote server (which has Tomcat running on it) to a local port on my machine. Say, if the remote server address is http://myremoteserver.com:8080, I forwarded the port to ...
3
votes
3answers
95 views

How can unix computers find each other by hostname?

I have a home-network with several windows and Linux machines which have samba installed. on windows I can find each other computer fine via its hostname. however on a linux computer I cant find any ...
1
vote
2answers
623 views

cannot find device “eth0” [closed]

Hey Arch linux users out there! I am new to arch linux( coming from ubuntu), and have just installed arch linux on my machine. After rebooting I wanted to install some packages using pacman -S, but ...
0
votes
0answers
25 views

Break down a pcap file into individual flows and modify them

I have a pcap file and I want to: separate every flow separate responses and requests in each flow modify ip and port in some packets reply packets Is there any utility in linux that helps me for ...
2
votes
1answer
52 views

network interface counters not working?

I just built a router and installed it with Ubuntu Server 14.04 LTS. The system has two NICs, one for the internal network and one for the external (p3p1) network. I'd like to monitor external ...
2
votes
0answers
57 views

reset Ethernet bonding without rebooting

I have the following Ethernet bonding configuration: old configuration: bond0 eth0 eth1 bond1 eth2 eth3 new configuration : bond0 eth0 eth2 bond1 eth1 eth3 I have made the ...
0
votes
2answers
160 views

What does eno1 and lo mean

I have tried using google for this and cant seem to find much results. When running cmd in bash netstat -i I am returned something which looks like this Kernel Interface table iface MTU ... ...
1
vote
3answers
99 views

Network statistics on linux

I am trying to write a small script to gather network statistics on my Linux system. Is there any way I can do this? What I'm after is live stats on current network throughput. I have done some ...
1
vote
1answer
98 views

Through NM says I'm connected to a wireless network, firefox can't connect to any site

Installed Ubuntu 14.04 LTS from a USB stick to a partition on my Dell Inspiron N5010. I login to Ubuntu and opbserve the Wifi appears to connect to teh wi-fi network, but Firefox cannot connect to any ...
3
votes
2answers
71 views

How can I force chrooted programs to use a virtual ethernet device?

First off, this is not for security reasons, or for use in a production environment. It's because I want to mess around with different configuration management systems on relatively low-spec ...
1
vote
1answer
190 views

rhel 6 default gateway not working

I have six similar RHEL 6 servers in the lab and the settings are same in all the servers. The settings are, static IP address: 129.XXX.XXX.XX Subnet Mask: 255.255.254.0 Default Gateway: ...
0
votes
0answers
25 views

Need help setting up networking for KVM on Gentoo with exit to wifi adaṕter

I am running Gentoo Linux on an AMD64 laptop, and I am having an extremely hard time setting up host networking on KVM. I alreay have KVM, libvirtd, virt-manager, the kernel modules required to get ...
0
votes
0answers
46 views

How can I use 0.0.0.0/0 in ipset hash:net,port?

Right now, if I do ipset a ansible_allowed 0.0.0.0/0,tcp:22 I get ipset v6.19: The value of the CIDR parameter of the IP address is invalid and instead I have to add 0.0.0.0/1,tcp:22 ...
0
votes
1answer
31 views

Network locations like OSX

I couldn't find anything like that on Google, so I am asking it here. Is there a way to make multiple network configurations that can be activated with one click like OSX? Like for example, one that ...
0
votes
1answer
83 views

How to test that my server is indeed in 1gbps connection?

I ordered a server and the host say I got 1gbps connection However, because I set up the server incorrectly, the speed drop to 10mbps I think now it has been fixed. But I want to make sure. This is ...
1
vote
2answers
91 views

Removed GNOME desktop, cannot connect to internet from terminal

I'm using Fedora 19. I removed my GNOME-Desktop (sudo yum remove @gnome-desktop). After that when I try to connect to internet from command line i'm facing all sorts of issues.. Ethernet cable is ...
2
votes
1answer
88 views

What is the purpose of UUIDs for NICs?

On Fedora/RHEL/CentOS there is a line in /etc/sysconfig/network-scripts/ifcfg-x files which defines UUID: UUID=30fcd648-ad1e-4428-as6f-951e8e4d16df NICs have MAC addresses by them selves, so what ...
1
vote
0answers
108 views

How to configure a “point-to-point” connection with RedHat 6.5?

My servers are hosted at Hetzner and I need to create a point-to-point connection to my gateway. The server can only reach its gateway (and its locally configured) IP addresses directly. All other ...
7
votes
1answer
77 views

Why are there so many loopback addresses?

From my understanding, all IP addresses of the form 127.x.y.z are loopback addresses. Now that seems to be quite a waste to me; indeed, already more than one address seems like a waste. Is there any ...
0
votes
1answer
34 views

home-built router - slow throughput

I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. I ...
2
votes
1answer
4k views

Fedora 20: Failed to start LSB: Bring up/down networking

I'm trying to restart my networking service in Fedora 20, and I get the following error: [dev@localhost das]$ sudo service network restart [sudo] password for dev: Restarting network (via ...
0
votes
0answers
17 views

Linux - Mint, wifi aircard issue

I have a microsoft aircard (model 1051 notebook reviever2.0) that I use for wifi. Linux Mint doesn't auto detect wifi with it for some reason. How do I get this to work? Do I need a driver?
4
votes
1answer
72 views

Is nameif deprecated? If so is there an equivalent replacement?

I read that the nameif is deprecated, although I still see it on my Ubuntu 14.04 system. If this command is deprecated, is the command cited for removal or will it still be available? This command ...