Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
1answer
509 views

Tunnel AFP over SSH over Internet

I can't seem to figure out how to connect to AFP over SSH. Here is my setup: [Raspberry Pi] <---> [router] <---> (Internet) <---> [Client] I'd like to be able to connect to my ...
1
vote
0answers
752 views

Network Simulator ns-2: Modeling of fragmentation in the network with different MTU on routers

There is a simple network model. Transfer a file between hosts. There are several routers with different MTU. Here is the complete OTcL code: ...
2
votes
1answer
279 views

Make a linux network device a router

I am developing an IPv6 network device driver. It should behaviors like a router, i.e. send router advertisement regularly. But now my device is working like a node, send router solicitation. What ...
1
vote
0answers
731 views

Packets not received by TUN device

I created a TUN device(nat64) and created a route so that all the required packets are forwarded to the TUN device from an eth device. But, I see that many packets are not received by the TUN device. ...
1
vote
1answer
2k views

RaspberryPi drops Wifi connection

I am using Airlink Fully compatible Wireless N 150 Ultra Mini-USB Adapter (AWLL5099) with my RaspPi to get internet. I am also bridging this WiFi connection with an Ethernet cable to provide internet ...
1
vote
2answers
2k views

Can connect to wireless router but can't browse internet

I have a Dell Studio 1450 running Fedora 17. I installed a new wireless router in the office recently. And everybody apart from me is able to connect to the internet via it. Google revealed ...
1
vote
1answer
551 views

Why does dladm rename-link fail with “invalid argument”?

I am running Solaris 11.1 (in a VM) and have two NICs installed. At a root console, if I type dladm show-phys, it lists net0 and net1 and some info for each. I want to name the links more ...
1
vote
2answers
3k 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
4k 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
3k 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
963 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 ...
1
vote
0answers
130 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 ...
4
votes
1answer
4k 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
2k 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
612 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
3answers
568 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
1k 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 ...
5
votes
6answers
14k 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
452 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
836 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
7k 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
444 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", ...
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 ...
0
votes
5answers
18k 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 ...
13
votes
4answers
72k 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
146 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
298 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
3k 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
300 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 ...
0
votes
0answers
326 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
696 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
325 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
127 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
104 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
3answers
13k 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
515 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
110 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
3k 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
297 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
8k 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
764 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 ...