Newbie Question Re: PPP dialup

Newbie Question Re: PPP dialup

Post by carmod » Fri, 09 Nov 2001 14:02:23



when attemting to test my PPP connection i get this ....

----snip----

mymachinename # ppp
Working in interactive mode
Using interface: tun0
Warning: No default entry found in config file.
ppp ON mymachinename>

----snip----

I have a mini DNS system and the networks all fine and dandy. just no
dialing action...

any ideas?

----ppp.conf----

################################################################
    # PPP Configuration File ('/etc/ppp/ppp.conf')
    #
    # Default settings; These are always executed always when PPP
    # is invoked and apply to all system configurations.
    ################################################################
    default:
      set device /dev/cuaa1
      set speed 19200
      disable pred1
      deny pred1
      disable lqr
      deny lqr
      set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0
OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"
      set redial 3 10
    #
    #
    ################################################################
    #
    # For interactive mode use this configuration:
    #
    # Invoke with `ppp -alias interactive`
    #
    ################################################################
    interactive:
      set authname ********
      set authkey ********
      set phone ********
      set timeout 300
      set openmode active
      accept chap
    #
    ################################################################
    #
    # For demand-dial (automatic) mode we'll use this configuration:
    #
    # Invoke with: 'ppp -auto -alias demand'
    #
    ################################################################
    demand:
      set authname ********
      set authkey ********
      set phone ********
      set timeout 300
      set openmode active
      accept chap
      set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
      add 0 0 127.2.2.2
    ################################################################
    # End of /etc/ppp/ppp.conf

 
 
 

Newbie Question Re: PPP dialup

Post by carmod » Fri, 09 Nov 2001 16:37:29


- as well, when attemting to manually dial, ie:

mymachine# ppp
Working in interactive mode
Using interface: tun0
Warning: No default entry found in config file.
ppp ON mymachine> term
deflink: Entering terminal mode on /dev/cuaa1
Type `~?' for help

### it hangs after this point. and that really pisses off my win2k machine,
which is sort of a consolation :-)


Quote:> when attemting to test my PPP connection i get this ....

> ----snip----

> mymachinename # ppp
> Working in interactive mode
> Using interface: tun0
> Warning: No default entry found in config file.
> ppp ON mymachinename>

> ----snip----

> I have a mini DNS system and the networks all fine and dandy. just no
> dialing action...

> any ideas?

> ----ppp.conf----

> ################################################################
>     # PPP Configuration File ('/etc/ppp/ppp.conf')
>     #
>     # Default settings; These are always executed always when PPP
>     # is invoked and apply to all system configurations.
>     ################################################################
>     default:
>       set device /dev/cuaa1
>       set speed 19200
>       disable pred1
>       deny pred1
>       disable lqr
>       deny lqr
>       set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0
> OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"
>       set redial 3 10
>     #
>     #
>     ################################################################
>     #
>     # For interactive mode use this configuration:
>     #
>     # Invoke with `ppp -alias interactive`
>     #
>     ################################################################
>     interactive:
>       set authname ********
>       set authkey ********
>       set phone ********
>       set timeout 300
>       set openmode active
>       accept chap
>     #
>     ################################################################
>     #
>     # For demand-dial (automatic) mode we'll use this configuration:
>     #
>     # Invoke with: 'ppp -auto -alias demand'
>     #
>     ################################################################
>     demand:
>       set authname ********
>       set authkey ********
>       set phone ********
>       set timeout 300
>       set openmode active
>       accept chap
>       set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
>       add 0 0 127.2.2.2
>     ################################################################
>     # End of /etc/ppp/ppp.conf


 
 
 

1. newbie question: ppp dialup problem

i have a problem connecting to any isp - my modem will dial out and
connect etc. but after it connects, it just sits there and does
nothing, then after a little while (30sec -> 1min) it'll disconnect
(presumably forced off because no authentication was put through) -
there must be some setting i've missed.. other help ive browsed through
says ive stuffed up the script thing that logs me on (or just not set
it up correctly) - i have set up 'prompts' that my modem is supposed to
interpret and respond with certain commands with - is this the way it
should be done, or should i be using PAP or something?
sorry this is disjointed.. i really am a beginner in the linux
department, any help appreciated
simon

Sent via Deja.com http://www.deja.com/
Before you buy.

2. performance

3. Newbie needs help with Dialup-PPP in Linux

4. ieee1394 external hard drive troubles

5. Newbie Question: Can't login through telnet or dialup

6. Multicast + SLIP + OSPF + gated: any [good] experience?

7. question concerning ppp dialup, chap, and adding routes

8. running X in telnet session ?

9. reconnecting ppp dialup -- question from RIP

10. PPP dialup question

11. PPP Dialup question...

12. PPP dialup question

13. NT and Linux PPP dialup bps rate questions