0
votes
2answers
18 views

find mac address of all connected systems

How can I find out how many system are connected to the local network and how can I get all IP and mac address of these systems. Is their any command/package to show the IP details? Can I use this ...
1
vote
1answer
117 views

Proxy authentication with terminal Ubuntu 14.04

I would like to access the internet to update files etc. from the terminal on a secured proxy network. I've already tried the following: Adding to /etc/apt/apt.conf, /etc/apt/apt.conf.d/01proxy, ...
1
vote
0answers
17 views

Weird problem: can not connect network until a terminal is opened in Live system

Live system based on ubuntu server 12.04.2 with manual installed X and openbox. startx is in a shell script which is called in /etc/rc.local with su -l root -c /scriptsFolder/script.sh A program is ...
0
votes
1answer
55 views

DynDns change by going to a web page (http) in terminal

I have a ISP with DynDns service where I am supposed to make the server use http to communicate with the DynDns servers at the ISP. It goes like this: ...
1
vote
1answer
33 views

Start & Stop internet connexion without broking Network Manager

I am on Precise. I used this command (with an alias), to close the network, dbus-send --system --print-reply --reply-timeout=120000 --type=method_call --dest=org.freedesktop.NetworkManager ...
2
votes
2answers
61 views

How can I keep vpn running even after exiting terminal?

I have a program that runs on Ubuntu (14.04) whether I am in the terminal or not. This program relies on a vpn connection, for which I am using vpnc (cisco). I have added vpnc to my reboot and start ...
1
vote
0answers
55 views

Could not ping Solaris KVM Guest from another computer

I setup Solaris Guest using KVM in Ubuntu. I don't have problem pinging host (Ubuntu) to guest (Solaris) and vice versa. Also my Solaris guest can ping other computers in my network but not the other ...
1
vote
0answers
69 views

How to solve this error: cut: write error: Broken pipe [closed]

I am a first ubuntu user and installed the SoftSearch tool and then execute the tool by using two commands: samtools index Small_test.bam perl ./SoftSearch.pl -b Small_test.bam -f chr1.small.fa ...
0
votes
1answer
40 views

Is there a way to see the commands that would be executed based on /etc/network/interfaces stanzas?

The stanzas in /etc/network/interfaces translate to certain commands to bring up or down an interface and configure it. Is there a way to see which commands it translates to (similar to set -x in a ...
0
votes
1answer
30 views

Shell script backup routers

Below is a script I've wrote to backup my routers and adsl modem, Any ideas to compact this script in less lines? Each router have a different kind of structure as you can see. #!/bin/sh ...
1
vote
0answers
141 views

Wireless networking on Ubuntu 14.04: Destination Host Unreacheable on LAN

I've been having a weird issue where I can ping only specific pcs on my LAN but not others but I can connect effortlessly to the Internet. the ping result for local addresses is: $ ping ...
0
votes
0answers
42 views

Terminal fails to connect to my shcool's wifi

I am trying to connect to Wi-Fi of my school. It connects to Internet, and I am able to run it on firefox but it fails to work on terminal. I get these outcomes: kadir@kadir:~$ sudo iwconfig eth0 ...
1
vote
1answer
150 views

How to edit /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts and similar files and why they can (not) be edited

I a trying to edit the following file (ls -alstr output): 0 -rw-r--r-- 1 root root 0 Apr 15 17:07 /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts Unfortunately, if I try to edit it with vim or simply ...
0
votes
1answer
19 views

Connect to other network to use git repo

I have used Gigolo to create a bookmark/mount for a drive that I named engineering. How would I be able to access this using the command line? When I click on anything under Computer I can find a ...
2
votes
1answer
111 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
148 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
44 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?
1
vote
1answer
74 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?
2
votes
1answer
809 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
349 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
493 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
70 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
125 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
395 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
58 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
507 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
15 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 ...
-1
votes
1answer
54 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
316 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
90 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
97 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
129 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
295 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
90 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 ...
15
votes
0answers
12k views

Command to know my external IP address? [duplicate]

How can I get my external IP address using the Command Line?
1
vote
1answer
69 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 ...
3
votes
2answers
2k 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
216 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
508 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
240 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
188 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
94 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
175 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
3k 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
7k 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
409 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
510 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
203 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
954 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" ...