pppd vpn connection

pppd vpn connection

Post by Mervyn D'Cunh » Fri, 03 Dec 1999 04:00:00



I am a new to Linux and I have a ADSL connection at home. I want to get my
Red Hat system on the net. My service provider has the following
instructions:

Download the following system files:
  Access Manager for Red Hat 5.2 Linux
  Access Manager source code for Linux
  Access Manager library no.1 for Linux
  Access Manager library no.2 for Linux
  Access Manager library no.3 for Linux

Extract the files (gzip then tar -xvf) in the tar.gz - pty-redir and pppoe -
in the /usr/sbin directory
Use the chmod command to change the permissions on the files so that you
have execution privileges
Locate and edit the chap-secrets file in /etc/ppp or (possibly other
locations) to include your username and password. Use the following syntax:


Execute the command to launch the connection:

usr/sbin/pppd name Note: You may need to use ./pty-redir

You may use ifconfig to ensure you have established a connection to the
server and obtained the IP parameters properly
After it is up, routing tables will need to be created.  You may use the
route add....... command.  The shell script is easier than typing in the
routing table in every new session
i.e. if the IP address assignment is as follows:

     IP Address. . . . . . . . . : 22.33.44.100
     Subnet Mask . . . . . . .. : 255.255.255.0
     Default Gateway . . . . .. : 22.33.44.1

The files are in a .tar.gz and zip format. I keep getting a error went I use
gzip on the tar files it tells me it is already a gz I use the -d options
and invalid compress data--crc error.
Help...

Thanks

 
 
 

pppd vpn connection

Post by Anton Degue » Fri, 03 Dec 1999 04:00:00



> I am a new to Linux and I have a ADSL connection at home. I want to get my
> Red Hat system on the net. My service provider has the following
> instructions:

Good luck for your pppoe configuration.

Quote:> The files are in a .tar.gz and zip format. I keep getting a error went I use
> gzip on the tar files it tells me it is already a gz I use the -d options
> and invalid compress data--crc error.

A very usefull unix command is "file".  Do file toto.tar and if it tells
you that it is a gzipped file, just rename it with a .tar.gz suffix.
This happens with some badly configured netscape, i.e. it removes the
.gz suffix without doing the gunzip.

Anton

 
 
 

pppd vpn connection

Post by Bruce Bes » Fri, 03 Dec 1999 04:00:00


The solution from Sympatico for using their ADSL service under Linux is
definitely not the best way to do it - even if the instructions were clearer.

Have a look at

sympaticousers.org/linux_pppoe.htm

for a list of various other solutions. If you feel up to a kernel recompile, use
Jamal Hadi Salim's solution, which from all accounts is the best way to do it.
Look at the Kernel-HOWTO for help in recomiling your kernel.

This wouldn't be necessary except that Bell Sympatico has decided to use PPP
over Ethernet instead of DCHP for establishing a connection. With DCHP, you are
pretty much automatically connected if you have set up networking on your
machine, under any OS. See the main page at sympaticousers.org for much material
on why PPPoE is a bad choice for the end user.

Bruce


> I am a new to Linux and I have a ADSL connection at home. I want to get my
> Red Hat system on the net. My service provider has the following
> instructions:

> Download the following system files:
>   Access Manager for Red Hat 5.2 Linux
>   Access Manager source code for Linux
>   Access Manager library no.1 for Linux
>   Access Manager library no.2 for Linux
>   Access Manager library no.3 for Linux

> Extract the files (gzip then tar -xvf) in the tar.gz - pty-redir and pppoe -
> in the /usr/sbin directory
> Use the chmod command to change the permissions on the files so that you
> have execution privileges
> Locate and edit the chap-secrets file in /etc/ppp or (possibly other
> locations) to include your username and password. Use the following syntax:


> Execute the command to launch the connection:

> usr/sbin/pppd name Note: You may need to use ./pty-redir

> You may use ifconfig to ensure you have established a connection to the
> server and obtained the IP parameters properly
> After it is up, routing tables will need to be created.  You may use the
> route add....... command.  The shell script is easier than typing in the
> routing table in every new session
> i.e. if the IP address assignment is as follows:

>      IP Address. . . . . . . . . : 22.33.44.100
>      Subnet Mask . . . . . . .. : 255.255.255.0
>      Default Gateway . . . . .. : 22.33.44.1

> The files are in a .tar.gz and zip format. I keep getting a error went I use
> gzip on the tar files it tells me it is already a gz I use the -d options
> and invalid compress data--crc error.
> Help...

> Thanks