Skip to main content

Thread: Lost all network connectivity


i'm linux neophyte struggling learning curve. few months ago, downloaded 10.04 lts livecd , configured first linux system. great fun - got firefox running, installed few applications, , explored many capabilities. had put project on hold due family obligations.

today, booted system , found had no network connectivity. after eliminating bad ethernet cables , routers, started looking under covers. oddly, network connections page completly empty, added new wired connection. configured dhcp. rebooted. no luck. changed dhcp manual, , specified unused ip address (plus subnet mask, gateway, , dns). rebooted again. still no joy.

off world of ifconfig. read many man pages , troubleshooting web sites. quickly, discovered eth0 down, turned up, insufficient. eventually, able reactivate network (1) assigning ip address, (2) defining default gateway, , (3) specifying dns server. wit:

code:
sudo ifconfig eth0 192.168.1.250 netmask 255.255.255.0 sudo route add default gw 192.168.1.1 eth0
and edited /etc/resolv.conf file (which empty) add line:
code:
nameserver 192.168.1.1
with these 3 changes, system on air. fixes don't survive reboot.

hoping can point me in right direction proper network parameters permanently configured. have thought network connections tool way specify network interface, far can tell, has absolutely no impact on system.

, i'm mystified have wiped out entire network configuration when used work fine couple months ago.

should mention having manually specified network settings, able run update manager. downloaded couple hundred mbs of new , improved code, 10.04 lts up-to-date. yet if reboot it, once again network-less.

thanks.

quote posted kyphos view post
...and i'm mystified have wiped out entire network configuration when used work fine couple months ago...
personally, not great fan of gnome network manager , prefer configure networks old-fashioned way.

suggest first open terminal , take @ file /etc/network/interfaces "cat" command:
code:
cat /etc/network/interfaces
you find contains following 2 lines:
code:
auto lo  iface lo inet loopback
if use editor (such nano) add wired-connection details file should make persistent after reboot. eg.
first copy old file backup:
code:
sudo cp /etc/network/interfaces /etc/network/interfaces_orig
then edit file:
code:
sudo nano /etc/network/interfaces
add following details of connection. eg.
code:
iface eth0 inet static  address 192.168.1.250  netmask 255.255.255.0  gateway 192.168.1.1
also add following line:
code:
auto eth0
save file in nano ctrl-o ctrl-x exit nano.
check resulting file looks following cat command:
code:
cat /etc/network/interfaces  auto lo  iface lo inet loopback    iface eth0 inet static  address 192.168.1.250  netmask 255.255.255.0  gateway 192.168.1.1    auto eth0
reboot , check if wired connection works ok.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] Lost all network connectivity


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?