
Jag har en laptop från LG (LGA1) med inbyggt 3g-modem.
Hur får jag igång modemet

Kod: Markera allt
sudo lshw
Kod: Markera allt
knutas@Magnus:~$ lsusb|grep -i sierra
Bus 003 Device 003: ID 1199:6812 Sierra Wireless, Inc. MC8775 Device
Kod: Markera allt
knutas@Magnus:~$ dmesg|grep -i sierra
[ 17.076435] usbserial: USB Serial support registered for Sierra USB modem
[ 17.076473] sierra 3-2:1.0: Sierra USB modem converter detected
[ 17.077286] usb 3-2: Sierra USB modem converter now attached to ttyUSB0
[ 17.077356] usb 3-2: Sierra USB modem converter now attached to ttyUSB1
[ 17.077423] usb 3-2: Sierra USB modem converter now attached to ttyUSB2
[ 17.077445] usbcore: registered new interface driver sierra
[ 17.077448] sierra: USB Driver for Sierra Wireless USB modems: v.1.3.2
[15666.812401] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
[15666.812548] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
[15666.812692] sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2
[15666.812706] sierra 3-2:1.0: device disconnected
[15672.318140] sierra 3-2:1.0: Sierra USB modem converter detected
[15672.320247] usb 3-2: Sierra USB modem converter now attached to ttyUSB0
[15672.320363] usb 3-2: Sierra USB modem converter now attached to ttyUSB1
[15672.320479] usb 3-2: Sierra USB modem converter now attached to ttyUSB2
[17192.772415] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
[17192.772555] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
[17192.772687] sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2
[17192.772700] sierra 3-2:1.0: device disconnected
[17198.214152] sierra 3-2:1.0: Sierra USB modem converter detected
[17198.216264] usb 3-2: Sierra USB modem converter now attached to ttyUSB0
[17198.216383] usb 3-2: Sierra USB modem converter now attached to ttyUSB1
[17198.216507] usb 3-2: Sierra USB modem converter now attached to ttyUSB2
[19286.972367] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
[19286.972504] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
[19286.972636] sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2
[19286.972648] sierra 3-2:1.0: device disconnected
[19292.350140] sierra 3-2:1.0: Sierra USB modem converter detected
[19292.352254] usb 3-2: Sierra USB modem converter now attached to ttyUSB0
[19292.352372] usb 3-2: Sierra USB modem converter now attached to ttyUSB1
[19292.352489] usb 3-2: Sierra USB modem converter now attached to ttyUSB2
knutas@Magnus:~$
Kod: Markera allt
Oct 23 19:37:26 Magnus pppd[20519]: pppd 2.4.4 started by knutas, uid 1000
Oct 23 19:37:26 Magnus pppd[20519]: using channel 14
Oct 23 19:37:26 Magnus pppd[20519]: Using interface ppp0
Oct 23 19:37:26 Magnus pppd[20519]: Connect: ppp0 <--> /dev/ttyUSB0
Oct 23 19:37:26 Magnus pppd[20519]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x17875614> <pcomp> <accomp>]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [LCP ConfReq id=0x18 <asyncmap 0x0> <auth chap MD5> <magic 0x10d507b> <pcomp> <accomp>]
Oct 23 19:37:26 Magnus pppd[20519]: sent [LCP ConfNak id=0x18 <auth pap>]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x17875614> <pcomp> <accomp>]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [LCP ConfReq id=0x19 <asyncmap 0x0> <auth pap> <magic 0x10d507b> <pcomp> <accomp>]
Oct 23 19:37:26 Magnus pppd[20519]: sent [LCP ConfAck id=0x19 <asyncmap 0x0> <auth pap> <magic 0x10d507b> <pcomp> <accomp>]
Oct 23 19:37:26 Magnus pppd[20519]: sent [LCP EchoReq id=0x0 magic=0x17875614]
Oct 23 19:37:26 Magnus pppd[20519]: sent [PAP AuthReq id=0x1 user="3G" password=<hidden>]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [LCP DiscReq id=0x1a magic=0x10d507b]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [LCP EchoRep id=0x0 magic=0x10d507b 17 87 56 14]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [PAP AuthAck id=0x1 ""]
Oct 23 19:37:26 Magnus pppd[20519]: PAP authentication succeeded
Oct 23 19:37:26 Magnus pppd[20519]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Oct 23 19:37:26 Magnus pppd[20519]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Oct 23 19:37:26 Magnus pppd[20519]: rcvd [LCP ProtRej id=0x1b 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Oct 23 19:37:26 Magnus pppd[20519]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Oct 23 19:37:27 Magnus pppd[20519]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 23 19:37:27 Magnus pppd[20519]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 23 19:37:27 Magnus pppd[20519]: Hangup (SIGHUP)
Oct 23 19:37:27 Magnus pppd[20519]: Modem hangup
Oct 23 19:37:27 Magnus pppd[20519]: Connection terminated.
Oct 23 19:37:27 Magnus pppd[20519]: Exit.
Kod: Markera allt
knutas@Magnus:~$ pppd call gsm
Starting Sierra Wireless GSM connect script...
Setting the abort string
Initializing modem
AT point
Setting APN
Dialing...
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x44f9e778> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x20 <asyncmap 0x0> <auth chap MD5> <magic 0x51c9a81> <pcomp> <accomp>]
sent [LCP ConfNak id=0x20 <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x44f9e778> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x21 <asyncmap 0x0> <auth pap> <magic 0x51c9a81> <pcomp> <accomp>]
sent [LCP ConfAck id=0x21 <asyncmap 0x0> <auth pap> <magic 0x51c9a81> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x44f9e778]
sent [PAP AuthReq id=0x1 user="Magnus" password=<hidden>]
rcvd [LCP DiscReq id=0x22 magic=0x51c9a81]
rcvd [LCP EchoRep id=0x0 magic=0x51c9a81 44 f9 e7 78]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x23 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0xa]
sent [IPCP ConfNak id=0xa <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x3 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
rcvd [IPCP ConfReq id=0xb]
sent [IPCP ConfAck id=0xb]
rcvd [IPCP ConfNak id=0x4 <addr 90.235.162.228> <ms-dns1 195.67.199.27> <ms-dns3 195.67.199.28>]
sent [IPCP ConfReq id=0x5 <addr 90.235.162.228> <ms-dns1 195.67.199.27> <ms-dns3 195.67.199.28>]
rcvd [IPCP ConfAck id=0x5 <addr 90.235.162.228> <ms-dns1 195.67.199.27> <ms-dns3 195.67.199.28>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing existing default route via 192.168.0.254
Cannot determine ethernet address for proxy ARP
local IP address 90.235.162.228
remote IP address 10.64.64.64
primary DNS address 195.67.199.27
secondary DNS address 195.67.199.28
Script /etc/ppp/ip-up started (pid 7686)
Script /etc/ppp/ip-up finished (pid 7686), status = 0x0
Kod: Markera allt
sudo nano /etc/resolv.conf
Kod: Markera allt
nameserver xxx.xxx.xxx.xxx