Marc,

You can find instructions for this on mandrakeuser.prg

Have a look in /usr/doc    I'm sure there is a HOWTO  on this.  

I attach a recipe for connecting to Freeserve in the UK via the
console as another recipe on the same theme!
HTH

Glyn M.



On Thu, Jun 08, 2000 at 07:46:57AM -0400, thus spake Marc:
> I have searched low and medium and I do not know where high is. Well I guess
> this is high. Can some one let me know how I can dial into my isp through
> the console only. No need to go into X at all. Thanks alot.
> 
> 
> _____________________________________________
> NetZero - Defenders of the Free World
> Click here for FREE Internet Access and Email
> http://www.netzero.net/download/index.html

-- 
       ******************************************************
       * "The soul is greater than the hum of its parts. "  *
       *                 Douglas Hoftstatder                *
       ******************************************************
Title: Connecting to Freeserve using Linux

Connecting to Freeserve using Linux

One of the first things new Linux user wants to do with Linux is connect to the internet, and rightly so. The internet is the largest and most useful source of information and help about Linux. It's a lot easier to try out a suggestion to a problem in Linux from a newsgroup or webpage if you are reading it using Linux.

This article shows how to connect to Freeserve, step by step. If you don't already have an account with them we will go through setting one up. It shouldn't be too difficult to adapt this to other ISP's, and as it's free, it doesn't cost anything to try these scripts before adapting them.

  • First, using any editor add the following line to /etc/ppp/options:

    auth

  • Open /etc/ppp/chap-secrets and add this line:

    freeservesignup	*	signup

  • We now need to make the password file unreadable to normal users. Type in:

    chmod 600 chap-secrets

  • Now we need to start the actual Freeserve scripts. First we'll make a directory for them, by typing:

    mkdir /etc/ppp/peers

  • Here comes the Freeserve-specific settings. Create a file /etc/ppp/peers/freeserve and put the following in it:

    connect '/usr/sbin/chat -v -f /etc/ppp/peers/freeserve.chat'
    name freeservesignup
    /dev/modem 115200
    crtscts
    modem
    defaultroute
    noipdefault
    asyncmap 0x00000000
    mru 1500
    mtu 1500
    noauth
    

  • Now we need to create the file that says what to tell the modem. Create a file /etc/ppp/peers/freeserve.chat containing:

    ABORT BUSY ABORT "NO CARRIER"
    "" AT&F
    OK ATDT08450796699
    CONNECT
    

  • Edit the /etc/etc resolv.conf file so that it contains:

    nameserver 195.92.195.94
    nameserver 195.92.195.95
    

    This tells linux what DNS servers to use.

  • Now we have to make a script to connect us to freeserve. Create /usr/bin/fs with these two lines in it:

    #!/bin/bash
    /usr/sbin/pppd call freeserve
    
    And for a script to disconnect, create a file called /usr/bin/fs-off with the following:

    #!/bin/bash
    kill `cat /var/run/ppp0.pid`
    

  • The previous two have to be made executable. Type these two commands in:

    chmod 755 /usr/bin/fs
    chmod 755 /usr/bin/fs-off
    

  • Finally we have to make it possible for any user (not just root) to connect. Type in:

    chmod u+s /usr/sbin/pppd
    

Now we are ready to sign-up for an account. If you already have an account, skip on to the part that says what to do once you've signed up. Otherwise follow on:

  • Load X-Windows and then start Netscape Navigator (or any other browser with SSL support)
  • From an XTerm, type the command fs, and your modem should start dialling
  • Once you are connected, go to the following URL
    	https://signup.freeserve.net
    Follow the signup process, recording your email address and password.
  • In your XTerm type the command fs-off to disconnect.

Now that you've signed up, you have to type the new settings in. Edit the /etc/ppp/chap-secrets file. Replace freeservesignup with your nodename and signup with your password. For example, if your email address was [EMAIL PROTECTED] and your password mypassword, change the line to this:

furey.freeserve.co.uk	*	mypassword

Enclose the password in double quotation marks if it contains any spaces.

Edit the /etc/ppp/peers/freeserve file and replace freeservesignup with your nodename, as before.

All that remains is for you to setup your internet software. Here are some details which should help:

  • Web proxy server:

    	www-cache.freeserve.net		Port: 8080

  • SMTP server (outgoing email):

    	smtp.freeserve.net
  • POP3 server (incoming email):

    	pop.freeserve.net

    Use your email address as your username and your dial-up password for the password.

  • News server:

    	news.freeserve.net

You're now ready to browse the internet under Linux. Type fs to connect and fs-off to disconnect. Happy surfing!

Reply via email to