Skocz do zawartości

Fedora 10 - Problem Z Połączeniem Do Playa Przez Huawei E220


JozekW

Rekomendowane odpowiedzi

Korzystam z modemu Huawei E220 w sieci PLAY. Działa poprawnie w Fedorze 9 na laptopie (i386), ale mam problem na Fedorze 10 (x86_64). Używam następujących plików konfiguracyjnych:

 

[root@localhost ~]# cat /etc/wvdial.conf 

[Dialer Defaults]

Phone = *99#
Username = any
Password = any
Stupid Mode = 1

SetVolume = 0 
Dial Command = ATDT
FlowControl = NOFLOW

[Dialer hsdpa]

Modem = /dev/ttyUSB0
Baud = 460800
#Init1 = AT+CPIN={tutaj PIN karty, UWAGA ! Nie musisz w telefonie wyłączać żądania PIN-u - były takie posty} - UWAGA ! Ta linia musi wystąpić tylko RAZ, jeśli łączenie się nie powiedzie, należy przygotować kolejną sekcję już bez tego pinu !!, albo wyjąć kartę i włożyć ponownie (niepolecane)
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer winda]
Init5 = AT &FE0 V1 X1 &D2 &C1 S0=0
Dial Attempts = 3

[Dialer 384k]

Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

[Dialer 144k]

Init6 = AT+CGEQMIN=1,4,64,144,64,144
Init7 = AT+CGEQREQ=1,4,64,144,64,144

[Dialer 64k]

Init6 = AT+CGEQMIN=1,4,64,64,64,64
Init7 = AT+CGEQREQ=1,4,64,64,64,64

 

[root@localhost ~]# cat /etc/ppp/peers/wvdial
plugin passwordfd.so
noauth
name wvdial
noipdefault
nomagic
usepeerdns
ipcp-accept-local
ipcp-accept-remote
nomp
noccp
nopredictor1

 

Do uruchomienia internetu wydaję polecenie:

 

[root@localhost ~]# wvdial hsdpa winda

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
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
--> Sending: AT &FE0 V1 X1 &D2 &C1 S0=0
AT &FE0 V1 X1 &D2 &C1 S0=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT 7200000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Mon Dec 29 08:49:00 2008
--> Pid of pppd: 3385
--> Using interface ppp0
--> local  IP address 94.254.212.6
--> remote IP address 10.64.64.64
--> primary   DNS address 10.11.12.13
--> secondary DNS address 10.11.12.14

 

Gdy odpalam to wszystko na laptopie z Fedora 9 i386 to wszystko działa jak trzeba, natomiast na drugim komputerze, gdzie jest Fedora 10 kernel-2.6.27.9-159.fc10.x86_64, lampka modemu świeci światłem ciągłym fioletowym (zalogowany), ale działa tylko ping na 'locat IP'. Pingi na 'remote IP' i inne nie działają. Czy powinienem jeszcze coś skonfigurować? Proszę o pomoc.

---------------

Listingi do 12-15 linijek umieszczaj między znacznikami [code] i [/code], dłuższe niż 15 linii pomiędzy [codebox] i [/codebox] - tak jest czytelniej. Przeczytaj "BB Code Help". WalDo

Odnośnik do komentarza
Udostępnij na innych stronach

Mam pytanie, dlaczego cokolwiek konfigurujesz jak powinnno działać bez żadnej konfiguracji przez Network Managera (Auto GSM Connection).

 

Bo nie wiedziałem, że tak można. Dzięki za pomoc. Usunąłem moje pliki konfiguracyjne i użyłem NetworkManager, no i oczywiście zadziałało. Pozdrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

Bo nie wiedziałem, że tak można. Dzięki za pomoc. Usunąłem moje pliki konfiguracyjne i użyłem NetworkManager, no i oczywiście zadziałało. Pozdrawiam

 

Za to chyba najbardziej lubię Network Managera :)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 month later...

Witam

Pozwolicie że się dołączę pod temat. Czy moglibyście mi podpowiedzieć (na podstawie tego logu )czemu nie mogę uzyskać połączenia ?

 

Feb 25 12:35:55 localhost kernel: usb 6-2: new full speed USB device using uhci_hcd and address 2
Feb 25 12:35:55 localhost kernel: usb 6-2: configuration #1 chosen from 1 choice
Feb 25 12:35:55 localhost kernel: usb 6-2: New USB device found, idVendor=12d1, idProduct=1003
Feb 25 12:35:55 localhost kernel: usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 25 12:35:55 localhost kernel: usb 6-2: Product: HUAWEI Mobile
Feb 25 12:35:55 localhost kernel: usb 6-2: Manufacturer: HUAWEI Technologies
Feb 25 12:35:56 localhost kernel: Initializing USB Mass Storage driver...
Feb 25 12:35:56 localhost kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Feb 25 12:35:56 localhost kernel: usbcore: registered new interface driver usb-storage
Feb 25 12:35:56 localhost kernel: USB Mass Storage support registered.
Feb 25 12:35:56 localhost kernel: usb 6-2: USB disconnect, address 2
Feb 25 12:35:56 localhost kernel: usb 6-2: new full speed USB device using uhci_hcd and address 3
Feb 25 12:35:56 localhost kernel: usb 6-2: configuration #1 chosen from 1 choice
Feb 25 12:35:56 localhost kernel: usb-storage: probe of 6-2:1.0 failed with error -5
Feb 25 12:35:56 localhost kernel: usb-storage: probe of 6-2:1.1 failed with error -5
Feb 25 12:35:56 localhost kernel: scsi9 : SCSI emulation for USB Mass Storage devices
Feb 25 12:35:56 localhost kernel: usb 6-2: New USB device found, idVendor=12d1, idProduct=1003
Feb 25 12:35:56 localhost kernel: usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 25 12:35:56 localhost kernel: usb 6-2: Product: HUAWEI Mobile
Feb 25 12:35:56 localhost kernel: usb 6-2: Manufacturer: HUAWEI Technologies
Feb 25 12:35:57 localhost kernel: usbcore: registered new interface driver usbserial
Feb 25 12:35:57 localhost kernel: usbserial: USB Serial support registered for generic
Feb 25 12:35:57 localhost kernel: usbcore: registered new interface driver usbserial_generic
Feb 25 12:35:57 localhost kernel: usbserial: USB Serial Driver core
Feb 25 12:35:57 localhost kernel: usbserial: USB Serial support registered for GSM modem (1-port)
Feb 25 12:35:57 localhost kernel: option 6-2:1.0: GSM modem (1-port) converter detected
Feb 25 12:35:57 localhost kernel: usb 6-2: GSM modem (1-port) converter now attached to ttyUSB0
Feb 25 12:35:57 localhost kernel: option 6-2:1.1: GSM modem (1-port) converter detected
Feb 25 12:35:57 localhost kernel: usb 6-2: GSM modem (1-port) converter now attached to ttyUSB1
Feb 25 12:35:57 localhost kernel: usbcore: registered new interface driver option
Feb 25 12:35:57 localhost kernel: option: USB Driver for GSM modems: v0.7.2
Feb 25 12:35:57 localhost NetworkManager: <info>  ttyUSB0: driver is 'option'.
Feb 25 12:35:57 localhost NetworkManager: <info>  Found new Modem device 'ttyUSB0'.
Feb 25 12:35:57 localhost NetworkManager: <info>  (ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0
Feb 25 12:36:01 localhost NetworkManager: <info>  (ttyUSB0): device state change: 1 -> 2
Feb 25 12:36:01 localhost NetworkManager: <info>  (ttyUSB0): deactivating device (reason: 2).
Feb 25 12:36:01 localhost NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
Feb 25 12:36:01 localhost NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed
Feb 25 12:36:01 localhost NetworkManager: <info>  (ttyUSB0): device state change: 2 -> 3
Feb 25 12:36:01 localhost kernel: scsi 9:0:0:0: CD-ROM			HUAWEI   Mass Storage	 2.31 PQ: 0 ANSI: 2
Feb 25 12:36:01 localhost kernel: sr1: scsi-1 drive
Feb 25 12:36:01 localhost kernel: sr 9:0:0:0: Attached scsi generic sg2 type 5
Feb 25 12:36:53 localhost NetworkManager: <info>  Activation (ttyUSB0) starting connection 'Automatyczne poĹ?Ä?czenie komĂłrkowe GSM'
Feb 25 12:36:53 localhost NetworkManager: <info>  (ttyUSB0): device state change: 3 -> 4
Feb 25 12:36:53 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Feb 25 12:36:53 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Feb 25 12:36:53 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Feb 25 12:36:53 localhost NetworkManager: <info>  (ttyUSB0): powering up...
Feb 25 12:36:54 localhost NetworkManager: <info>  Registered on Home network
Feb 25 12:36:54 localhost NetworkManager: <info>  Associated with network: +COPS: 0,0,"",2
Feb 25 12:36:54 localhost NetworkManager: <info>  Connected, Woo!
Feb 25 12:36:54 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled...
Feb 25 12:36:54 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting...
Feb 25 12:36:54 localhost NetworkManager: <info>  (ttyUSB0): device state change: 4 -> 5
Feb 25 12:36:54 localhost NetworkManager: <info>  Starting pppd connection
Feb 25 12:36:54 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete.
Feb 25 12:36:54 localhost pppd[2675]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Feb 25 12:36:54 localhost kernel: PPP generic driver version 2.4.2
Feb 25 12:36:54 localhost kernel: NET: Registered protocol family 10
Feb 25 12:36:54 localhost kernel: lo: Disabled Privacy Extensions
Feb 25 12:36:54 localhost kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Feb 25 12:36:54 localhost kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Feb 25 12:36:54 localhost pppd[2675]: pppd 2.4.4 started by root, uid 0
Feb 25 12:36:54 localhost pppd[2675]: Using interface ppp0
Feb 25 12:36:54 localhost pppd[2675]: Connect: ppp0 <--> /dev/ttyUSB0
Feb 25 12:36:54 localhost NetworkManager: <info>  (ttyUSB0): device state change: 5 -> 6
Feb 25 12:36:54 localhost pppd[2675]: CHAP authentication succeeded
Feb 25 12:36:54 localhost pppd[2675]: CHAP authentication succeeded
Feb 25 12:36:54 localhost NetworkManager: <info>  (ttyUSB0): device state change: 6 -> 7
Feb 25 12:36:54 localhost kernel: PPP Deflate Compression module registered
Feb 25 12:37:01 localhost pppd[2675]: Could not determine remote IP address: defaulting to 10.64.64.64
Feb 25 12:37:01 localhost pppd[2675]: local  IP address 89.108.219.112
Feb 25 12:37:01 localhost pppd[2675]: remote IP address 10.64.64.64
Feb 25 12:37:01 localhost pppd[2675]: primary   DNS address 10.11.12.13
Feb 25 12:37:01 localhost pppd[2675]: secondary DNS address 10.11.12.14
Feb 25 12:37:01 localhost NetworkManager: <info>  PPP manager(IP Config Get) reply received.
Feb 25 12:37:01 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP Configure Get) scheduled...
Feb 25 12:37:01 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP Configure Get) started...
Feb 25 12:37:01 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) scheduled...
Feb 25 12:37:01 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 4 of 5 (IP Configure Get) complete.
Feb 25 12:37:01 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) started...
Feb 25 12:37:03 localhost NetworkManager: <info>  (ttyUSB0): device state change: 7 -> 8
Feb 25 12:37:03 localhost NetworkManager: <info>  Policy set 'Automatyczne poĹ?Ä?czenie komĂłrkowe GSM' (ppp0) as default for routing and DNS.
Feb 25 12:37:03 localhost NetworkManager: <info>  Activation (ttyUSB0) successful, device activated.
Feb 25 12:37:03 localhost NetworkManager: <info>  Activation (ttyUSB0) Stage 5 of 5 (IP Configure Commit) complete.
Feb 25 12:37:32 localhost NetworkManager: <info>  (ttyUSB0): device state change: 8 -> 3

 

Będę niezmiernie wdzięczny za pomoc.

 

Orrik

 

// ============ edit ============ exbros ============

... dla dlugich listingow stosuj znaczniki [ codebox ] zamiast [ code ]

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...