Ahoj vsichni, jsem take zacatecnik v Linuxu
. Na notebooku mam Ubuntu 7.0.4 a Fedoru 6, pricemz chci pouzivat primarni system Ubuntu. Jelikoz ze srdce nesnasim Windows, chci je na desktopu uplne opustit. Mam samozrejme 4G kombi kartu od T-mobile
Na instalaci driveru jsem pouzil original neopatchovane drivery od T-mobile, a pomoci "export KERNELDIR", "make" a "make install" je nainstaloval. Karta po zasunuti hlasi toto:
Apr 23 11:04:18 ptl kernel: [ 4427.796000] pccard: PCMCIA card inserted into slot 0
Apr 23 11:04:18 ptl kernel: [ 4427.796000] pcmcia: registering new device pcmcia0.0
Apr 23 11:04:18 ptl kernel: [ 4427.796000] ipwireless_cs: Card type V2/V3
Apr 23 11:04:18 ptl kernel: [ 4427.796000] ipwireless_cs: I/O ports 0xc100-0xc101, irq 3
Apr 23 11:04:18 ptl kernel: [ 4427.796000] ipwireless_cs: attr memory 0xfe292000-0xfe292fff, common memory 0xfe291000-0xfe291fff
Apr 23 11:04:18 ptl kernel: [ 4427.796000] ipwireless_cs: registering modem device ttyIPWp0
Apr 23 11:04:18 ptl kernel: [ 4427.796000] ipwireless_cs: registering monitor device ttyIPWp8
Apr 23 11:04:18 ptl kernel: [ 4427.796000] ipwireless_cs: waiting for card to start up...
Apr 23 11:04:39 ptl kernel: [ 4448.800000] ipwireless_cs: card is ready.
Pak jsem vytvoril ppp pripojeni dle tohoto navodu:
Konfigurace PPP
Nutný je balík ppp a doporucuji i pppconfig, který je dobré pouzit pro konfiguraci PPP.
Up to date parametry pro konfiguraci naleznete na této stránce. Zde uvádím ty, platné k 15.2.2006.
Konfiguraci popíši pomocí pppconfig. Výsledné konfiguraèní soubory uvádím pro kontrolu a pro ty, kteří nemají možnost použít pppconfig.
1) vytvoøte nové spojení
2) jméno providera jakékoliv, napøíklad tmobile4g
3) vyberte statické DNS
4) primární DNS 62.141.0.1
5) sekundární 213.162.65.1
6) autentizace CHAP
7) uivatel gprs // není potøeba se znepokojovat, budete pouívat 3G
heslo gprs
9) rychlost portu je 230400
10) tónová volba
11) èíslo *99#
12) vyberte ne, chceme zadat port ruènì
13) port /dev/ttyIPWp0
14) zapsat zmìny
Do souboru /etc/chatscripts/
pøidejte øádku:
OK AT+CGDCONT=1,"PPP","internet.t-mobile.cz","0,0",0,0
---------------------
Pri snaze se pripojit pomoci "pon tmobile4g" dostanu tento vypis:
Apr 23 11:23:30 ptl pppd[8756]: pppd 2.4.4 started by root, uid 0
Apr 23 11:23:31 ptl chat[8758]: abort on (BUSY)
Apr 23 11:23:31 ptl chat[8758]: abort on (NO CARRIER)
Apr 23 11:23:31 ptl chat[8758]: abort on (VOICE)
Apr 23 11:23:31 ptl chat[8758]: abort on (NO DIALTONE)
Apr 23 11:23:31 ptl chat[8758]: abort on (NO DIAL TONE)
Apr 23 11:23:31 ptl chat[8758]: abort on (NO ANSWER)
Apr 23 11:23:31 ptl chat[8758]: abort on (DELAYED)
Apr 23 11:23:31 ptl chat[8758]: send (AT^M)
Apr 23 11:23:31 ptl chat[8758]: expect (OK)
Apr 23 11:23:31 ptl chat[8758]: ^M
Apr 23 11:23:31 ptl chat[8758]: OK
Apr 23 11:23:31 ptl chat[8758]: -- got it
Apr 23 11:23:31 ptl chat[8758]: send (AT+CGDCONT=1,"PPP","internet.t-mobile.cz","0,0",0,0^M)
Apr 23 11:23:32 ptl chat[8758]: expect (OK)
Apr 23 11:23:32 ptl chat[8758]: ^M
Apr 23 11:23:32 ptl chat[8758]: ^M
Apr 23 11:23:32 ptl chat[8758]: OK
Apr 23 11:23:32 ptl chat[8758]: -- got it
Apr 23 11:23:32 ptl chat[8758]: send (ATDT*99#^M)
Apr 23 11:23:32 ptl chat[8758]: expect (CONNECT)
Apr 23 11:23:32 ptl chat[8758]: ^M
Apr 23 11:23:32 ptl chat[8758]: AT^M^M
Apr 23 11:23:32 ptl chat[8758]: OK^M
Apr 23 11:23:32 ptl chat[8758]: AT+CGDCONT=1,"PPP","internet.t-mobile.cz","0,0",0,0^M^M
Apr 23 11:23:32 ptl chat[8758]: OK^M
Apr 23 11:23:32 ptl chat[8758]: ATDT*99#^M^M
Apr 23 11:23:32 ptl chat[8758]: CONNECT
Apr 23 11:23:32 ptl chat[8758]: -- got it
Apr 23 11:23:32 ptl chat[8758]: send (\d)
Apr 23 11:23:33 ptl pppd[8756]: Serial connection established.
Apr 23 11:23:33 ptl pppd[8756]: Using interface ppp0
Apr 23 11:23:33 ptl pppd[8756]: Connect: ppp0 <--> /dev/ttyIPWp0
Apr 23 11:23:33 ptl pppd[8756]: CHAP authentication succeeded: TTP Com PPP - Password Verified OK
Apr 23 11:23:33 ptl pppd[8756]: CHAP authentication succeeded
Apr 23 11:23:34 ptl pppd[8756]: local IP address 172.24.123.172
Apr 23 11:23:34 ptl pppd[8756]: remote IP address 10.0.0.1
-----------
kdyz pouziju treba ping na nejakou vnejsi IP adresu, dostanu odpoved:
Unsupported protocol 0x7eff received
Nevite, co mam blbe??? Kdybych chtel pouzit drivery od pana Kosiny, musim ovladace z jadra nejak odinstalovat nebo staci pouzit stejny postup jen s jinymi ovladaci? Dekuju za pomoc!!! A sorry za dlouhej prispevek.
Jo, jadro na Ubuntu ma 2.6.20-15.