Thanks for the info, i'll reboot and go check that out in a minute.
By the way, i've been using linux for a long time now and love it to
death, but I still dont understand it the way I do windows. Do you
know anywhere on the net I can find information about this sort of
thing?
I mean, I can run a desktop fine, but when It comes to things like
knowing which conf files are used where and how hosts files work, I
havn't a clue what exists and what doesn't.
-Nick
On Fri, 30 Jan 2004 00:37:07 GMT, Bit Twister
<(E-Mail Removed)> wrote:
>On Fri, 30 Jan 2004 10:53:32 +1100, Nick Bronson wrote:
>> Hey there,
>>
>> I recently installed a network card in my computer to use under my
>> windows boot, playing a few games and whotnot, however since then I
>> also reinstalled mandrake on my linux partition and it broke my
>> internet.
>>
>> As far as I can tell, it still connects to the net properly (using
>> kppp) however when I boot up any internet programs, such as firebird
>> or pan, they can't find a host to the server.
>
>Usually caused by /etc/resolv.conf not having the dns nameservers.
>That is if you can ping your ISP's gateway. If ping fails your default
>route is dinked up. That maybe because of something added to
>/etc/sysconfig/network
>
>> My best guess is that
>> they are trying to access the internet connection over the network
>> card, where it doesn't exist, rather than via my modem connection.
>
>I have a nic to a cable modem. When I had to dial into work I had a script
>which did the following:
>
> /sbin/route del default # remove cable routing
> /bin/cp -f /etc/hosts_work /etc/hosts
> /bin/cp -f /etc/resolv.conf_work /etc/resolv.conf
>
>and I could then use kppp to make the dialup connection.
>
>The hangup script did the reverse and brought up the nic's network.
> /bin/cp -f /etc/resolv.conf_home /etc/resolv.conf
> /bin/cp -f /etc/hosts_home /etc/hosts
> service network restart
|