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 ...
4
votes
3answers
116 views

Write text messages between Unix and Windows

Is it possible to send text messages between two users of the same LAN, but the first running Windows with cmd and the second running Linux/Unix? I am not looking for an instant messaging service. I ...
0
votes
3answers
226 views

Telnet on Linux Server

I want to know if it is necessary to have telnet enabled on both sides of machines to get telnet connection. Here's the issue: I am trying to telnet some public IP on port 80 from a Linux web server ...
0
votes
2answers
161 views

Unable to telnet public ip on port 80

We are facing a communication problem between the public and our private network. We have a Linux based web server behind a firewall and an internet router. As part of some integration, our web portal ...
2
votes
1answer
63 views

Getting a list of WiFi networks nearby when the adapter is in AP mode

I am trying to get a list of wireless networks nearby while the adapter is acting as an access point but iwlist returns the following error: $ sudo iwlist wlan0 scan wlan0 Interface doesn't ...
0
votes
1answer
95 views

What is the reconnection policy of “persist” switch on “pon” command from pptp-linux package?

I use to establish a connection to my VPN PPTP server by typing: pon MyVPN persist I wanna know the reconnection timing details, but I have not found documentation enough about it. Specifically: ...
1
vote
1answer
75 views

Why doesn't setuid on /sbin/dhclient work as intended?

I am the only user on my machine, and prefer not to type sudo every time I use dhclient. Therefore, I tried sudo chmod u+s /sbin/dhclient. However, when I subsequently run dhclient wlan0 from a ...
0
votes
1answer
369 views

check internet speed from terminal? [duplicate]

How can I get the speed of my internet connection from the terminal? Is there any script or commandline application(s) available? I'm using CentOS 6.5 .
4
votes
4answers
253 views

How to show network adapters with their statistics?

Is there any terminal command I can use to display all the network adapters like eth0, wlanoand their data statistics like data transmitted & received?
5
votes
1answer
840 views

Wi-Fi with WEP from command line in Ubuntu 12.04, Kernel 3.8.0-29-generic

I have removed network-manager and am trying to configure Wi-Fi with WEP manually. I am running on an X1 Carbon. Here are the commands I am running: ifconfig wlan0 down iwconfig wlan0 essid ...
3
votes
0answers
319 views

What do I need to add a virtual IPsec adapter?

I'm trying to set up an IPsec connection manually from the console with iproute2. What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
3
votes
4answers
2k views

How to use ifconfig to show active interface only

By default ifconfig will show me all available interfaces , but what if I just want to display active ones? Like, en0 only in below. en0: ...
0
votes
1answer
122 views

Current IP address as visible from the internet? [duplicate]

I know I can get the locally assigned IP address of my current machine by the local router like so: ifconfig However, I want to know what my IP address is as visible from the outside world. Or, in ...
4
votes
1answer
157 views

Can I pipe lpt port over tcp?

I'd like to pipe data in and out to a lpt (parallel IEEE 1284) port on another machine, to remotely use a device. Can it be done in a common unix-y system? I have ubuntu 12.04. :) I was thinking ...
3
votes
1answer
16k views

Linux shell - Sending messages to another user

Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my ...
5
votes
1answer
5k views

Connecting to wifi network through command line

I am trying to connect to my WEP network just using the command-line (Linux). I run: sudo iwconfig wlan0 mode Managed essid 'my_network' key 'xx:xx:... hex key, 26 digits' Then I try to obtain an ...
6
votes
3answers
5k views

How to bring up a wi-fi interface from a command line?

I can't figure out how to properly bring up the wi-fi card on my laptop. When I turn it on and issue $ sudo iwconfig wlan0 txpower auto $ sudo iwlist wlan0 scan wlan0 Interface doesn't support ...
3
votes
1answer
946 views

Connecting to network with terminal

I have a router at home with ESSID of dlink_home and 10 digits (0123456789) 64-bit WEP encryption of Open Authentication Type. I want to connect to it through terminal with bash commands, I tried ...
1
vote
0answers
155 views

Super slow internet requests

My Internet connection seems to be extremely slow on loading pages, specifically (it appears) when the browser sends the request for the first time. It takes like 5-6 seconds just to send the request ...
2
votes
2answers
398 views

Get network information through Ubuntu Terminal

Is there a command where, when entered outputs information such as: If the network connection is wired or wireless if it is a wireless network, the name of the wireless network How strong the signal ...
0
votes
2answers
38 views

can't update with this error messg

I got this message: not enough free disk space.... The upgrade needs a total of 31.8 M free space on disk '/boot'. Please free at least an additional 31.8 M of disk space on '/boot'. Empty ...
2
votes
1answer
2k views

How to monitor other nodes to get RSSI?

I need to measure RSSI between two peers of nodes in same network. If I have these two information: SSID for their network. IP for the target node to get the RSSI regarding it. So I found this ...
1
vote
1answer
500 views

NSLookup how to interpret output

Hi can someone help me to understand what this NSLOOKUP command's output [x]$ nslookup sample.abc.com Server: 161.43.32.162 Address: 161.43.32.162#53<-- ??? Name: sample.abc.com ...
2
votes
2answers
514 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 ...
5
votes
4answers
14k 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 ...
7
votes
5answers
21k views

How can I monitor all outgoing requests/connections from my machine?

My machine is a server so I want to ignore connections being made to my server (e.g. when someone visits my website). I want to see only connections/requests being made by my server to other places. ...
3
votes
4answers
6k views

CentOS 6 - nameserver entry in resolve.conf resetting after restarting network services?

In /etc/resolv.conf, I've changed the nameserver line to a new IP address. After saving and exiting, I run service network restart. I then go open /etc/resolve.conf again and see that the IP address ...
3
votes
2answers
10k views

No network connection in CentOS 6.3 Minimal under VMWare Player

I'm trying to replicate in VMWare Player the exact same conditions I have under my Dedicated Server for testing purposes. Now, the thing is that that when I try to install something, or ping ...
3
votes
2answers
1k views

How do you configure the MTU for all network adapters via a script?

NOTE: This is for RHEL/centOS. Currently my way of configuring the MTU is via GUI using system-config-network and setting the MTU to 4096. I would like a non-interactive script to do this instead. ...
2
votes
1answer
3k views

How to Connect to Wireless Automatically? (Non-graphical)

I'm trying to set up my Arch Linux so that, through non-graphical means, I can connect to a wireless network through profiles on my system. I have tried net-auto-wireless, and it does everything I ...
3
votes
1answer
2k views

Connect to hidden Wifi AP with wpa-supplicant?

I have a headless Debian machine, with a Wifi dongle connected. I used to hide the Wifi AP, but now I can't. If I unhide it, some lines in the /etc/network/interfaces will allow me to connect: auto ...
5
votes
1answer
423 views

How can I control an existing remote shell?

On my remote machine, an xterm/shell has been created (by another process). I have full access to that shell through VNC. But really I would like to be using a text mode shell on my local machine. ...
1
vote
2answers
259 views

Program to manipulate Samba shares (net.exe equivalent)

Is there an equivalent to the NET.exe suite for linux systems with which I can do net view queries for example?
4
votes
2answers
7k 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: ...
1
vote
0answers
74 views

Creating and updating the packages for many Debian systems

I'm using a Lenny (Debian 5) for remotely controlled PC's (around 100 PC's) which will be pinging to my apache server. I'm developing a patch twice in a week to keep updated with the latest versions ...
5
votes
1answer
419 views

How to make sure OpenVPN is connected?

I need some sort of "safeguard" for my VPN connection. If the connection drops, the machine shouldn't even reach the internet. (I can reach the machine by other means.) Is it possible somehow? If I ...
5
votes
3answers
8k views

How to check from a command line that network is reachable?

I want to send a growl to myself after SuSE server finishes the boot process. I got this message socket_sendto(): unable to write to socket [101]: Network is unreachable in. How can I check from ...
1
vote
0answers
245 views

Is openwrt difficult to use for a novice? [closed]

Background I am very interested in openwrt, I like that it's open source and gives you complete, granular control over your router. I'm going to use my router for a home network (with a nas, htpc ...
5
votes
3answers
1k views

How can I get the netmask from an IP address?

How do I get a netmask from the IP address? Is there a command to get it?
1
vote
2answers
408 views

How to keep overwriting the contents of a file instead of appending to it

How do I clear the contents of a file before writing to it? For example: echo one > filename.tmp # filename.tmp now contains "one" echo two > filename.tmp # filename.tmp should now contain ...
2
votes
1answer
362 views

Whole program name not visible in nethogs

I'm using the command sudo nethogs to watch network traffic. I have a problem in that the name of the program is too long (it doesn't fit in the PROGRAM column). I haven't found any nethogs ...
1
vote
3answers
444 views

Cannot access network on the command line in Ubuntu 10.04

I am having an issue which I am unable to diagnose. I am unable to access outside the local network from the command line. Strangely, ftp works from the command line. But ping, links, traceroute, wget ...
6
votes
4answers
5k views

All commands that should be used to connect to wifi in command line

I would like to switch from gnome to awesome and I would like to connect my wifi network in command line (instead of using gnome tools). So, I searched on the internet and found approximatively the ...
3
votes
2answers
940 views

Difference between wget versions

I have problem with wget behavior for 1.10 and later versions. I am using wget to download a report from my app. version 1.10.2: >wget-1.10.2.exe --http-user=trader --http-passwd=trader ...
4
votes
2answers
1k views

How to interpret traceroute information?

For example in this pic taken from Wikipedia [Bigger Version] What are all these 12 server names that are listed? I know they are servers that are supposed to be the path that the network packet ...