Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
4k views

How to forget/remove Mobile Broadband connection settings from Mint 14

I've been using Ubuntu for a while now and wanted to switch to Mint. I connected my mobile broadband dongle (Vodafone) for the first time like in Ubuntu it all went fine but subsequent connections ...
2
votes
1answer
1k views

How to fix networking driver boot load failure after replacing hardware?

After replacing the motherboard, which is the same as after replacing the network adapter interface hardware (NIC), our Debian 6.0.6 no longer loads the networking driver on boot. The manual approach ...
2
votes
1answer
5k views

How do I set up several interfaces all bridged onto eth0?

I have found several guides to bridging a single interface (eg br0) onto eth0 but none for multiple interfaces (eg br0, br1 etc). Is this possible?
5
votes
1answer
4k views

Debian, two network cards - “no route to host” on eth1

I have added a secound nic in a debian box. That nic is ment for doing some test stuff, so those devices connected should just be able to access the debian box or be accessed from it. To set up the ...
1
vote
2answers
1k views

Bandwidth, CPU & Memory stats returned in single line from terminal

I'm trying to create a simple monitoring system that will show a graph of sales that is linked entirely to data of bandwidth, CPU and Memory stats as they relate to sales. So if I sale 1 widget per 5 ...
3
votes
1answer
3k views

Wireless problem with RTL8723 and Fedora 18: can't connect to a wpa2-secured network

I'm running Fedora 18 on a Toshiba laptop with the notorious RTL8723 wireless card. I've been able to compile the driver using lwfinger's instructions from this forum thread here wget http://...
2
votes
0answers
133 views

Deny/allow a user's access to a port dynamically

I have stumbled upon this little tech dilemma yesterday, and know that there is a solution to it (IRC BNC resellers have it implemented already). However, the exact details and implementation elude me,...
4
votes
1answer
5k views

The n mode on “iwlist wlan0 scan”

I know how to determine if scanned AP uses B or G mode, but how to know (using "iwlist wlan0 scan") it uses N protocol ? if I use "iw dev wlan0 scan" and see if the cell has a "HT capabilities" block. ...
5
votes
1answer
3k views

updating `/etc/resolv.conf` on a read only filesystem

I currently have a busybox based embedded linux system. The filesystem is a readonly mounted jffs2 filesystem. One problem I've run into is that /etc/resolv.conf can't be updated by DHCP. Is it ...
3
votes
1answer
764 views

Why does wlan1 not get a static IP?

I have a Raspberry Pi with two USB wlan adapters. wlan0 is configured with DHCP and wlan1 is configured with a static IP address and hostapd (access point) is running on this interface. The adapter ...
7
votes
4answers
668 views

OpenSSH - map aliases in ~/.ssh/config to IP addresses in command line

Is it possible to query ~/.ssh/config in the command line? Let's say I would like to retrieve what IP address does the particular alias point to in a separate program, is it possible?
1
vote
1answer
2k views

Default value for SO_RCVTIMEO option on Solaris

Is there any way to find out what is the default value set for option SO_RCVTIMEO on Solaris 10? If there is a way to find out how would one go about changing it? P.S. I am aware of ability of ...
7
votes
6answers
17k views

Cannot delete bridge - “bridge br0 is still up; can't delete it”

I have the same problem as this guy : Bring down and delete bridge interface that's up But that solution does not work for me. I remove all interfaces from the bridge using brctl delif . I then ...
1
vote
0answers
466 views

Wlan0 Static Ip bridge

EDIT: Even taking br0 out, still cannot get a static IP connection. I had the following /etc/network/interfaces configuration and it was working auto lo iface lo inet loopback auto eth0 iface etho ...
3
votes
3answers
906 views

Averaging output of dstat

I need to average upload and download speed using dstat -n. How can I add all the received and sent data sizes that appear after dstat -n, so that I can add them and find average upload and download ...
2
votes
1answer
3k views

What to use for firewall testing (port opened or not)

so... we know that we can test that if a port is open on the firewall with: telnet SERVERIP PORT ..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know ...
1
vote
2answers
3k views

OpenSUSE - Ethernet adapter up but can't ping the router

OpenSUSE 12 LAN driver is up and running: me@here:~> /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:1A:4D:F9:93:F2 inet fe80::21a:4dff:fef9:93f2/64 Scope:Link UP ...
6
votes
1answer
9k 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
0answers
487 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", NAME="eth0"...
1
vote
1answer
2k views

Redirect Packets from ppp0 interface to ethernet interface in linux

My question is similar to this question, however with some change. I have a PPPoE connection on my Linux Machine (CentOS kernal 2.6.32) as a client, so that when I setup this connection, another ...
1
vote
5answers
20k views

copying files from unix to windows?

Is there any way to automate the process of copying the files between windows and unix without doing it manually, using tools such as winscp. I need to copy files from unix to windows such by ...
14
votes
4answers
90k views

How do I know what service is running on a particular port in linux?

I am trying to run weblogic server on my linux machine and I am getting the following error : ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to ...
1
vote
0answers
157 views

Making a Linux audio recording device available on a Windows 7 PC over network

I would like to use my headset's microphone both on my Linux laptop and a Windows 7 PC simultaneously, for different VoIP applications. I'm currently running Ubuntu with PulseAudio on the laptop to ...
2
votes
2answers
376 views

What is the advantage of a network installation?

Looked into a network installation of fedora there. It seems you need to setup http & ftp servers on the host along with booting from a cd. So what are the advantages of installing linux over the ...
3
votes
2answers
4k views

Equivalent for netsh start network on linux

I recenty read about the Windows option for creating an access point, that will run on the same physical device, as the machine. So that I can connect my other devices to that network, and have access ...
1
vote
2answers
3k views

Ensure torrent client uses openvpn

I recently signed up to a VPN provider and to log in, I use network manager for my normal wireless connection and then start the openvpn connection from network manager. In my browser I can check ...
4
votes
1answer
330 views

Using xdg-open for accessing network with normal explorer

I'm working with small network and I want to start network explorer from a terminal. When I tried to type xdg-open network:///server it opened google chrome and did nothing. I also tried to type smb://...
0
votes
0answers
353 views

PC BSD Warden network interface

The documentation for PC BSD's Warden mentions that the configuration of the right network interface is crucial. However, it doesn't say what the "right" interface is. This may sound like a stupid ...
3
votes
2answers
751 views

Second loopback network interface (for netem)

I would like to add a second loopback network device on Linux, so that I have lo and (e.g.) lo2. This is so that I can use netem to simulate a throttled network over lo2 without compromising my ...
0
votes
0answers
338 views

Parameters of optimization TCP / IP in Linux Mandriva

In the registry of Windows XP can find the following options to enable optimizations for TCP/ IP: - MSS; - TCP Rx Window Size; - SACK (Selective Acknowledgment); - ECN (Explicit Congestion ...
0
votes
1answer
128 views

Is port knocking good for a last chance when everything is locked out via the Firewall?

Based on this question: "Safe mode" on Linux? - So there is a configured knockd on a server, and a wrong firewall command was given out, so everybody got locked out from the server via ...
0
votes
1answer
107 views

Remote linux using vnc and gdm without login

I remote linux server by using vnc and gdm. This link is very good but I would like to remote linux server using vnc viewer without login. May I know your suggestion?
3
votes
1answer
4k views

Definitive way to configure network devices in Centos 6.2

What is the definitive way to configure network devices in Centos 6.2? Via network manager or editing /etc/sysconfig/network-scripts? I have a notebook with 1 ethernet port and a usb ethernet adapter ...
1
vote
1answer
1k views

network interface does not become active although onboot enabled

Due to some other conflicts, I disabled/stopped NetworkManager in Fedora 15, Now, for network configuration I used system-config-network-gui to config & enable Ethernet interface, Problem is, ...
2
votes
4answers
15k views

Mounting Directory - Connection Refused

I am trying to mount a Directory from my server to my local machine. This is because I want to edit the directory and execute the files without having the manually push the files to the server after ...
2
votes
1answer
530 views

Running a local port scan and found open ports but, don't know what they're used for?

I wrote a very basic python script to port scan my system. I'm running linux-mint lisa: open_ports = [] for port in xrange(65536): conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
2
votes
1answer
1k views

SSH locking up: suspect local problem, not remote

On my work computer, I regularly SSH into two unrelated servers. Sometimes the SSH session locks up (does not respond to keyboard input). When locked up, I can SSH in via a second open terminal, that ...
2
votes
3answers
4k views

How to install Redhat using the iso image stored on Network

This is the case. I want to install the Redhat 5.6 on my system. But this time i dont want to use the actual DVD but this time i want to install it using the iso image stored on one of our server HDD. ...
1
vote
0answers
114 views

Cannot see an EC2 VPN server from another EC2 instance

I'm using openVPN to connect to one EC2 instance from another. The client cannot see the server, however, despite that servers outside of AWS can see the server and successfully negotiate with it. ...
5
votes
2answers
4k views

Determining if a host is online

I'm testing stability of a machine and I need way to simply write a Bash script to determine if a host is online or not. How could I script this? if [ ! $(hostisonline) ]; then # profit fi
1
vote
2answers
300 views

OpenVPN struggling

I've got some problems with my OpenVPN setup. The Setup: -> Ubuntu Server 12.04 -> Two active NIC's: eth0 (default): 192.168.1.0/24 eth1: x.x.x.x (external ip) I've managed to get the routing to ...
1
vote
2answers
9k views

How to setup VLAN on same subnet as Ethernet ?

I have a physical NIC with dev name eth0 with ip 192.168.1.2 and gateway 192.168.1.1 and I want to setup a VLAN with ip 192.168.1.x and same gateway as eth0. Setting up the VLAN runs smoothly and I ...
3
votes
1answer
838 views

Network bandwidth measurement on Solaris

I want to install pathtest or a program like it in a Sparc server running solaris 10. The purpose is to make a speedtest server to my remote sites. It is mentioned in pathtest FAQ that it only ...
3
votes
2answers
966 views

iptables routing marked packets from router to PC and routing them back to router

I'm trying to do deep packet inspection on HTTP packets. The purpose of this is to collect HTTP payload data and then create some proxy/cache-independent reports. Following this, the idea is to ...
1
vote
1answer
848 views

CentOS connected to Internet but not updates

I have installed CentOS 6.3, OpenSUSE 12.1 and Ubuntu 12.04 on VMware Workstation 9. On any of these when I use ping to check network connectivity, I receive a proper answer, but when try to update ...
2
votes
1answer
44k views

Unable to ping gateway & other Linux boxes on same network

I'm somewhat new to Linux, but I'm trying to network a few Linux machines. I can't seem to be able ping the gateway or the other Linux machines. My scenario: I have a few Linux boxes set up on a 10....
11
votes
5answers
12k views

Openswan connecting to multiple right subnets not working

I'm trying to use Openswan (version 2.6.37) to connect an IPsec VPN from my local network to a remote site. Everything works fine when I just want to connect to a single subnet on the remote site. ...
2
votes
0answers
241 views

Connected Android device - brings the network down?

I have dealt with sensitive development under Android, and have recently decided to switch to Linux now sit under (Mint 13 - KDE). But strangely, when the Android device is connected, my network goes ...
6
votes
2answers
11k views

Discover MTU between me and destination IP

In a case I can use only UDP and ICMP protocols, how can I discover, in bytes, the path MTU for packet transfer from my computer to a destination IP?
3
votes
1answer
16k 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 ...