Guest nicoco Posted September 6, 2005 Report Share Posted September 6, 2005 Hi there I have an external modem Olitec and an ethernet card which isn't really used. The problem is that I can't get the modem to connect on the internet. When I try to create a new connection with the modem, (i check the box 'modem', specify the port, and uncheck 'connect through a LAN'), it keeps on ignoring the modem, and tries to connect with 'eth0' How can I create a ppp connection? thx Quote Link to comment Share on other sites More sharing options...
Qchem Posted September 6, 2005 Report Share Posted September 6, 2005 Is this a standard dial-up modem that connects via ethernet, or an adsl modem? Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 6, 2005 Report Share Posted September 6, 2005 Hello, welcome on board! Just in case you did not know, Olitec has official support for Linux :) See here if that helps: http://www.olitec.com/framlinux.html I only recently dropped 56k networking, and I still have my config files. When I'm back home, I'll post a follow-up with some more info. Yves. Quote Link to comment Share on other sites More sharing options...
Guest nicoco Posted September 6, 2005 Report Share Posted September 6, 2005 Is this a standard dial-up modem that connects via ethernet, or an adsl modem? <{POST_SNAPBACK}> It is a standard 56k dial up modem. It does recognise it on /dev/ttyS1, but always tries to connect through eth0 Quote Link to comment Share on other sites More sharing options...
Guest nicoco Posted September 6, 2005 Report Share Posted September 6, 2005 See here if that helps:http://www.olitec.com/framlinux.html <{POST_SNAPBACK}> I saw that before, but I just don't have the same windows as they show. On the 3rd screenshot, a LAN configuration appears (just because I have a ethernet card too), but I never get the following windows... I'm not sure if my modem is correctly recognised too. It is in HardDrake, but all it says on the right hand side window is something like the 'old name is /dev/ttyS1' Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 6, 2005 Report Share Posted September 6, 2005 Here is in short my former working PPP configuration. In the exec PATH, I have pppon.sh, and pppoff.sh. pppon.sh: #!/bin/bash sudo /usr/sbin/pppd debug nodetach lock modem crtscts /dev/ttyS0 115200 defaultroute user myLogin name ppp0 call myISP pppoff.sh: #!/bin/bash sudo killall pppd sudo is configured to allow users to execute "killall pppd" and "/usr/sbin/pppd *" without entering a password. "/dev/ttyS0" should be replaced by your modem's device. "myLogin" is obviously my login for my ISP. "myISP" is a file in /etc/ppp/peers with this content: connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-myISP" This in turn refers to a chat script named "chat-myISP" in /etc/sysconfig/network-scripts/, with this content: 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' '' 'ATZ+DS=3;+ES=3,0,2;+IFC=2,2;' 'OK' 'ATM0L0' 'OK' 'ATDT0123456789' 'CONNECT' '' 'TIMEOUT' '5' '~--' '' where: - "0123456789" should be replaced by the phone number given to you by your ISP; - "ATZ+DS=3;+ES=3,0,2;+IFC=2,2;" is the ini-string for my Speed'Com V92-ready, and should be replaced by your own init-string. Last but not least, the password for "myLogin" must be stored somewhere! Here it is: /etc/ppp/pap-secrets: # Secrets for authentication using PAP # client server secret IP addresses myLogin * myPasswd 'myLogin' * 'myPasswd' * /etc/ppp/chap-secrets: # Secrets for authentication using CHAP # client server secret IP addresses 'myLogin' * 'myPasswd' * where again, "myLogin" and "myPasswd" should be replaced by your own login and password to your ISP. I don't remember why there are two lines in /etc/ppp/pap-secrets; one of those can probably be deleted. Besides, in theory, only one of those two files is really needed for your ISP. I hope this helps. Yves. Quote Link to comment Share on other sites More sharing options...
Guest nicoco Posted September 6, 2005 Report Share Posted September 6, 2005 fantasitic, thx for your help. I'm going to reboot to linux & try it out. Anyway, I found people having the same problem, and they say that linux doesn't let you use a dial up connection if you have a LAN (or just an ethernet card...) you can have a look. here My Webpage however, the solution they give don't work for me Thanks for your help! nico Quote Link to comment Share on other sites More sharing options...
Guest nicoco Posted September 6, 2005 Report Share Posted September 6, 2005 (edited) MERCI!!!!! Ca marche impec', en fait, j'envoie ca de sous Linux! :P cheers, nico Edited September 6, 2005 by nicoco Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 7, 2005 Report Share Posted September 7, 2005 De rien! (You're welcome!) For those not speaking French: it just works :) Yves. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.