Jump to content

use of external modem Olitec [solved]


Guest nicoco
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 

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'

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...