Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
20 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
0
votes
1answer
37 views

How to troubleshooting failing ping to router on a linux box?

I have a home network 192.168.0.x from which I am posting this message, on this network I have a CentOS7 host 192.168.0.3 which is running a DNS server for the network. I can ssh into 192.168.0.3 I ...
2
votes
2answers
164 views

How to use a defined local IP instead of external one

I have a Gentoo Linux server. Server is connected to two networks: internal and external. Internal network ip: 192.168.1.200 External network ip: 192.168.0.2 If I'm trying to make request from ...
0
votes
0answers
7 views

location of struct ifnet on AIX [migrated]

In which header file on AIX struct ifnet is defined? I want to use this structure to get network interface information on AIX.
7
votes
2answers
289 views

How can I create a virtual ethernet interface on a machine without a physical adapter?

I have a Dell XPS 13 ultrabook which has a wifi nic, but no physical ethernet nic (wlan0, but no eth0). I need to create a virtual adapter for using Vagrant with NFS, but am finding that the typical ...
1
vote
1answer
11 views

Where do I find the OID descriptions for SNMPv2 in Linux?

I was looking at this link here: http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html and noticed that the OIDs are the same ones I see for the same stats for our ...
0
votes
1answer
30 views

ifconfig not showing changed ip address

I'm trying to configure IP settings on my Raspberry Pi running Rasperian. I edited /etc/networks/interfaces to be: auto lo iface lo inet loopback iface eth0 inet static address 110.76.71.106 ...
0
votes
0answers
38 views

Problems with Dell Wireless 5570 HSPA+ Mobile Broadband card

I've got a new Dell Latitude e7440, and a Dell Wireless 5570 HSPA+ mobile broadband card. I cannot get the broadband card to work. I can see the card: # lshw .... *-network DISABLED ...
1
vote
0answers
49 views

where is network layer protocols source code [on hold]

that's all I can find tcp source code on my Ubuntu, also the place of data link layer is on the network interface. So where is network layer protocols source code on ubuntu ? Also I am looking for ...
2
votes
1answer
22 views

How can I use avahi without a network connection?

How can I test software that uses avahi while my laptop is disconnected from any router? All of the services run on the same machine, so Avahi would be advertising an IP address of 127.0.0.1 for all ...
0
votes
1answer
15 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
36 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
31 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
45 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
12 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
81 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
34 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
51 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
34 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
41 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
11 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
55 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
56 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
89 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
39 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
51 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
24 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
14 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
28 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
26 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
21 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
50 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
51 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
56 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 ...
4
votes
1answer
235 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
33 views

How to find all available networking interfaces, having IP address assigned or not [migrated]

I am trying to get all networking interfaces available on linux. I am using ioctl API to get all the networking interfaces but it return me only the interfaces those have ip address allocated. It ...
1
vote
0answers
30 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
45 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
35 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
62 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 ...
0
votes
2answers
72 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
16 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 ...
1
vote
1answer
29 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
22 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
0answers
21 views

Why can't I connect with Vuze Remote to Vuze over wifi?

I have Vuze Remote on my Android, it works fine with the mobile network but I can't connect through my work netwok(Wifi-LAN). It just sits at connecting or gives an error message wich says that the ...
0
votes
2answers
52 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
76 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
49 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
47 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
46 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: ...