Managing and using network connectivity on a Ubuntu system

learn more… | top users | synonyms (1)

11
votes
3answers
92k views

Command to get the hostname of remote server using IP address

I want to get the hostname of a remote server using the IP address using my Ubuntu. In Windows we can get using NBTSTAT but this doesn't work in Linux. Does anyone know how to do that?
18
votes
2answers
39k views

How to use host names rather than ip addresses on home network?

I've a small home network up and running and managed to set up ssh. Can anyone tell me what I need to do to refer to one computer on the network from another by host name rather than IP address (which ...
15
votes
2answers
32k views

How do I access Ubuntu server running in VirtualBox from outside

I have installed Ubuntu Server 12.04 LTS on my laptop via VirtualBox. I have installed LAMP, OpenSSH, Mail server. As I logged in, I ran ifconfig. It gave me the inet address as 192.168.0.3. So, ...
15
votes
2answers
11k views

What does “.local” do?

I've got several Ubuntu machines on my network at home, but the DNS is provided by a windows server (2K). When I ssh to them from another , if I ssh to them as "machine" I can't connect, but if I ...
9
votes
1answer
130k 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 ...
17
votes
3answers
49k views

How to disable IPv6 permanently?

How can we disable IPv6 system wide via terminal commands? I've read editing /etc/modprobe.d/aliases and replacing: alias net-pf-10 ipv6 with: alias net-pf-10 off alias ipv6 off Is this safe ...
15
votes
2answers
4k views

How to configure preferred network for internet?

I am connected to a LAN network and wireless network. Both provide access to internet. Sometimes when the internet on LAN is not working, the browser simply throws an exception instead of switching ...
10
votes
2answers
24k views

Cannot connect to WPA2/WPA Enterprise (PEAP and MSCHAP)

I cannot connect to my campus Wi-Fi connection through Ubuntu 13.04 but I can do the same through Windows. [ 1293.944518] wlan0: authenticate with 00:1a:1e:d5:f0:30 [ 1293.953216] wlan0: send auth to ...
3
votes
3answers
3k views

How should I set up a Linux file server for data sharing with Windows PCs and a PS3?

I have the following pieces of hardware I would like to network mostly for file sharing (media primarily): 1 gaming laptop, 1 i7 (2.3Tb storage) desktop, 1 P4 desktop (500g storage), and 1 250gig PS3. ...
7
votes
5answers
12k views

Broadcom BCM4313 on 13.04 [closed]

I am a new Ubuntu user and I don't have much knowledge about Linux. I recently installed Ubuntu 13.04 x64 in my Samsung SF310 laptop. Everything works fine except for wireless adapter. I have been ...
7
votes
4answers
11k views

How do I SSH to machine A via B in one command?

I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this ...
6
votes
4answers
10k views

How to connect to internet through command-line?

I normally connect to internet through my mobile phone's SIM card. Its a GSM network. To connect to internet in GUI manner I go to notification bar, click on network icon, and click on connections ...
5
votes
3answers
5k views

Use two networks at the same time?

I want to use Ubuntu 10.10 Server in a classroom, a computer lab whose bandwidth is provided by a local cable ISP. That's no problem, though the school network has an IP printer that I want to use. I ...
3
votes
5answers
719 views

Home network printer recommendations

I'm looking to buy a new printer to share between an Ubuntu 10.10 laptop and Windows Vista computer. I'm after something: fairly cheap (<=£100); with either wired or wireless networking; that ...
16
votes
5answers
28k views

What is the active MAC Address of my computer?

While looking to find the MAC Address of my computer as it appears to a wireless network, it was recommended that I run ifconfig. Having executed that command in the Terminal, I noticed that, unlike ...
12
votes
3answers
6k views

How can I set up a Dynamic DNS fetching service on Ubuntu Server?

I've created accounts and hostnames within my http://no-ip.org/ account, which is by far the most commonly used service for my type of server. Can somebody walk me through the configuration process ...
10
votes
7answers
17k views

Is there a program to see channels used by wifi networks (similar to Vistumbler) in Ubuntu?

I need to see the channels used by all wifi networks in range in order to improve my wifi connection by selecting the channel to be used by my modem (a procedure related to the 'freebox' modem). In ...
10
votes
1answer
2k views

How can you broadcast a network share (ftp/sftp/webdav) so that it shows up in nautilus for other users

Is there a way to broadcast a network file sharing server that is using a protocol like ftp, sftp, webdav, so that it shows up in naulilus under network:// . I once connected to network where I ...
8
votes
4answers
3k views

Slow Wireless Reconnect After Suspend

I a Broadcom 4312 using the STA drivers, I reinstalled ubuntu because the b43 drivers were giving me a huge hassle along with some weird kernel issues. My wireless speed is fine, everything works ...
7
votes
6answers
17k views

Very slow, intermittent WiFi speeds with 14.04 and Intel PRO/Wireless 5100 AGN [Shiloh]

I did a fresh install of Ubuntu 14.04 LTS on the harddisk of a Lenovo Y650 Ideapad laptop. The wireless adapter is an Intel PRO/Wireless 5100 AGN [Shiloh]. Initially I could not connect to any ...
7
votes
2answers
3k views

MaaS minimum requirements with juju-jitsu?

I've browsed through so many different sites and found so much contradictory information. As I am getting tired of this and do belive this question affects many other users, so I would like to collect ...
7
votes
2answers
16k views

How do I setup an LXC guest so that it gets a dhcp address so I can access it on my network?

I setup LXC using: lxc-create -t ubuntu -n lxcguest1 But I can't access any services running on it from my LAN, it appears to be NATed. How do I set it up so that I can access it (it probably ...
7
votes
1answer
15k views

How to map network scanner

I have just bought a shiny new Canon MG6250 multifunction printer/scanner and connected it via LAN. Installing the printing side of things was a breeze, however, I cannot work out how to set up ...
7
votes
3answers
11k views

Simple way to consistently access a SMB mount?

Is there any simple GUI way to make an SMB share persistent? I don't quite remember the steps, but on Windows, once you've mapped a share to a drive, you're given the option to 'reconnect on boot' (or ...
6
votes
1answer
53k views

Assigning a static IP to Ubuntu Server 14.04 LTS

I've installed Ubuntu 14.04 LTS Server in my machine on a separate hard drive while having my Windows 7 installation. The Windows OS has its full network connectivity and internet access through the ...
6
votes
2answers
7k views

Network Manager, create multiple lan connection configuration for the same wired card

How can I create in Network Manager, multiple wired lan connection configuration for the same wired card? I use to move between a lot of offices where I need to change my network config (IP, Mask, ...
5
votes
4answers
15k views

Cannot access Internet after 14.04 upgrade

I upgraded from 13.10 to 14.04 a couple of days ago via internet using "sudo apt-get upgrade". After the upgrade, both my wired connection and wireless connection stopped talking to the internet when ...
5
votes
1answer
154 views

Setting A System For Public Use

I am setting a system up for public use I want to set some rules on the usage of computer so that the users are restricted to some particular areas of the system and they don't play with sensitive ...
4
votes
2answers
5k views

Why I can't access google products like google.com and youtube.com?

First youtube started not loading videos, then almost all google products had problem. I had 12.04 and 12.10 on Asus N56VM. There was that problem. Now I have 13.04 on same machine. It still is. I ...
2
votes
2answers
7k views

How to setup a static ip in Ubuntu? Where i need network, broadcast, dns parameters to fill in from my ISP?

I have a public ip as below which is static (my isp provided) as below: IP Address: x.x.146.50 Subnet Mask: 255.255.255.240 Default Gateway: x.x.146.49 DNS1: x.x.1.196 DNS2: x.x.7.196 But ...
2
votes
5answers
11k views

Realtek RTL8111E8168B Ethernet driver doesn't work

Fortunately, I have an old PCI ethernet card that works fine. But unfortunately my LAN card embedded in my Asus (P7H55-M/USB3) motherboard doesn't work. Who could me help? I get this error when ...
14
votes
6answers
27k views

Why is the /etc/hosts file not working?

I have been having problems with this for a while and have tried everything I know, so I figured it was finally time to ask for some help. Any edit I make to /etc/hosts just doesn't work. Example: ...
9
votes
5answers
19k views

How do I connect my desktop and my laptop using an ethernet cable to transfer files?

I have an ethernet cable (not a crossover cable) to connect my laptop and my desktop ubuntu machines. I want to transfer large amounts of data. Is it possible with such a cable? I believe that between ...
8
votes
3answers
3k views

How to set up a computer lab for a school?

folks. I was recently given the task to remove Windows XP from some 15 computers in a primary school, install Lubuntu 12.10 on them (all too old for Gnome/Unity) and set up Scratch so the students ...
8
votes
2answers
11k views

Can Ubuntu server connect to a WPA2 encrypted wireless network?

I'm planning to maybe install Ubuntu server on an old machine. But my question is: can I install Ubuntu server on a machine and have it connect to my home network - wirelessly? I can't use a cable in ...
7
votes
1answer
2k views

Make wifi preferable over wired connection in Ubuntu 14.04?

How do I make Ubuntu choose wifi connection over wired connection when both are connected to internet? I edited the Ethernet connection to route using the preference "Use this connection only for ...
7
votes
1answer
4k views

Default route lost on reboot

After upgrading to 11.10, my system is "forgetting" the default route to the internet every time the machine gets rebooted. It "remembers" the route to the office (on a second NIC). In my ...
6
votes
2answers
2k views

How to use eth1 as failsafe system for eth0?

How to configure eth1 to be a failsafe system for eth0. When eth0 is down eth1 goes up, and when eth0 is up eth1 goes down
6
votes
4answers
13k views

Is it possible to connect to multiple VPN networks at once via Network Manager?

Is it possible to connect more VPN networks at once via Network Manager? I am running Ubuntu 12.04.1 LTS. For now I am only able to switch between preconfigured VPN connections. It`s quite annoying ...
6
votes
3answers
7k views

Why is ddclient giving me an “Invalid IP” error when trying to update dynamic DNS?

I am having a really hard time getting ddclient (which updates OpenDNS with my current IP address) to work. I have it running as a daemon, but it never succeeds in updating my IP address at openDNS. ...
5
votes
1answer
1k views

How can I access Windows shares after changing DNS servers (e.g. switching to OpenDNS)?

I'm on Maverick trying to access shared folders hosted on Windows machines across a home network. Mysteriously I stopped being able to see them through Nautilus (I couldn't even open Windows network ...
5
votes
2answers
5k views

How can I start DHCP3-server later, so that it waits for a bridge interface to initialise before loading?

I have Ubuntu 10.04 server currently setup with dhcp3-server as well as a bridged interface (br0) for use with virtual machines. The problem I have is that when the server reboots, dhcp3-server fails ...
4
votes
1answer
19k views

How to connect to WiFi from Lubuntu?

After add the Manage Networks icon into the panel, I can see my Wi-Fi network on the list. So I click on the SSID and it prompt for a password. I enter the right or wrong password but nothing happens. ...
4
votes
2answers
15k views

How to add a loopback interface?

I want to add two more loopback interfaces. I used the following command: ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up and type in ifconfig, i can see the loopback address was added. But if i want ...
4
votes
3answers
23k views

Why can I ping via IP address but not hostname?

I have a media/file server running Ubuntu 10.10 Maverick Meerkat, connected via cable directly to a DSL router, which also acts as a network switch. The router uses DHCP to dynamically assign IP ...
3
votes
3answers
7k views

How to get your network ip

I am on a network with PPPoE connection for internet acces.I want to find out my network ipv4. Example: -on Windows 7 I can see both my PPPoE's connection ip and local network ip, either from ...
2
votes
2answers
5k views

network interface (onboard wired) is showed p5p1 instead eth0

I've running Ubuntu 13.04 on my computer and it's ok. But some softwares like media servers don't work well. They search network interface eth0 and Ubuntu 13.04 named it p5p1. So my media server ...
1
vote
1answer
1k views

How to configure a firewall that only allows a few webpages and dropbox and U1 services?

Can anyone give a step-by-step how-to that explains how to block all outgoing internet traffic to all websites, but allows only a selected list (needed for working, fi. online dictionaries) allows ...
0
votes
3answers
10k views

Why would 127.0.0.1 in resolv.conf cause problems in DNS resolution?

[update and update II: see my awkward and proper solutions at the end of the question, based on one of the answers] I have an extremely slow DNS lookup when my resolv.conf file includes the 127.0.0.1 ...
0
votes
2answers
1k views

Ubuntu 12.04 - Network Manager Problem In System Tray

I am using Ubuntu 12.04 and I installed fallback version of desktop. I have a problem about my network manager in system tray. I can see network manager but no button is working in network manager in ...