Koozali.org: home of the SME Server

Test internet access doesn''t work

Thomas Pollaert

Test internet access doesn''t work
« 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

Jon Blakely

Re: Test internet access doesn''t work
« Reply #1 on: July 22, 2002, 04:26:38 PM »
Thomas,

It would pay to include the error you get in /var/log/messages otherwise we do not have much to go on.

Jon

Thomas Pollaert

Re: Test internet access doesn''t work
« Reply #2 on: July 22, 2002, 07:13:14 PM »
Sorry Jon,

the error message is of 3 parts
- alarm
- failed
- Connect script failed

Hope this informs you more.

Brian Barber

Re: Test internet access doesn''t work
« Reply #3 on: July 23, 2002, 10:04:37 AM »
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

Thomas Pollaert

Re: Test internet access doesn''t work
« Reply #4 on: July 23, 2002, 02:41:27 PM »
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

Brian Barber

Re: Test internet access doesn''t work
« Reply #5 on: July 23, 2002, 07:11:54 PM »
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

Thomas Pollaert

Re: Test internet access doesn''t work
« Reply #6 on: July 23, 2002, 07:55:56 PM »
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

Brian Barber

Re: Test internet access doesn''t work
« Reply #7 on: July 23, 2002, 08:16:56 PM »
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

flo

Re: Test internet access doesn''t work
« Reply #8 on: July 25, 2002, 07:59:10 PM »
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 ?

Charlie Brady

Re: Test internet access doesn''t work
« Reply #9 on: July 25, 2002, 08:58:50 PM »
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

flo

Re: Test internet access doesn''t work
« Reply #10 on: July 27, 2002, 12:16:32 AM »
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

Thomas Pollaert

Re: Test internet access doesn''t work
« Reply #11 on: July 29, 2002, 12:44:15 PM »
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

Brian Barber

Re: Test internet access doesn''t work
« Reply #12 on: July 29, 2002, 07:57:55 PM »
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

Thomas Pollaert

Re: Test internet access doesn''t work
« Reply #13 on: July 30, 2002, 12:44:46 PM »
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

Brian Barber

Re: Test internet access doesn''t work
« Reply #14 on: July 30, 2002, 09:18:17 PM »
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