Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
0answers
19 views

How can I log outgoing TCP traffic including the full path of URLs?

I use a program regularly on Linux that makes a TCP request when it starts up and updates a file with an access token before launching. I'd like to write a batch script that makes this request (using ...
2
votes
1answer
20 views

proper syntax to delete default route for a particular interface?

summary: me@client:~$ sudo route del default ppp0 SIOCDELRT: No such process me@client:~$ sudo route del default dev ppp0 SIOCDELRT: No such process me@client:~$ sudo route del -net default dev ppp0 ...
18
votes
2answers
1k views

Is it possible to connect to TCP port 0?

Listening to TCP port 0 allocates me a free port number on the system. But what happens when I try to connect to TCP port 0? The obvious answer is: "It doesn't work": $ nc localhost 0 ...
0
votes
1answer
26 views

Debian stuck in Endless DHCPNAK/OFFER loop unless I ask DHCP server to clear expired leases

have a Marvel Kirkwood device running Debian with 3.16 Kernel. On boot, the DHCPClient gets stuck in a loop and never picks up an ip unless I log onto the dhcp server and ask it to dump the expired ...
0
votes
2answers
49 views

which packages are required to use make?

I try to compile a package on a fresh debian wheezy inside a VM (32bit Kernel): cd /tmp/ wget https://github.com/freifunk-gluon/batman-adv-legacy/archive/master.zip rm -Rf batman-adv-legacy-master ...
0
votes
1answer
30 views

No FIOS Network After Zorin 9 Install on Wireless Desktop PC

A friend has a home Verizon FIOS network, connected thusly: Verizon wired/wireless Router > wireless ASUS Windows 7 Desktop PC > wireless HP Windows 8.1 Laptop > wireless HP All-in-One Printer. Note ...
0
votes
1answer
25 views

Network card seems to be active but config file is missing?

I have a CentOS 7 virtual machine with an internal network as well as 2 bridged connections, I am unable to find the config file for the third network card. Any ideas where it could be? or what the ...
0
votes
0answers
9 views

how to tell chrony to syncrhonize time with specific server periodically

In Windows, somewhere in settings, I can check "Synchronize with Internet time server" checkbox, add ip-address (say 10.20.30.40) and that's it. How can I do something similar with chrony? I've ...
1
vote
1answer
16 views

State of network loopback

Why the state of lo interface is reported as unknown with cat /sys/class/net/lo/operstate even though ifconfig says it's running?
5
votes
1answer
45 views

Unable to configure eth1 and eth2 properly on Ubuntu

I am completely new to network administration, and so am finding things a bit tough. I have a machine, whose 1 interface I have to set to the subnet 10.0.20.0/24, another to 10.1.0.0/24 and a third to ...
0
votes
0answers
6 views

linuxdcpp crashes Internet

As soon as I start linuxdcpp and connect to an hub, I cannot connect to the Internet anywhere in my Network. But I can upload/download files in linuxdcpp. Any idea what the problem could be?
1
vote
1answer
14 views

difference between “ip link set” and “disconnect / reconnect” in the GUI?

I've got an Ubuntu 14.04 guest installed in virtualbox. Often when the host machine changes networks or is suspended and restarted, the guest VM loses network connectivity. I can reliably get it ...
2
votes
1answer
30 views

Running command on server, but have the server read/write local files [duplicate]

Is it possible to have a remote machine run a command, but redirect all reads and writes to a local machine. Example: I have a bunch of scripts in folder 'project'. When 'make simulate' is run in ...
1
vote
2answers
28 views

nginx web server on VM inaccessible to host

My laptop is running Ubuntu 14.10 desktop and hosting 14.10 server in a libvirt VM (set up using virt-manager). I installed it in minimal virtual server mode with only openssh-server. After ...
6
votes
1answer
820 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
vote
2answers
5k views

How to set up an Internet Connection in Linux Mint?

My machine has wired Internet connection with Windows 7 OS. In connection properties I see service name : ispone obtain IP address automatically obtain DNS server address automatically How do I ...
2
votes
4answers
16k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
0answers
11 views

No DHCP OFFERS on several PCs in same network

I have different PCs and 2 of them don't get an IP-address (because they don't get a DHCP-offer) by the ISP, while the others do. I pluged them directly in my cable-modem, one after another. But when ...
0
votes
1answer
28 views

Debian server makes internet connection drop

I have setup a small home server / NAS running Debian 7. The server is connected directly to the router with a static IP set in the router's control panel. There are no port forwarding rules set for ...
2
votes
1answer
3k views

Airdrop compatible

Is there anything in Linux that implements whatever it is that makes Airdrop in OS X work? I'm not really familiar with that program, so I'm not sure what protocol it's using to communicate. update ...
0
votes
1answer
38 views

Kubuntu 14.10 Wireless DNS Issue

I'm quite new to using Kubuntu and have run into issues with the wireless connection on Kubuntu 14.10. The wireless connection says that it is connected, and I can ping IP addresses of other devices ...
2
votes
2answers
51 views

Where does Linux store Wifi passwords?

I am going to write a simple replacement for Ubunutu's NetworkManager. Is there any place where the Wifi network passwords would be stored in Linux? I know about ...
0
votes
0answers
13 views

Painfully slow LAN ftp/smb/ssh less than 5kib/s

I have (finally) gotten my home server up and running. After installing/trying dozens of GNU/Linux builds I have landed on Open Media Vault for my main server, Mint 17.1 on my Laptop and I have a ...
-1
votes
0answers
30 views

Network scanner

Is there a program for Linux that scans networks like spice works for windows I have tried fing box. I what some thing that is gui but that DOES NOT automatically start at boot up. And be free with no ...
1
vote
1answer
503 views

How to set up a “child” proxy that doesn't need a “parent” proxy

I run Linux on a laptop that is sometimes on a corporate network which uses an NTLM proxy server, and thus I have cntlmd running on the laptop as a child proxy to connect to the parent (corporate) ...
1
vote
1answer
77 views

Connect Linux to two networks simultaneously

I want to connect to two networks simultaneously using the Ethernet and in-built WiFi or to two WiFi networks by installing an additional WiFi adapter. My requirement: I have two sets of devices ...
3
votes
0answers
59 views

Linux - On boot do push-button-connect to strongest wireless

I'm trying to configure linux (in this case CentOS) to automatically connect to the nearest WiFi via "push-button-connect". This micro computer has no keyboard or display, so the goal is to hit the ...
0
votes
2answers
29 views

Using network manager and wicd together in Ubuntu?

I'd like to use the first tool for establishing a 3G connection, but the other seems more apt for wifi. Running both together seems like a road to disaster. But how could it stop one completely and ...
2
votes
1answer
385 views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...
3
votes
0answers
39 views

tc cbq doesn't work (no traffic limitation)

I've been trying to use cbq weight attributes after HTB failed to do so. I've tried using a command set I've found in an example just to verify it works (HTB works fluently) Here are the commands I ...
1
vote
2answers
581 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 ...
0
votes
1answer
26 views

Understanding network problem (syslog)

I am running a lubuntu 14.04 server and its always worked well, except for the last couple of days it keeps dropping off the LAN. I am using a couple of powerlink adapters to connect it up as WiFi was ...
5
votes
1answer
1k views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
0
votes
0answers
40 views

Automating PPP connection: adding the insertion in routing table of the new interface

I start my USB 3G Modem by: # wvdial And then I must do, in order to acquire internet access: # route add default ppp0 Note that ppp0 is, in this case, the newly created virtual network ...
0
votes
2answers
734 views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...
0
votes
0answers
32 views

No problem connected by filezilla, but cannot get list when connected by linux CLI client

I built FTP server by VSFTPD, on Raspberry pi, and Inside NAT. Surely set port-forwarding and, it perfectly functional when I connected by filezilla. But, I can't execute LIST(dir) when I connected ...
6
votes
3answers
9k views

'iwlist' -> interface doesn't support scanning (Ubuntu LTS 10.04)

I am using Ubuntu 10.04 (LTS) on a Samsung N150+ netbook. I cannot scan wifi networks using iwlist and I would like to do so. Here is the output from some tests: ...
2
votes
1answer
25 views

How to record network throughput per port for long period of time

I have come across vnstat recently, and am enjoying it's simplicity, low resource usage, and its ability to record network history long term. However, I am looking for a similar tool (for long term ...
1
vote
1answer
36 views

Unable to set mac address to tap interface using systemd-networkd

I'm trying to migrate some tap interfaces setup from tunctl to systemd-networkd. I'm using systemd version 215-8. So I have this test.netdev file: [Match] [NetDev] Name=tap_test Kind=tap ...
0
votes
0answers
14 views

nbtscan shows error “Failed to bind: Address already in use”

I am trying to use nbtscan to get a list of PCs in my local network with their NetBIOS names. When using nbtscan with the option "-r", it shows this error: Failed to bind: Address already in use ...
1
vote
1answer
589 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
2
votes
1answer
28 views

ping works but curl does not [closed]

I am trying to set up networking on my development server running Arch Linux, but something is amiss. I have enabled dhcpcd on all interfaces, and ping now works (including dns resolution), but ...
1
vote
2answers
666 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
2
votes
4answers
96 views

Two IPs on one NIC ( network card )

I have a dedicated server with one network card in it. I however got two IP adresses. When I use the simple command sudo ip addr add 188.40.90.88 dev eth0 it fails to see it as a seperate IP. I've ...
1
vote
2answers
59 views

How can I debug traffic on a switched network with Wireshark?

I have an IP phone on my home network that I am trying to call using SIP from outside of my home network. I have port forwarding setup, but the phone is responding with a SIP 404 message. All the ...
1
vote
1answer
522 views

How to monitor network performance for each application in FreeBSD / PC-BSD?

I'm using a PC-BSD workstation, and I would like to know if there is a way to monitor which app / process is using the network. I use a Mac OS X (Mavericks) laptop, and the "Network" tab in the ...
2
votes
0answers
45 views

What does `NO-CARRIER` and `DOWN` mean for a wireless interface?

I have a remote server and I log output of certain commands while the server cannot access the internet. It uses a wireless interface to connect to the internet. In a working state the output of ...
2
votes
0answers
38 views

Correctly populating wpa_supplicant.conf from iwlist scan results

I am wondering how I can tell that my wpa_supplicant.conf file is both sufficient and valid. When running iwlist scan outputs ESSID:"wifi" Protocol:IEEE 802.11bgn Mode:Master Frequency:2.412 GHz ...
6
votes
1answer
4k views

Bonded network interface is not available after a reboot

I have some servers with multiple network interfaces, setup with bonding and some VLANs. Whenever I reboot the server, one of the bonded network interfaces is not reachable from other servers, nor can ...
2
votes
1answer
2k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 ...