2
votes
1answer
31 views

ufw firewall disabled - How to turn it back on?

I am using Ubuntu 12.04 and just recently noticed, that my ufw-firewall is turned [off]. I know It's turned [off] by default, but when I set Ubuntu up, I turned [on] the firewall with: sudo ufw, but ...
0
votes
3answers
31 views

how do I refresh my wired ethernet connection from command line?

What is the command line equivalent of unchecking "Enable Networking" (disabling networking) and then re-enabling? In my environment, there are multiple networks which require me to physically move ...
1
vote
1answer
39 views

How to disable networking from command line without sudo? [duplicate]

I want to disable networking from a bash script while not giving it administrative privileges. It's possible from GUI. Is there a way to do it from CLI?
2
votes
1answer
58 views

Is there a command to scan my network and check the conflict IPs

It's hard job to find the duplicate IP when this happens. You know you have then to search all network IPs to check the duplicate. So is there a command line or a script to do that for me?
1
vote
1answer
93 views

linux command to prevent dos attack by using netstat and iptables

I want to DROP more than 200 requests per ip to prevent ddos attack. this is command that i used to detect requests count per ip : netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print ...
5
votes
1answer
177 views

Disable internet connection from terminal!

The connect automatically option is allowed for my wired "Wired connection 1". Disconnecting the connection works when I do it from the panel's Network -> Disconnect menu. But when I do that with ...
1
vote
1answer
85 views

How Do I Access Windows Shares From BASH?

Probably total noob question. I installed Ubuntu in a VMWare Player. Works fine. I usually work in terminal and didn't realise until today that I could use the Files icon to connect to my Windows host ...
4
votes
2answers
62 views

A setting which disables a network connection after a specified period

Is there any program or setting which can automatically disable a network connection after 5 minutes when it is enabled manually? So that the user will have to enable the connection every 5 minutes ...
1
vote
1answer
97 views

How do I fix my internet on Ubuntu 12.04 server?

I have Ubuntu Server 12.04 installed with no GUI. I installed ownCloud and webmin a few months ago with no problem, so I know my internet used to work. The power went out while the PC was on one day 2 ...
0
votes
0answers
165 views

No such command 'sip show peers' when using asterisk

i want to connect two soft phone using asterisk after configuration the sip.conf and iax.conf and extension.conf can't enter any order from cli example of the error: Connected to Asterisk 11.6-cert1 ...
1
vote
1answer
36 views

Why does arp take so long to execute?

I'am on a wireless network. On windows, arp -a doesn't take long to complete, but on Ubuntu it takes a very long time?
0
votes
1answer
168 views

Cannot connect using wpa_supplicant

I have set up a usb wifi dongle ( Ralink 148f:7601 ) and now I want to connect with it to my router. I am using the following commands : $ wpa_passphrase "SSID" "password" then copy the psk I ...
0
votes
0answers
12 views

How to know packet statistics of a NIC?

I am using Ubuntu 12.04 LTS.Let me explain what I am trying to do. If I have a device named eth0 , I would like see its statistics as how many data packets were transmitted by the device and in those ...
0
votes
1answer
41 views

/ect/hosts file error

I am having some issues while running apt-get from my command line. I looked into some answers in askubuntu and found that we have to edit /etc/hosts file. The only entries present in that were more ...
2
votes
2answers
213 views

iwconfig doesn't report Link Quality unless run as sudo

I'm running Ubuntu 13.10 on a late 2013 Macbook Pro Retina (booted via Refind). My issue is that running iwconfig doesn't output Link Quality or Signal Level unless run as sudo. me:~$ sudo iwconfig ...
1
vote
0answers
72 views

How to install network drivers via terminal?

I have a PC with: 32GB RAM 1T harddisk 8 core cpu ubuntu server 12.04 I installed virtualbox and created four VMs. I think my mistake was I didn't leave any space for the host so I got "The ...
1
vote
1answer
66 views

Creating DSL connection from terminal

I am using Ubuntu 12.04. I use DSL connection and I configured it using the most common approach, using the network manager in the upper panel. But recently I am facing problem. Though my internet ...
1
vote
2answers
78 views

Setting a hotkey for connecting and disconnecting a network connection in KDE environment

Is there a way to set a hotkey for toggling connection through a network cable: Also if I have a command in command-line that can do this or a piece of C++ code that does this I can set a hotkey ...
1
vote
1answer
190 views

how to show GUI of ns2?

I have installed NS2 (network simulator 2.34) on my ubuntu 12.4. But when I execute the ns ns-simple.tcl in the terminal only the following messages have been shown without any GUI or schematic of my ...
0
votes
1answer
86 views

Beginner in networking please help - file sharing

Hello I am new to Linux Ubuntu, I have a spare PC laying around and I wanted to make it a file/media sharing server. I cannot even figure out how to get Ubuntu to see my windows 8 pc nor can I get my ...
1
vote
1answer
63 views

How to change wireless password from text mode?

I searched for other answers and came up with this, How can I change the wireless pasword from the terminal? It uses gksudo, but I want to do it in text mode of Ubuntu. i.e no graphics. I am using ...
2
votes
2answers
1k views

sudo dhclient eth0 | sudo: unable to resolve host ubuntu | Maybe DNS issue

I have a computer of a friend of mine, that runs Ubuntu (I don't know what version, due to the current system status) and while he was updating the kernel, he reboot the computer (yes that could be ...
1
vote
1answer
121 views

sftp connection failed, strange error messsage

While I am trying to connect to a remote system from terminal using sftp sftp user@host.ip.address connection is failing and a message coming Received message too long < some long number > ...
0
votes
1answer
349 views

Understanding results of nslookup

I'm looking at the nslookup command, and I couldn't exactly understand the results it shows. A sample output nslookup ubuntu.com Server: 192.168.0.1 Address: 192.168.0.1#53 Non-authoritative ...
0
votes
2answers
153 views

How to connect to a network from terminal

I recently updated to 13.10 from 13.04. After rebooting, the system dropped into low graphics mode. I had previously configured a Wireless Broadband connection named:"EVDO Connection". How do I ...
2
votes
1answer
129 views

How to run command on connect to network

How can I automatically run a command whenever my computer connects to a network? I want it to run in these situations: On power on and login to Unity On waking up from suspend or hibernate When it ...
1
vote
1answer
87 views

List saved networks from Terminal

I'm starting to learn terminal commands and I have one question. How can I see the list of SAVED networks from Terminal? If I go to: /etc/NetworkManager/system-connections I can see the saved ...
-1
votes
1answer
132 views

How to install class bench using make all and bashrc [duplicate]

Class bench is program for Linux,Classbench duty is create packets and generate some rules which they call them filter set.In class bench there is three folder: trace_generator db_generator ...
1
vote
1answer
2k views

Manually connecting to a network via terminal

I currently only have wired internet via a cable modem connected to an Airlink 101 ASW105 switch. It works fine for my wife's mac. However, my laptop does not connect; I've tried connecting via eth0 ...
0
votes
2answers
5k views

No internet connection on Ubuntu Server 12.04 LTS

I have an Ubuntu server and I cannot get Internet connection over this. The IP,subnet,gateway and the 2 DNS servers that I have been given is standard addresses that I must put into. I will give ...
0
votes
0answers
386 views

How can I get the WIFI to work on my ACER ASPIRE 5710?

I have tried a whole bunch of things.. from rfkill lists to unblocking to restarting network to downloading windows wireless drivers to installing firmware.. I really just need some quick direction ...
0
votes
3answers
2k views

Using PuTTy to control server while port 22 is blocked

I can control my server command line using PuTTy on my home network (port 22). I can also do this remotely (port 22). Now the issue is that while I am at school, port 22 is blocked on the router so ...
2
votes
4answers
348 views

How can I get unformatted ip address information in the shell?

I'm writing a shell script which needs information on the state of the network connection - the basic stuff like ip address, subnet, netmask and so on. I could just use ifconfig and sed/grep for the ...
0
votes
0answers
167 views

How to authenticate hostless modem connection in Terminal?

i have a greenpacket Hostless modem.when i plug it in, the modem automatically connects.But it doesnt authenticate untill i go to a browser and go to 10.2.3.254. my id-password is given there, so it ...
-1
votes
1answer
845 views

How to speed up the wifi connection process using command line tools?

I want to develop a script which connects frequently and automatically to open wifi networks. I am using the nmcli tool, which seems to be stable. nmcli device wifi connect "$ssid" iface "$iface" ...
2
votes
1answer
216 views

pipe not working for wireshark

Im trying to use wireshark in my test enironment where I have two VM's with ip address 192.168.0.1 and 192.168.0.2 Im trying to monitor the data of the machine 192.168.0.2 from the machine at ...
3
votes
4answers
17k views

How to change ip address in ubuntu desktop through command line

In Ubuntu desktop 13.04 changing /etc/network/interfaces file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried sudo service ...
5
votes
3answers
708 views

sending commands from Ubuntu 13.04 to windows 7

On our home network we have 1 windows 7 only pc and several computers with Ubuntu 13.04 (dual boot with backup windows 7 for programs that can't be run using wine). We want to be able to send commands ...
2
votes
1answer
2k views

Configure & Connect wireless network through the command line in Ubuntu 12.04

The wireless networks are detected, but I am unable to connect to them. Here is the code I've tried: sudo iwlist wlan0 scan (Working) iwconfig wlan0 essid "Network name" key s:"key" (Error for ...
0
votes
0answers
41 views

login into another hadoop namenode host

hduser1@bycb4y1:/$ ssh hadoop-namenode Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Aug 5 17:05:47 2013 from ...
2
votes
2answers
224 views

How to set a single shortcut to switch an Internet connection on and off

Which exact one-line conditional construct activates an existing Internet connection if it's off and deactivate it if it's on? I looked some on-line pages to understand the use of the "nmcli" ...
0
votes
1answer
1k views

Command Not Found when running 'svn'

I installed the Ubuntu 12.04 from a usb drive. I am having issue with my wifi connection. I tried to update the network adapter but ran into this problem with the svn command. sudo svn checkout ...
1
vote
1answer
2k views

Port forward in terminal only

I have an old Ubuntu server (13.04), and want to open a port for this online game server style software for a mate. I need a port open, and to tell it that port (I know how to tell the game that ...
1
vote
2answers
185 views

How do I launch a web browser on my local machine that visits websites through the ip of a remote machine?

So, I want to visit a website that only permits access to computers from certain ip domains. My ip is not from one of the allowed domains, but I've ssh'd into a (linux) machine at another location ...
7
votes
5answers
388 views

How to use syslog for else output ( show up with whois - query )?

There is log-file /var/log/syslog with the output of ip-addresses like e.g. SRC=10.158.0.1. I want to scan from this file every printed address in SRC= ... and then to make query with whois (SRC= ...
3
votes
2answers
2k views

Command line web browser using SSH, is there any way i can use

I am connected using SSH to a Ubuntu Box which is behind firewall and routers. From that Ubuntu box i need to open a router web page and login to the router for doing some changes. How can i from ...
1
vote
2answers
566 views

I can't use HTTP Proxy in the shell

I am a Linux Ubuntu user and I have some problem setting the proxy on my entire system. I go into the network settings of my Gnome and then I go to the Network Proxy settings mask and then I put my ...
0
votes
0answers
265 views

nmon and netstat

I'm currently using netstat -patc or even netstat -vpatc. However, watch is also useful to monitor which programs are using which bandwidth. I like the output of nmon as well, but wasn't able to get ...
5
votes
1answer
38k views

Connect to WiFi network through Ubuntu terminal [duplicate]

I am using my WiFi network adapter on the laptop to connect to the internet on Ubuntu 10.04. I have tried the following steps and got the below messages on the Ubuntu terminal. Please let me know what ...
0
votes
1answer
177 views

“Failed to setuid to root.” How do I Establish a VPN network?

My university decided that the old VPN-network, which worked fine, wasn't good enough anymore and abandoned it. Now I have to establish a completely new VPN-network. My university provided me with a ...