LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   System not using correct interface (https://www.linuxquestions.org/questions/linux-networking-3/system-not-using-correct-interface-50741/)

andrewb758 03-19-2003 06:20 PM

System not using correct interface
 
I am trying to set up my Mandrake Linux 9.0 system to use my 56k modem. I have compiled and installed the driver, and it connects to my server, but it will not go anywhere on the Internet. It comes back instantly with an unresolved address, it doesn't even "try" and the modem icon doesn't light up. I have an Ethernet port that is not in use and has not been configured. The only other interface other than "lo" is "ppp0". However, the system will not use it for Internet access. I am using the KPPP program to front for pppd.Help, anyone? Thanks in advance!!!

Sutekh 04-16-2003 05:59 AM

sounds like you might have a problem with the default route. Normally when connecting as you described the default route is given to you by the machine you are connecting to. The default route is last step in the routing table, so when you try to connect to some internet address it tries first to see if it is a local connection and if not works it's way though your routing table until, if it can find no other path, it uses your default route (aka default gateway).

You can see your routing table by typing route -n

What you need to do is make sure you have defaultroute as one of the options for pppd. I have never used KPPP so I am not sure how you would do this but pppd uses options files, normally located in /etc/pppd/options (from memory it has been quite a while since I have had dial up)

Anyway if you add the defaultroute option you should see this appear in the routing table


All times are GMT -5. The time now is 04:08 AM.