LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-27-2001, 04:41 AM   #1
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
Question Automating the dial up process


Hi guys

After weeks of trying i,ve managed to setup the ip forwarding to my windows box so I can now access the internet.

But now I have another problem.

I want to setup the internet access so when it receives a request it automatically dials my default connection, but i,m not sure how to do it.

I,ve tried the script in the how-to but it gives me the following message....

to use the demand command I must have a script

This I dont understand because I have 2 scripts called ip-up and ip-down using chap. Can anyone help me with this one??

btw this my option file as it stands at the moment

lock
noauth
noipdefault
userpeerdns

Thx guys

RecoilUK
 
Old 09-27-2001, 10:47 AM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hey..

Read Dial on Demand Howto


Siddiqu.T
 
Old 09-28-2001, 07:01 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Try wvdial at http://www.worldvisions.ca/wvdial/
 
Old 09-28-2001, 07:47 AM   #4
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Hi guys

1. I have read the how-to, I thought I said that already, but if you could provide a link it may be a different one.

2. Thx for the suggestion ugge but I cant use wvdial because it uses PAP and my ISP uses CHAP. Thx anyway.

Thx guys

Recoil UK
 
Old 09-28-2001, 05:25 PM   #5
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Hi again

OK i,ve found a command which runs kppp and dials a specified account as follows.

kppp -c BT

BT being the specified account.

Does anyone know of a way of getting IPCHAINS to detect an outgoing packet and run that command or a script?

Is this possible. I dont think ,I would be having this trouble if my ISP used PAP but as I said it uses CHAP and I cant write a chat script for it.

Thx guys

RecoilUK
 
Old 09-28-2001, 09:58 PM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Try this Howto, It has everything you need and more. It has the links to diald also for demand dialing.


http://axion.physics.ubc.ca/ppp-linux.html
 
Old 09-29-2001, 01:35 PM   #7
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Cheers David

Looks like just the thing i,m looking for.

L8rs

RecoilUK
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating the "killing" process via a shell script fatrandy13 Linux - Software 5 09-13-2007 11:59 PM
Cousin having trouble with dial up in kppp with SBC dial, please help Fear58 Linux - Networking 1 07-03-2004 09:11 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM
Automating modprobe? r_jensen11 Linux - Hardware 3 09-07-2003 08:30 PM
ppp generate over 1000 process during dial and hangup frankcheong Linux - Networking 0 06-05-2003 03:24 AM


All times are GMT -5. The time now is 05:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration