Networking Forums

Networking Forums > Computer Networking > Linux Networking > Internet connection problem under Mandrake 9.1

Reply
Thread Tools Display Modes

Internet connection problem under Mandrake 9.1

 
 
Nick Bronson
Guest
Posts: n/a

 
      01-29-2004, 10:53 PM
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. 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've tried everything to fix this, mandrake network settings even asks
where your net connection is (modem or network) but nothing I do makes
any difference. I'm heading off to download debian over the next week
or so to try a new distro, but I was wondering if anyone here had any
ideas.

-Nick
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      01-29-2004, 11:37 PM
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
 
Reply With Quote
 
Nick Bronson
Guest
Posts: n/a

 
      01-30-2004, 11:50 AM
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Mandrake 10.1 routing problem? Alistair Bayley Linux Networking 0 02-07-2005 08:53 PM
Mandrake 10 - 3C589C PCCARD NIC - no connection bosseb Linux Networking 5 01-13-2005 09:35 PM
ASDL connection on Mandrake 9.2 James Linux Networking 3 10-23-2004 03:52 PM
mandrake network problem NateDO Linux Networking 1 11-25-2003 02:51 AM
Mandrake MNF 8.2 - ADSL Configuration - Internet not accessible from LAN banshman Linux Networking 0 07-03-2003 04:51 AM



1 2 3 4 5 6 7 8 9 10 11