LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2004, 02:35 AM   #1
elevel
LQ Newbie
 
Registered: Sep 2004
Location: Germany
Distribution: debian
Posts: 3

Rep: Reputation: 0
Question 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.
 
Old 09-29-2004, 03:29 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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.
 
Old 09-29-2004, 05:06 AM   #3
elevel
LQ Newbie
 
Registered: Sep 2004
Location: Germany
Distribution: debian
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 09-30-2004, 02:56 AM   #4
elevel
LQ Newbie
 
Registered: Sep 2004
Location: Germany
Distribution: debian
Posts: 3

Original Poster
Rep: Reputation: 0
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/)
 
Old 10-08-2004, 07:18 PM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
debian mirror which works within china changcheh Debian 3 09-09-2005 01:51 AM
Dial-Up Internet cyborg101010 Linux - Hardware 3 02-12-2005 11:13 AM
Installed router, dial-up Internet no longer works. (MDK 9.1) mcarter Linux - Networking 1 09-01-2003 03:18 PM
Dial Up internet bricast Linux - Newbie 1 08-13-2002 08:28 AM
Connection sharing works but cannot dial on demand Chris Pratt Linux - Networking 2 10-16-2001 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration