Recent Changes - Search:

PmWiki

pmwiki.org

edit SideBar

PPP

Main.PPP History

Hide minor edits - Show changes to markup

May 11, 2006, at 10:35 PM by Zeppo -
Changed lines 132-133 from:

''I just now realized there was a type in my Main/Options file that may have caused the problem.

to:

''I just now realized there was a type in my Options file that may have caused the problem.

May 11, 2006, at 10:34 PM by Zeppo -
Added lines 132-133:

''I just now realized there was a type in my Main/Options file that may have caused the problem.

May 11, 2006, at 02:41 AM by zeppo -
Changed lines 126-128 from:

default gateway

to:

default route

May 11, 2006, at 02:40 AM by zeppo -
Changed lines 116-123 from:

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

to:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use
    Iface
    206.176.148.90  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0

@]

Changed lines 127-128 from:

@]

to:
May 10, 2006, at 03:31 AM by 70.136.92.23 -
Changed lines 116-120 from:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use
    Iface
  I just saw that the two examples were the same. OOPs! I'll try to get the correct example.
to:

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

Notice my ppp0 is now destination 0.0.0.0 which I think means it is the default gateway

May 10, 2006, at 03:28 AM by 70.136.92.23 -
Changed lines 119-123 from:
    206.176.148.90  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.1.1     0.0.0.0         UG    1      0        0 eth0
to:
  I just saw that the two examples were the same. OOPs! I'll try to get the correct example.
April 23, 2006, at 02:00 AM by 70.254.171.249 -
Changed lines 51-52 from:
to:
route del default This was the crucial part in the end (I had run this BEFORE startding pppd)
April 23, 2006, at 01:58 AM by 70.254.171.249 -
Changed line 56 from:
:~# ifconfig
to:
:~# ifconfig
Changed line 87 from:
:~# ping 216.239.51.99
to:
:~# ping 216.239.51.99
Changed lines 95-96 from:

Using route -n I discover:

to:

Using route -n I discover:

April 23, 2006, at 01:56 AM by 70.254.171.249 -
Changed line 36 from:

I had to CREATE this files:

to:

I had to CREATE this files:

Changed line 39 from:

I had to CHANGE these files:

to:

I had to CHANGE these files:

April 17, 2006, at 04:03 PM by Zeppo -
Changed lines 114-122 from:
:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
to:
:~# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use
    Iface
    206.176.148.90  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.1.1     0.0.0.0         UG    1      0        0 eth0

April 17, 2006, at 04:02 PM by Zeppo -
Added lines 97-113:
:~# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use
    Iface
    206.176.148.90  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.1.1     0.0.0.0         UG    1      0        0 eth0

I think the Destination Iface of 0.0.0.0 indicates the default route for packets (I think)

So I had to use THIS command to allow ppp to have the routing right of way (defaultroute)

route del default (I had run this BEFORE startding pppd)

Run the above command, restart pppd then route -n shows me:

Deleted lines 122-137:

I think the Destination Iface of 0.0.0.0 indicates the default route for packets (I think)

So I had to use THIS command to allow ppp to have the routing right of way (defaultroute)

route del default (I had run this BEFORE startding pppd)

Run the above command, restart pppd then route -n shows me:

:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
April 17, 2006, at 12:06 AM by zeppo -
Changed line 23 from:
ATDT######## y
to:
ATDT########
April 16, 2006, at 03:26 PM by zeppo -
Changed lines 1-4 from:

As a Windows user, getting started with Linux can be frustrating and one of the biggest problems for me in my early attempts was getting online. So even though I now have my DSL-Router-NAT network at home I decided to record what it took to get on the Internet with my Slackware installation (before my dialup account expired).

to:

As a Windows user, getting started with Linux can be frustrating and one of the biggest problems for me in my early attempts was getting online. So even though I now have my DSL-Router-NAT network at home I decided try again with my latest Slackware installation and record what it took to get on the Internet before my dialup account expired.

Changed lines 52-53 from:

I figuured out I had my chat script wrong because ppp wasn't listed in the ifconfig result. It turned out it was simply the use of quotes (") versus (') from conflicting advice I found ont the Web.

to:

I figured out I had my chat script wrong because ppp wasn't listed in the ifconfig result. It turned out it was simply the use of quotes (") versus (') from conflicting advice I found ont the Web.

Changed lines 122-124 from:

and my ping attempt still failed (unpingable IP) but the response was not from my Ethernet card.

to:

and my ping attempt still failed (un-pingable IP) but the response was not from my Ethernet card. But I was then able to start a web browser and surf the web.

April 16, 2006, at 03:23 PM by zeppo -
Changed lines 52-54 from:

I figuured out I had my chat script wrong because ppp wasn't listed in the ifconfig result. It should look something like this:

to:

I figuured out I had my chat script wrong because ppp wasn't listed in the ifconfig result. It turned out it was simply the use of quotes (") versus (') from conflicting advice I found ont the Web.

Ifconfig results should look something like this:

April 16, 2006, at 04:20 AM by Zeppo -
Changed line 53 from:
 ----
to:

Changed lines 80-81 from:
 ----
to:

April 16, 2006, at 04:19 AM by Zeppo -
Changed line 53 from:
to:
 ----
Changed lines 80-84 from:

After making the changes I could not ping anything beyond the IP the isp gave me. But from ping response I could tell my ethernet IP was still involved, so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

I had to use THIS command to allow ppp to have the routing right of way (defaultroute)

to:
 ----

After making the changes and correcting my chat file I could not ping anything beyond the IP the isp gave me. But from ping response I could tell my ethernet IP was still involved, so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

My ping result was:

:~# ping 216.239.51.99
PING 216.239.51.99 (216.239.51.99) 56(84) bytes of data.
From 192.168.1.150 icmp_seq=1 Destination Host Unreachable

The IP didn't need to be reachable since I was interesting in how far the ping would go. And this told me that I wasn't getting out to the Internet since it was using my Ethernet Card address. But I DID get a response from the IP address in the ifconfig result (inet addr:207.53.228.91).

So I had pppd going and a working connection with my Internet provider.

Using route -n I discover:

:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0

I think the Destination Iface of 0.0.0.0 indicates the default route for packets (I think)

So I had to use THIS command to allow ppp to have the routing right of way (defaultroute)

Changed lines 109-123 from:

To start the connection all I had to do was enter

to:

Run the above command, restart pppd then route -n shows me:

:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0

and my ping attempt still failed (unpingable IP) but the response was not from my Ethernet card.

So now all I have to do is start the connection:

Added lines 129-130:

Then I change it all back since I didn't need it anyway.

April 16, 2006, at 04:04 AM by 70.129.139.2 -
Changed line 74 from:
  Mask:255.255.255.255
to:

Mask:255.255.255.255

April 16, 2006, at 04:02 AM by 70.129.139.2 -
Added lines 52-81:

I figuured out I had my chat script wrong because ppp wasn't listed in the ifconfig result. It should look something like this:

:~# ifconfig

eth0 Link encap:Ethernet HWaddr 00:C0:F0:49:C3:50

inet addr:192.168.1.150 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13634 errors:1 dropped:0 overruns:0 frame:0
TX packets:15637 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2091473 (1.9 Mb) TX bytes:13828937 (13.1 Mb)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7366 errors:0 dropped:0 overruns:0 frame:0
TX packets:7366 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1541636 (1.4 Mb) TX bytes:1541636 (1.4 Mb)

ppp0 Link encap:Point-to-Point Protocol

inet addr:207.53.228.91 P-t-P:206.176.148.90
  Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:42 (42.0 b) TX bytes:63 (63.0 b)

April 16, 2006, at 02:34 AM by zeppo -
Changed lines 61-63 from:
which means hang up I think

to:
I think the HUP means hang up
April 16, 2006, at 02:33 AM by 70.129.139.2 -
Changed line 48 from:
ifconfig should show
to:
ifconfig should show if your pppd is running (as ppp0)
Changed lines 55-56 from:
route del delete (I had run this BEFORE startding pppd)
to:
route del default (I had run this BEFORE startding pppd)
April 16, 2006, at 02:14 AM by 70.129.139.2 -
Deleted line 44:
Added line 48:
ifconfig should show
April 16, 2006, at 01:58 AM by zeppo -
Changed lines 17-19 from:

I never found an ISP that used PAP or CHAP, so I don't know why so many Linux dial up how-to info spends so much time on them.

to:

I never found an ISP that used PAP or CHAP, so I don't know why so many Linux dial up how-to info spends so much time on them. And I only deal with a non-PAP, non-CHAP ISP.

Step 1: Find out what your ISP uses

Added lines 34-35:

Step 2: Change and Create files

Added lines 43-45:

Step 3: Troubleshoot

April 16, 2006, at 01:55 AM by zeppo -
Changed lines 1-4 from:

As a Windows user, getting started with Linux can be frustrating and one of the biggest problems for me in my early attempts was getting online. So even though I now have my DSL/Router NAT network at home I decided to record what it took to get on the Internet with my Slackware installation (before my dialup account expired).

to:

As a Windows user, getting started with Linux can be frustrating and one of the biggest problems for me in my early attempts was getting online. So even though I now have my DSL-Router-NAT network at home I decided to record what it took to get on the Internet with my Slackware installation (before my dialup account expired).

Changed lines 15-16 from:
to:

My Process

April 16, 2006, at 01:53 AM by zeppo -
Changed lines 1-3 from:

First off, it is WAY easier to configure neworking with a LAN than Dial up. But even though I had my home DSL/Router NAT network at home I decided to record what it took to get on the Internet with my Slackware installation (before my dialup account expired).

I never found an ISP that used PAP or CHAP. To see what you have and to check your modem start MINICOM.

to:

As a Windows user, getting started with Linux can be frustrating and one of the biggest problems for me in my early attempts was getting online. So even though I now have my DSL/Router NAT network at home I decided to record what it took to get on the Internet with my Slackware installation (before my dialup account expired).

First off, it is WAY easier to configure neworking with a LAN than Dial up. On my first Linux installation sometime back in the 1990s I couldn't get pppd to work but somehow I found a utility on the web that asked for most of the information I site below and it put it all in the right place.

Later I tried Redhat and SuSE and used kppp on one and xisp on another. So I always was able to find some utility to get me online but in none of these did I ever sort through the different approaches to find the most concise. (My Solaris installation was difficult but I can't remember a thing about what I had to do - I didn't have a wiki to record my progress then).

I hope this applies to all versions of Linux but at the very least I would think it would help with all versions of Slackware.

Since this was more of a lark I didn't clean up the process intending it to only help someone deperately trying to get online. So all actions are taken as root and I made no attempt to sort out permissions issues with other users.


I never found an ISP that used PAP or CHAP, so I don't know why so many Linux dial up how-to info spends so much time on them.

To see what you have and to check your modem start MINICOM.

April 16, 2006, at 01:33 AM by zeppo -
Changed line 3 from:

First off, I never found an ISP that used PAP or CHAP. To see what you have and to check your modem start MINICOM.

to:

I never found an ISP that used PAP or CHAP. To see what you have and to check your modem start MINICOM.

April 15, 2006, at 09:02 PM by zeppo -
Changed lines 29-30 from:

After making the changes I could not ping anything beyond the IP the isp gave me. But from response had my ethernet IP so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

to:

After making the changes I could not ping anything beyond the IP the isp gave me. But from ping response I could tell my ethernet IP was still involved, so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

April 15, 2006, at 09:00 PM by zeppo -
Changed lines 24-27 from:
MINICOM
ifconfig (to see if the pppd is working)
route -n to display my defaultroute
to:
MINICOM (to test the modem and check the ISP login type)
ifconfig (to see if the pppd is working)
ping (to see how far I get)
route -n to display my defaultroute
April 15, 2006, at 08:58 PM by zeppo -
Changed lines 3-6 from:

First off, I never found an ISP that used PAP or CHAP. To see what you have and to check your modem start MINICOM.

ATDT######## your ISP dialup number and see what it says. Mine have always responed with

to:

First off, I never found an ISP that used PAP or CHAP. To see what you have and to check your modem start MINICOM. At the terminal window enter

ATDT######## y

With ########## as your ISP dialup number and see what it says.

Mine have always responed with

Changed line 16 from:

I had CREATE these files:

to:

I had to CREATE this files:

Changed lines 37-39 from:
which mean hang up I think

to:
which means hang up I think

April 15, 2006, at 06:37 PM by zeppo -
Changed line 33 from:

I ended the ppp session with kill -HUP pppd

to:

I ended the ppp session with kill -HUP pppd

April 15, 2006, at 06:36 PM by zeppo -
Added lines 30-32:

To start the connection all I had to do was enter

pppd
April 15, 2006, at 06:32 PM by zeppo -
Changed lines 23-24 from:
to:
route -n to display my defaultroute
April 15, 2006, at 06:11 PM by zeppo -
Changed lines 24-25 from:

After makeing the changes I could not ping anything beyond the IP the isp gave me. But from response had my ethernet IP so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

to:

After making the changes I could not ping anything beyond the IP the isp gave me. But from response had my ethernet IP so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

April 15, 2006, at 06:11 PM by zeppo -
Changed lines 21-23 from:
to:
MINICOM
ifconfig (to see if the pppd is working)
April 15, 2006, at 06:09 PM by zeppo -
Changed lines 5-6 from:

ATDT######## your ISP dialup number and see what it says. Mine have always responed with-<

to:

ATDT######## your ISP dialup number and see what it says. Mine have always responed with

April 15, 2006, at 06:08 PM by zeppo -
Added lines 3-11:

First off, I never found an ISP that used PAP or CHAP. To see what you have and to check your modem start MINICOM.

ATDT######## your ISP dialup number and see what it says. Mine have always responed with-< Login:

then

Password:

Which means you don't use either PAP or CHAP

April 15, 2006, at 06:04 PM by zeppo -
Changed lines 15-16 from:
route del delete (I had run this BEFORE startding pppd)
to:
route del delete (I had run this BEFORE startding pppd)
April 15, 2006, at 06:04 PM by zeppo -
Changed lines 12-13 from:
to:

After makeing the changes I could not ping anything beyond the IP the isp gave me. But from response had my ethernet IP so I knew it was still trying to resolve via the LAN card. Meaning it was not routing resolution through the pppd dialup connection

Changed lines 15-16 from:
route del delete (I had run this BEFORE startding pppd)
to:
route del delete (I had run this BEFORE startding pppd)
April 15, 2006, at 06:01 PM by zeppo -
Changed lines 14-17 from:
route del delete

I had run this BEFORE startding pppd

to:
route del delete (I had run this BEFORE startding pppd)

I ended the ppp session with kill -HUP pppd

which mean hang up I think

April 15, 2006, at 05:57 PM by zeppo -
Changed lines 4-5 from:
to:
/etc/ppp/chat-myisp
April 15, 2006, at 05:49 PM by zeppo -
Changed lines 8-9 from:
to:
/etc/ppp/options
April 15, 2006, at 05:45 PM by zeppo -
Changed line 7 from:
resolve}.conf
to:
/etc/resolve.conf
April 15, 2006, at 05:41 PM by 70.129.139.2 -
Changed line 7 from:
[[/etc/resolve}].conf
to:
resolve}.conf
April 15, 2006, at 05:41 PM by 70.129.139.2 -
Changed line 7 from:
to:
[[/etc/resolve}].conf
April 15, 2006, at 03:23 PM by Zeppo -
Changed lines 8-9 from:
to:
April 15, 2006, at 03:17 PM by Zeppo -
Changed lines 7-9 from:
/etc/resolve.conf
/etc/ppp/options
to:
April 15, 2006, at 03:14 PM by Zeppo -
Changed lines 4-5 from:
/etc/ppp/chat-myisp
to:
April 15, 2006, at 03:12 PM by Zeppo - PPP connection on Slackware
Changed lines 4-5 from:
chat-myisp
to:
/etc/ppp/chat-myisp
Changed lines 7-8 from:
resolve.conf
to:
/etc/resolve.conf
/etc/ppp/options
April 15, 2006, at 03:10 PM by 70.129.139.2 -
Changed lines 7-8 from:
resolve.conf
to:
resolve.conf
April 15, 2006, at 03:10 PM by 70.129.139.2 -
Deleted line 13:
April 15, 2006, at 03:10 PM by 70.129.139.2 -
Added lines 1-17:

First off, it is WAY easier to configure neworking with a LAN than Dial up. But even though I had my home DSL/Router NAT network at home I decided to record what it took to get on the Internet with my Slackware installation (before my dialup account expired).

I had CREATE these files:

chat-myisp

I had to CHANGE these files:

resolve.conf

I used THESE commands to test my progress

I had to use THIS command to allow ppp to have the routing right of way (defaultroute)

route del delete

I had run this BEFORE startding pppd

Edit - History - Print - Recent Changes - Search
Page last modified on May 11, 2006, at 10:35 PM