LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Dial Up Internet in China only works with XP (https://www.linuxquestions.org/questions/linux-networking-3/dial-up-internet-in-china-only-works-with-xp-236535/)

elevel 09-29-2004 02:35 AM

Dial Up Internet in China only works with XP
 
Hello,

at the moment I'm staying in China. So far all efforts connecting the internet under Linux with the build in modem of my laptop failed. Using XP I have no problem to connect (Number, Login, Passwort: 16300 ).

I am sure that the modem is set up fine, as I could use it back in Germany. I dont know what the problem is, but it seems that I can dial to the provider but something during the handshake fails. (Even when I use Minicom I don't get more than the usual funny sounds bevore the connection should start). I googled around but I could not find any hints. Maybe trying an other provider would help but I also could not find any appropriate, up to date webpage about internet by call providers in China.

Has anyone an idea, or even better succesfull experience with internet by call in China?

Cheers
Sebastian

ps.: As I always have to boot XP to check my mails it might take 20-40 hrs for me to reply to any postings. I'm sorry about that, so please be paitient.

rjlee 09-29-2004 03:29 AM

What type of modem do you have? Is it hardware or firmware-driven (linmodem)? (Tip: it might tell you if you run /sbin/lspci)

You probably need to pass an initiallisation string to the modem. In XP, You can turn on a modem setting to create a log-file when you connect; if you do this and you can find the log, then you can read the AT… strings that it's using. Try typing those in in Minicom prior to the ATDT… and see what happens.

elevel 09-29-2004 05:06 AM

Well the modem is a linmodem (Agere Systems AC`97), but I think it is installed correctly as it worked well in Germany. From listening to the speaker output the modem can dial out well.

09-30-2004 15:42:23.226 - Modem initialisieren
09-30-2004 15:42:23.236 - Senden: AT<cr>
09-30-2004 15:42:23.236 - Empfangen: <cr><lf>OK<cr><lf>
09-30-2004 15:42:23.236 - Interpretierte Antwort: OK
09-30-2004 15:42:23.246 - Senden: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
09-30-2004 15:42:23.256 - Empfangen: <cr><lf>OK<cr><lf>
09-30-2004 15:42:23.256 - Interpretierte Antwort: OK
09-30-2004 15:42:23.266 - Senden: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X4<cr>
09-30-2004 15:42:23.266 - Empfangen: <cr><lf>OK<cr><lf>
09-30-2004 15:42:23.266 - Interpretierte Antwort: OK
09-30-2004 15:42:23.266 - Wählen
09-30-2004 15:42:23.276 - Senden: ATDT###,,,#############,#####,######<cr>

So if I understand you right you think it might make a Difference when I sent AT &F E0 &C1 &D2 V1 S0=0\V1 and then ATS7=60S30=0L0M1\N3%C1&K3N1\J1X4 bevore I dial (send ATDT,...)?

So I will try this now. Thanks for your Post anyway

elevel 09-30-2004 02:56 AM

get connected now
 
Hi, after playing around with minicom last night, I now can connect and log in.
--------------
ATDT201,,,920019116511#,7239#,16300#
CONNECT 52000

*********************************
* Quidway A8010 Internet Server *
* welcome!! *
*********************************
please input username:16300
please input password:*****
Entering PPP mode.
Async interface address is unnumbered(Ethernet0)
Header compression will match your system.
Your IP address is: 218.78.176.65 MTU is 1500 bytes
~?}#.!}!}$}....
----------------------
A) What do I have to do now to set up the ppp connection?
(I can not ping out yet)

or
B) An other option might be to set the connection time out from wvdial or pon to 90 seconds. Using minicom the whole connection procedure takes about 76 seconds while pon and wvdial already give up after around 48 seconds.
So do you have an idea where I can set the time out to 90 seconds? (I could not find such an entry in /etc/wvdial.conf or /etc/ppp/)

rjlee 10-08-2004 07:18 PM

I don't remember the answers to those questions off-hand but I'm pretty sure they're covered in the dialup-howto on www.tldp.org


All times are GMT -5. The time now is 09:00 PM.