LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-28-2003, 08:28 AM   #1
NelsonN
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Modem access as well as network access


I will refrase my question, what steps do I need to follow to be able to dial-in to my ISP using kppp, even thou I also have network access to the Internet?

I am running Mandrake 9.2 and I have installed an external US Robotics 33.6k fax modem. I can dial-in to my local ISP but Mandrake does not route Internet traffiic thru my modem when I dial-in, it always uses my network access.

Last edited by NelsonN; 11-29-2003 at 06:59 PM.
 
Old 11-30-2003, 11:46 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
In KPPP you should click Setup, select an account then click edit, click on Gateway tab, and make sure the check box "Assign the default route to this gateway" is checked.
 
Old 12-01-2003, 05:23 PM   #3
NelsonN
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
I had that option already set. Any other ideas?
 
Old 12-01-2003, 06:29 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Does kppp actually set the default route? After you dial the isp type route and post the results.
Code:
$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         <isp-gateway>    0.0.0.0         UG    0      0        0 ppp0
It may be that you have 2 default's, in that case you'll need to edit your ifup-ppp script to remove the eth0 default, and edit ifdown-ppp script to add the eth0 default.
 
Old 12-01-2003, 07:45 PM   #5
NelsonN
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Network Access
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0

After dial-in
Destination Gateway Genmask Flags Metric Ref Use Iface
10.50.2.1 * 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0

I checked via Mandrake Control Center and I only see one default, I did create a modem profile, but that was after I was having problems.
 
Old 12-01-2003, 07:55 PM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Well kppp is not making ppp0 the default route for some reason. You can do it yourself and if it fixes your problem then just do it from the ifup-ppp script.


route add default gw <ppp0-gw>

Like I said you may need to remove the other default.

route del default eth0
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 07:24 PM
BlackBerry 7130e as modem to access EV-DO network tadatoshi Linux - Laptop and Netbook 0 11-12-2005 08:24 PM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 05:33 AM
No network/internet access with dhcp and cable modem skippy1283 Linux - Networking 3 05-26-2004 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration