Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Kppp / pppd
Results 1 to 5 of 5

Thread: Kppp / pppd

  1. #1
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Kppp / pppd

    Hello. I have found that some ISP's dont behave well with pppd, and do not get the default gateway set properly. Well, Red Hat did this somehow always thru their software. If I plan to go non-Red Hat, how can I overcome the issue of :

    sudo route del default
    sudo route
    {[me=Schotty]looks for the new IP}[/me]
    sudo route add default gw $NEW_IP
    {[me=Schotty]hangs up}[/me]
    sudo route del dfault
    sudo route add default gw 192.168.0.2

    Each time I dial up I gotta go thru this. My little brother used to have access and I had him using it to go online, but now -- I am not giving him root access to do route commands :

    Any tips? I know Mandrake did the same that Red Hat did. SuSE 8 did not though. Then again it could have been a patch that the aforementioned 2 did have as opposed to SuSE.

    Thanks.
    Currently I am on a HD install of Knoppix, but Slack 9 did the same thing.

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Kppp / pppd

    update -- well I did get somewhere sofar :

    [/b]route del default ; route add default ppp0[/b]

    seems to work. Then at disconnect I can do a

    route del default ; route add default gw 192.168.0.2

    Of course I can script it or have kppp do it. I suppose I can see how well this works. If I suid the script (for connect/disconnect), that can take care of the permissions, right? If that is an idiotic approach, what is the correct way? I am good with *nix, but not perfect ;D

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Kppp / pppd

    Well I finally got this bad boy fixed. It turns out, after adding a new MAC address to my dhcp server (static IP assignment here), I saw a really nasty snafu.

    Now it works fine.

  4. #4

    Re:Kppp / pppd

    good job, i stared at that one for a while and had no idea

  5. #5
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Kppp / pppd

    Would definitely explain why Slack, Libranet, and Knoppix all didnt want to work right. I still may try to get slack to work, from within a VMWare session or something. I am not sure. Slack 7.1 treated my extremely well back in the day. It took some effort to make the dive to Red Hat. Once done though, I have rarely looked back ;D

    As soon as I get some cash, I will be evaluating on MY box the latest Lindows. LindowsOS 3 was nice, and the inprovements in 4 seem worth it now to blow $149 bucks for the whole shebang (this is definitly convert stuff here).

    But yeah, note this line in my /etc/dhcpd.conf (Red Hat 9)

    Code:
    subnet 192.168.0.0 netmask 255.255.255.0 {
            #option routers                  192.168.0.2;
            option subnet-mask              255.255.255.0;
            option domain-name              "schotty.net";
            option domain-name-servers       192.168.0.2, 209.153.128.4, 169.207.1.3;
            range 192.168.0.200 192.168.0.245;
    And yes, there is a nameserver for the LAN ;D

    Hopefully you see why this was a fatal error on my part. And why I asked (too bad nobody responded) for Mandrake and Red Hat dialup users to show me their routing tables -- both ran fine off my server with that option enabled. Them boys had some linux voodoo going on

Similar Threads

  1. Help with Kppp
    By Aileron in forum Linux - General Topics
    Replies: 1
    Last Post: 05-12-2003, 12:52 AM
  2. Mandrake 9 and kppp
    By TLF in forum Linux - General Topics
    Replies: 2
    Last Post: 02-07-2003, 03:28 AM
  3. KPPP
    By lhvan in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 07-23-2002, 03:23 AM
  4. pppd problem
    By gschlut in forum Linux - General Topics
    Replies: 0
    Last Post: 04-30-2002, 05:22 PM
  5. Slackware8 - totally discombobulated pppd!
    By NightSky in forum Linux - General Topics
    Replies: 13
    Last Post: 04-16-2002, 05:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •