Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Thomas Pollaert on July 22, 2002, 02:22:15 PM
-
Hi,
Installed SME Server with dial-up internet access, external modem.
External modem works fine with minicom, but the "Test Internet Access" option in the console screen doesn't work.
In /var/log/messages I get a script error, the modem doesn't dial at all.
Anyone any idea
Greets, Thomas
-
Thomas,
It would pay to include the error you get in /var/log/messages otherwise we do not have much to go on.
Jon
-
Sorry Jon,
the error message is of 3 parts
- alarm
- failed
- Connect script failed
Hope this informs you more.
-
Use minicom to test the operation of the modem and report the results back to this thread. From the sounds of your messages, it could be anything, but I would eliminate the modem as a source of the problem first.
BB
-
Hi Brian,
When I use minicom, the modem works just fine.
The modem initialises, the led's flicker, the modem dials a line,
modem at the other end responds.
Hereby I indeed conclude that the modem isn't the problem,
Linux itself isn't the problem. Driver technical speaking it works.
SME-Server configuration is probably a problem.
Thomas
-
If the modem is not the problem and you are able to make a connection then perhaps the problem is how you connect to your ISP. Could it be that you have misspelled your username and password for your ISP? I would try running through the configuration process and carefully re-entering your username and password.
Let us know how it turns out,
BB
-
Did that,
but the modem doesn't even start dialing out,
so I haven't even come to the process of letting smeserver enter the username and password for the ISP.
The modem does absolutely nothing !!
Gr. Thomas
-
Are you sure that the modem is connected to the serial interface you configured during the configuration process? Try switching the connection from ttyS0 to ttyS1 (or the reverse) without making any software changes.
I experienced similar issues when using an internal modem for dial-up access, and changing from ttyS3 to ttyS2 made all the difference.
It's a long shot, but I hope that any help is appreciated.
bb
-
I have exactly the same problem !!
My modem works fine, the username and password are good, but I got the same error messages in /var/log/messages when diald starts :
diald[834]: Calling site 0.0.0.0
chat[1537]: abort on (BUSY)
chat[1537]: abort on (ERROR)
chat[1537]: abort on (NO CARRIER)
chat[1537]: abort on (NO DIALTONE)
chat[1537]: abort on (Invalid Login)
chat[1537]: abort on (Login incorrect)
chat[1537]: report (CONNECT)
chat[1537]: send (ATZ^M)
chat[1537]: expect (OK)
chat[1537]: alarm
chat[1537]: Failed
diald[834]: Connect script failed
And I'm sure the modem is on the right serial port, ttys0.
Does anybody know what's wrong with ppp connection ?
-
flo wrote:
> chat[1537]: send (ATZ^M)
> chat[1537]: expect (OK)
> chat[1537]: alarm
> chat[1537]: Failed
> diald[834]: Connect script failed
>
> And I'm sure the modem is on the right serial port, ttys0.
>
> Does anybody know what's wrong with ppp connection ?
You're not getting as far as PPP. Your modem isn't talking back to the chat program. Do you happen to have minicom open in another session? PPP and minicom can't both use the modem at the same time.
Charlie
-
OK, it was a physical problem with the serial port, which couldn't communicate with the modem.
But I had an other problem, cause I need a particular string to initialize the modem and the script already add "AT" in front of the string, so don't put it in.
Maybe this can help you Thomas :)
Thx Charlie
-
Hi Flo,
okay, I am sure that it is not a physical problem cause the modem works with minicom. I really believe that it is a SME-Server configuration problem, like a modem intialisation string.
So, Flo I believe that you are right !!
But where can I change the modem string,
and in what should I change it.
I don't quite follow what you mean with that the AT string is added >?!?!
Anxious in hearing something from ya
gr. Thomas
-
Please refer to the following message for the location of the modem initialization string:
http://www.e-smith.org/bboard/read.php?v=t&f=2&i=885&t=867
Here is a pretty good list of strings:
http://www.west.net/~jay/modem/
-and here-
http://www.modemhelp.org/inits/
I hope that this helps,
BB
-
Thkx Brian for the url's.
I think I really need to get another external modem, 'cause the one I've got is a Tornado modem. In Holland this is a well known brand, at least it was.
Only on all of the url's you gave the Tornado modem is not mentioned,
it is Hayes compatible.
Thomas
-
Here is are a few sites that have initialization strings for certain Tornado modems:
http://www.jenera.com/modems/?letter=T&action=List
http://www.zipcon.net/modems.html#Tornado
http://www.doom2.net/doom2/modem.html
My favourite is this one which will e-mail the string to you:
http://www.spy.net/~dustin/modem/
All the best,
BB