» »

Mobitel Internet

Mobitel Internet

furion ::

Oj,

Ze cel dan se drkam s tem, pa ne gre in ne gre.

Imam nokia 5800XM prek usb na laptopu pa mobitel internet hocem met. Torej mam fedora 12 (linux). Grem lsusb, lepo zazna nokio tk da ni panike.
Potlej dodam kot mobile network v fedorinem network managerju, vse lepo zazna, automatsko doda mobitel, a glej ga zlomka, ne dela (ko hocem connectat faila). Torej se odlocim malo googlat pa najdem wvdialer.

grem su -
wvdialer config

Pol pa gedit /etc/wvdialer.conf
in uredim na tole:
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Phone = *99#
ISDN = 0
Username = mobitel
Init1 = ATZ
Password = internet
Modem = /dev/ttyACM0
Baud = 460800

[Dialer mobitel]
Init1 = AT+CGDCONT=1,"IP","internet"
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = *99#
ISDN = 0
Username = mobitel
Password = internet
Modem = /dev/ttyACM0
Modem Type = USB Modem
Baud = 460800

Vs heppy d bo koncno kej zazenem "wvdial mobitel" pa kurba ne dela:
[root@localhost jan]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Mon Apr 12 22:58:57 2010
--> Pid of pppd: 3357
--> Using interface ppp0
--> pppd: ��_ ��_
--> pppd: ��_ ��_
--> pppd: ��_ ��_
--> pppd: ��_ ��_
--> pppd: ��_ ��_
--> pppd: ��_ ��_
--> Disconnecting at Mon Apr 12 22:59:00 2010
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.


Ce mi lahk kdo pomaga bi bil ful heppy.

furion ::

ta je novejs:
[root@localhost jan]# wvdial mobitel
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Mon Apr 12 23:54:14 2010
--> Pid of pppd: 2008
--> Using interface ppp0
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> Disconnecting at Mon Apr 12 23:54:18 2010
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> PPP negotiation detected.
--> Starting pppd at Mon Apr 12 23:54:27 2010
--> Pid of pppd: 2018
--> Using interface ppp0
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> pppd: ?k?[08]?k?[08]?j?[08]
--> Disconnecting at Mon Apr 12 23:54:31 2010
^CCaught signal 2: Attempting to exit gracefully...
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.

furion ::

Nak pa se to:
[Dialer mobitel2]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","Internet"
Modem = /dev/ttyACM0
Phone = *99#
Username = mobitel
Password = internet
New PPPD = yes
ISDN = no
BAUD = 115200
Stupid Mode = yes
Carrier Check = no

[root@localhost jan]# wvdial mobitel2
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","Internet"
AT+CGDCONT=1,"IP","Internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Apr 13 00:05:42 2010
--> Pid of pppd: 2539
--> Using interface ppp0
--> pppd: [10]
--> pppd: [10]
--> pppd: [10]
--> local IP address 10.203.34.38
--> pppd: [10]
--> remote IP address 10.6.6.6
--> pppd: [10]
--> primary DNS address 213.229.249.161
--> pppd: [10]
--> secondary DNS address 193.189.160.23
--> pppd: [10]

Pol pa nc vec....tu se ustav. WTF?

Zdej pa res vec nc ne stekam

furion ::

/var/log/messages
Apr 13 01:35:41 localhost pppd[4700]: pppd 2.4.5 started by root, uid 0
Apr 13 01:35:41 localhost pppd[4700]: Using interface ppp0
Apr 13 01:35:41 localhost pppd[4700]: Connect: ppp0 /dev/ttyACM0
Apr 13 01:35:42 localhost pppd[4700]: PAP authentication succeeded
Apr 13 01:35:44 localhost pppd[4700]: local IP address 10.203.135.90
Apr 13 01:35:44 localhost pppd[4700]: remote IP address 10.6.6.6
Apr 13 01:35:44 localhost pppd[4700]: primary DNS address 213.229.249.161
Apr 13 01:35:44 localhost pppd[4700]: secondary DNS address 193.189.160.13

Ampak ping www.google.com pa ne dela!!!

Zgodovina sprememb…

  • spremenil: furion ()

x.sci ::

pppd moras zagnat s pravimi switchi, da ti avtomatsko nastavi default gw/DNSe. Poglej z route, ce imas default gw (ce ne, ga nastavi na 10.6.6.6) in pa prava DNSa v resolv.conf.

furion ::

sem...

aja, pa zdej vem zakaj ne dela v network managerju:
http://www.linuxquestions.org/questions...

Zdej sem ze mal obupan

x.sci ::

Ping is your friend. Torej: ping 10.6.6.6, ping 213.229.249.161, ping 193.2.1.66

Ce dela, pastaj resolv.conf, ce ne route -n in ifconfig ppp0.

popster ::

mogoče banalno ampak vseeno: ko sem to delal pod winsi sem vedno rabu poklicat na mobitel za eno posebno komando (mislim da neki AT****)


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

TuŠmobil internet preko računalnika

Oddelek: Pomoč in nasveti
52710 (2623) jl
»

Ubuntu

Oddelek: Operacijski sistemi
303031 (380) Tear_DR0P
»

Kdo (bolje kaj) mi spreminja resolv.conf ?

Oddelek: Operacijski sistemi
102265 (2086) BigWhale
»

[pppoe povezava] Couldn't increase MRU/MTU to 1500

Oddelek: Operacijski sistemi
121756 (1610) NeOman
»

adsl+debian

Oddelek: Omrežja in internet
391513 (1125) Gandalfar

Več podobnih tem