LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Connecting to the Internet in Slackware and Redhat (https://www.linuxquestions.org/questions/linux-general-1/connecting-to-the-internet-in-slackware-and-redhat-15774/)

php 03-07-2002 02:19 PM

Connecting to the Internet in Slackware and Redhat
 
I have an external actiontec 56k analog modem hooked up to my serial, com 2. (ttys1 in slackware) In slackware I use pppsetup, ppp-go in xterm to dial into the internet. For some reason the kppp wont dial into the internet. When I try to connect, the lights on the front of the modem blink and it just says "initializing modem.." and never dials in. There is no dummy switch on the modem, so thats not the problem. When I went to use redhat I no longer had the pppsetup/ppp-go commands, as it wasn't installed. Does anyone know why my modem just sits and wont dial with kppp?

kill-hup 03-08-2002 09:15 AM

Never used kppp, sorry, but is there any info in your system logs (like /var/log/messages)? It is possible that the kppp program is not sending your modem the proper initialization string, causing it to be forever "initializing".

You can also download the Slackware PPP utils from http://distro.ibiblio.org/pub/Linux/.../source/n/ppp/ and install them on your system from source, if you feel more comfortable working with them.

linuxfond 04-05-2003 05:35 PM

same problem in mdk9.0
 
I have the same problem in Mandrake 9.0 wich I have on two boxes - desktop and a laptop Acer TravelMate 800LCi.

Interesting, that modem is not shown in the hardware list...

Step by step:

1. start kppp
2. Setup -> Device
/dev/modem/
Flow Control None
Line termination CR/LF

3. Setup -> Modem -> Query Modem

modem found, and it responds (?); modem query results show an empty table (ATI: ATI1 etc through ATI7: )

4. Start Connecting:
Initializing Modem....
displayed forever, but dialing doesn't start.

Log displays: Expecting: OK, but no error messages or whatsoever can be seen.


Any comments?
Thanks,
linuxfond

Thetargos 04-05-2003 11:38 PM

What version of redhat? in redhat if, and only if you have gnome you can use the rp3 applet to initialize your modem, connect to the internet, interrupt the connection, setup your networking environment, etc, etc. I do not like KDE much (reminds me of a Redmond OS-*shivers*). Anyway you can also use kppp, though you need to configure it well before it would ever dial out, double check, tripple check your config.

linuxfond 04-06-2003 03:14 AM

Thanks for your reply. I use mandrake 9.0.

There is no rp3, but there is gnome-ppp. In Gnome-ppp I have different symptoms: Error: Your modem is not responding to initialization.
I tried ATZ as a default initialization string, and AT&F as recommended initialization string. None helped.

My modem is all-in-one, an internal laptop Intel PRO/Wireless 2100 (802.11b WLAN), 10/100 Ethernet, 56 Kbps V.92 Modem.

Of course, before I typed my post I tripple checked my config, but I will do it again as it is obviously necessary.

With kppp shell returns no complaints. All seems to be OK, except that the modem never starts to dial.

Rgds,
L

farhan 04-06-2003 03:27 AM

same problem happened to me r u sure that ur mdoem is fine and in working condition.
try to pick up the tel line while dialling the ISP no#
i was avle to connect by this trick ... it don tmake any logic but it happened

linuxfond 04-06-2003 04:53 AM

This certainly doesn't help me.

Does any one know what is the problem? Why kppp doesn't complain about initialization of the modem and gnome-ppp does?

What the /etc/ppp/options file should look like? I don't know if I should leave it empty, or write something in.

Vlad_M 04-06-2003 01:12 PM

I used to have all those problems, then I switched to wvdial, and the problems disappeared. The GUI frontends always were shit when trying to initialize modems...

linuxfond 04-06-2003 03:23 PM

what is so different about vwdial? what are limitations and bugs?
BTW, I upgraded to Mdk 9.1 on my laptop, and Ethernet now works no problem. It's just that problem of Internet and only with that damn modem; ADSL is no problem, but I don't travel with ADSL... Many thanks

Vlad_M 04-06-2003 05:36 PM

There are no limitations and no bugs that i have encountered. It is a command line utility that dials you up and logs you in and starts pppd.

linuxfond 04-07-2003 02:52 AM

Thanks, I will try it.

linuxfond 04-07-2003 03:41 AM

Looks proomising, but...

I run:
# wvdialconf /etc/wvdial.conf

Scanning your serial ports for a modem.

ttySO(*1): ATQO V1 E1 -- failed with 2400 baud, next try: 4800 baud
etc
etc
etc
the last line tells:
ttySO(*1): ATQO V1 E1 -- and failed too at 115200, giving up.

Sorry, no modem was detected. Is it in use by another program?
Did you configure i prroperly with setserial?

Please, read the FAQ bla bla bla...

OK, here we go. Why kppp doesn't complain about a modem on ttyS0 or symlink /dev/modem/? Because the modem is there.

Do you know why wvdial doesn't see the modem?
What I know about it is that it is on ttySO, and is not in use by any other programs.

:confused:

Thetargos 04-07-2003 07:01 PM

Have you done a setserial (as vwdial suggests)? (#setserial ttyS0)

linuxfond 04-08-2003 04:57 AM

yes. the shell tells setserial is not found.

Thetargos 04-08-2003 02:09 PM

It should be in your /bin directory, search it there.


All times are GMT -5. The time now is 01:23 AM.