D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] upgrade to lenny, GUI broken - command line saves the day

 

On Sat, 2008-10-18 at 19:10 +0100, Zleap wrote:
> Hi
> 
> I have just upgraded to lenny and my internet is broken, ie no connection i
> have a few other problems as well can some one perhaps log in to irc and see
> if they can help.
> 
> it seems there is an issue with network manager

FTR, there was an issue with network-manager, it had become (possibly
partially) uninstalled. Never did find out what Paul had done for it to
get into that state but possibly an interrupted
upgrade. /etc/init.d/network-manager didn't exist so it wasn't
surprising that network-manager couldn't start.

> can anyone help
> 
> I have 2 computers, both are configured for dhcp and both go via the router,

So, in brief, we fixed it by using a static IP on the broken box because
the rest of the network support on the machine (and the router) was
working fine. A few tweaks to /etc/resolv.conf (the router didn't have
DNS itself so it always pays to only ever comment out existing lines)
and the network was fully usable again. apt-get -f install and apt-get
install network-manager did the rest.

As with most of these issues, there was no need to reinstall the OS
(there hardly ever is with a Debian-based distro). The problem was a
reliance on a tool that became broken and not knowing the specific
commands to setup the backup static IP from the command line. (That and
the fact that a specialised package had been installed that was not
fully configured but which was interfering with the fix - (resolvconf in
this case) - because its own configuration was incomplete. "Just install
everything" is *not* a viable choice, especially with system/network
tools.) Oh, and knowing how to setup a static IP via a different GUI
does not count.

Don't rely on the GUI, learn how to do the GUI stuff from the command
line. There are a thousand different ways that the GUI can break but you
always have the command line - even if it is only the temporary shell
within the installer.

$ man ifconfig
$ man route
$ man resolv.conf

This is the problem with packaging an OS that "just works" - when the
fancy GUI stuff stops working, people need to know how to fix the magic.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html