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:
and edited /etc/resolv.conf file (which empty) add line:code:sudo ifconfig eth0 192.168.1.250 netmask 255.255.255.0 sudo route add default gw 192.168.1.1 eth0with these 3 changes, system on air. fixes don't survive reboot.code:nameserver 192.168.1.1
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.
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:
you find contains following 2 lines:code:cat /etc/network/interfaces
if use editor (such nano) add wired-connection details file should make persistent after reboot. eg.code:auto lo iface lo inet loopback
first copy old file backup:
then edit file:code:sudo cp /etc/network/interfaces /etc/network/interfaces_orig
add following details of connection. eg.code:sudo nano /etc/network/interfaces
also add following line:code:iface eth0 inet static address 192.168.1.250 netmask 255.255.255.0 gateway 192.168.1.1
save file in nano ctrl-o ctrl-x exit nano.code:auto eth0
check resulting file looks following cat command:
reboot , check if wired connection works ok.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
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] Lost all network connectivity
Ubuntu
Comments
Post a Comment