Mobilt bredbånd: Modem device forsvinder periodisk

Spørgsmål eller problemer med kablet netværk, trådløst netværk, netværkshåndteringen eller andet som vedrører netværk.
aftenbakke
Indlæg: 3
Tilmeldt: 14. jun 2011, 21:32

Mobilt bredbånd: Modem device forsvinder periodisk

Indlæg af aftenbakke »

Hej

Jeg kører Ubuntu 11.04 på en laptop med et internt 3g modem, Qualcomm Gobi 2000 og har fulgt guiden her for at få det til at virke. Så vidt jeg forstår det, bruger gobi_loader en usb-device til at loade firmwaren, hvorefter denne device "skiftes ud" med en anden og associeres med ttyUSBx, der herefter overtager som modem - men jeg må indrømme, at jeg ikke er 100% spids på, hvad der helt præcist sker.

Jeg kan sagtens oprette forbindelse til min udbyder, og det kører sådan set rigtig fint. Problemet er, at modemet med uregelmæssige mellemrum (alt fra 10 minutter til en time; der er tilsyneladende ikke noget mønster) forsvinder og dukker op igen, hvilket selvfølgelig resulterer i, at forbindelsen ryger og skal genoprettes. Devicen forsvinder ved 21:20:56 i nedenstående klip fra /var/log/syslog og "vender tilbage" ved 21:21:21:

Kode: Vælg alt

Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) starting connection '3 Bredbånd (standard) 1'
Jun 14 21:16:09 laptop NetworkManager[816]: <info> (ttyUSB1): device state change: 3 -> 4 (reason 0)
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) scheduled...
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) started...
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) complete.
Jun 14 21:16:09 laptop NetworkManager[816]: <info> WWAN now enabled by management service
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) scheduled...
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) starting...
Jun 14 21:16:09 laptop NetworkManager[816]: <info> (ttyUSB1): device state change: 4 -> 5 (reason 0)
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) successful.
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) scheduled.
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 2 of 5 (Device Configure) complete.
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) started...
Jun 14 21:16:09 laptop NetworkManager[816]: <info> (ttyUSB1): device state change: 5 -> 7 (reason 0)
Jun 14 21:16:09 laptop NetworkManager[816]: <info> starting PPP connection
Jun 14 21:16:09 laptop NetworkManager[816]: <info> pppd started with pid 8213
Jun 14 21:16:09 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 3 of 5 (IP Configure Start) complete.
Jun 14 21:16:09 laptop NetworkManager[816]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jun 14 21:16:09 laptop NetworkManager[816]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Jun 14 21:16:13 laptop NetworkManager[816]: <info> PPP manager(IP Config Get) reply received.
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 4 of 5 (IP4 Configure Get) started...
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Scheduling stage 5
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 5 of 5 (IP Configure Commit) scheduled...
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Done scheduling stage 5
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 4 of 5 (IP4 Configure Get) complete.
Jun 14 21:16:13 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 5 of 5 (IP Configure Commit) started...
Jun 14 21:16:14 laptop NetworkManager[816]: <info> (ttyUSB1): device state change: 7 -> 8 (reason 0)
Jun 14 21:16:14 laptop NetworkManager[816]: <info> Policy set '3 Bredbånd (standard) 1' (ppp0) as default for IPv4 routing and DNS.
Jun 14 21:16:14 laptop NetworkManager[816]: <info> Activation (ttyUSB1) successful, device activated.
Jun 14 21:16:14 laptop NetworkManager[816]: <info> Activation (ttyUSB1) Stage 5 of 5 (IP Configure Commit) complete.
Jun 14 21:20:56 laptop NetworkManager[816]: <info> (ttyUSB1): now unmanaged
Jun 14 21:20:56 laptop NetworkManager[816]: <info> (ttyUSB1): device state change: 8 -> 1 (reason 36)
Jun 14 21:20:56 laptop NetworkManager[816]: <info> (ttyUSB1): deactivating device (reason: 36).
Jun 14 21:20:57 laptop NetworkManager[816]: <info> (ttyUSB1): cleaning up...
Jun 14 21:20:57 laptop NetworkManager[816]: <info> (ttyUSB1): taking down device.
Jun 14 21:20:57 laptop NetworkManager[816]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jun 14 21:20:57 laptop NetworkManager[816]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jun 14 21:21:21 laptop NetworkManager[816]: <warn> (ttyUSB1): failed to look up interface index
Jun 14 21:21:21 laptop NetworkManager[816]: <info> WWAN now disabled by management service
Jun 14 21:21:21 laptop NetworkManager[816]: <info> (ttyUSB1): new GSM device (driver: 'qcserial' ifindex: -1)
Jun 14 21:21:21 laptop NetworkManager[816]: <info> (ttyUSB1): exported as /org/freedesktop/NetworkManager/Devices/11
Jun 14 21:21:21 laptop NetworkManager[816]: <info> (ttyUSB1): now managed
Jun 14 21:21:21 laptop NetworkManager[816]: <info> (ttyUSB1): device state change: 1 -> 2 (reason 2)


lsusb:

Kode: Vælg alt

Bus 002 Device 019: ID 05c6:9205 Qualcomm, Inc.


Nogen bud på, hvad der sker og hvad jeg eventuelt kan stille op?

/Aftenbakke
aftenbakke
Indlæg: 3
Tilmeldt: 14. jun 2011, 21:32

Re: Mobilt bredbånd: Modem device forsvinder periodisk

Indlæg af aftenbakke »

Output fra dmesg fra device disconnect til reconnect. Hvis nogen kan gennemskue, hvad der sker, ville det være en rigtig god begyndelse:

Kode: Vælg alt

[ 4766.478011] usb 2-1.4: USB disconnect, address 12
[ 4766.478366] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[ 4766.478404] qcserial 2-1.4:1.1: device disconnected
[ 4766.478687] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1
[ 4766.478746] qcserial 2-1.4:1.2: device disconnected
[ 4766.478957] qcserial ttyUSB2: Qualcomm USB modem converter now disconnected from ttyUSB2
[ 4766.478996] qcserial 2-1.4:1.3: device disconnected
[ 4766.718368] usb 2-1.4: new high speed USB device using ehci_hcd and address 13
[ 4766.829715] usb 2-1.4: config 1 has an invalid interface number: 1 but max is 0
[ 4766.829721] usb 2-1.4: config 1 has no interface number 0
[ 4766.833251] qcserial 2-1.4:1.1: Qualcomm USB modem converter detected
[ 4766.833384] usb 2-1.4: Qualcomm USB modem converter now attached to ttyUSB0
[ 4770.311367] usb 2-1.4: USB disconnect, address 13
[ 4770.311583] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[ 4770.311617] qcserial 2-1.4:1.1: device disconnected
[ 4771.570015] usb 2-1.4: new high speed USB device using ehci_hcd and address 14
[ 4771.685305] qcserial 2-1.4:1.1: Qualcomm USB modem converter detected
[ 4771.685477] usb 2-1.4: Qualcomm USB modem converter now attached to ttyUSB0
[ 4771.686445] qcserial 2-1.4:1.2: Qualcomm USB modem converter detected
[ 4771.686600] usb 2-1.4: Qualcomm USB modem converter now attached to ttyUSB1
[ 4771.687305] qcserial 2-1.4:1.3: Qualcomm USB modem converter detected
[ 4771.687500] usb 2-1.4: Qualcomm USB modem converter now attached to ttyUSB2
soundpartner
Indlæg: 3461
Tilmeldt: 27. sep 2008, 23:51
IRC nickname: sound
Geografisk sted: København

Re: Mobilt bredbånd: Modem device forsvinder periodisk

Indlæg af soundpartner »

jeg har med gobi devices oplevet at de lukker ned når de ikke har været brugt i en periode altså en slaks powersave.
En løsning er at sætte forbindelsen til at conecte automatisk. den vej igennem vil den automatisk reconecte når den hopper af.
Det værende sagt så har jeg rigtig dårlig erfaring med disse gobi2000 kort. Jeg har også et indbygget i min ene 11" maskine, og det har jeg endnu ikke fået til at virke. (har haft 2 tidligere der virkede fint men var "ustabile" som du selv oplever det)
Selvudnævnt guru når det drejer sig om mobilt bredbånd

Webmaster og stifter af:
Billede
Hvor du finder scripts til en hver situation

Billede
aftenbakke
Indlæg: 3
Tilmeldt: 14. jun 2011, 21:32

Re: Mobilt bredbånd: Modem device forsvinder periodisk

Indlæg af aftenbakke »

Det kan godt være, det er en form for powersave - selvom jeg nu synes, jeg oplever det, selvom forbindelsen er aktiv, fx mens en browser er ved at loade en side.

Jeg har også sat den til at autoconnecte, og forsvinder modemet helt, kan jeg manuelt loade firmwaren. Jeg forstår bare ikke, hvorfor det forsvinder og vender tilbage med jævne mellemrum - det er ret irriterende, da der går op til et halvt minut hver gang.