]> pere.pagekite.me Git - homepage.git/blob - blog/draft/2010-07-05-usb-modem.txt
Generated.
[homepage.git] / blog / draft / 2010-07-05-usb-modem.txt
1 Title: Setting up a 3G USB modem for Netcom
2 Tags: english, nuug, debian edu, debian
3 Date: 2010-07-03 23:55
4
5 <p>A few days ago, a friend of mine borrowed me a USB mobile modem to
6 see if I got it working. It included a subscription with the Netcom
7 mobile phone company here in Norway, with a
8 <a href="https://netcom.no/mobiltbredband/fribruk.html">capped fixed
9 prize agreement</a>. NOK 250,- per month and bandwidth redused from
10 up to 2.0 Mbit/s to 200 Kbit/s after downloading more than 5 GB per
11 month.</p>
12
13 <p>The modem was supposed to work with Linux, which was the reason I
14 got it. I am wondering if I should get such modem myself for use when
15 we are in our mountain cabin, and wanted to check it out first.</p>
16
17 <p>I first tried to get it working with Debian Lenny, but as the modem
18 is the kind that need to change mode from storage device to modem
19 device to work (a trick to feed driver into windows boxes without any
20 extra driver disk), and the tools to change the mode (usb-modeswitch)
21 is missing in Debian Lenny, this was not going to work.
22
23 downloaded 2.1 GB in 24 hours with our normal use pattern.
24
25 Number: *99#
26 Username: netcom (anything goes?)
27 Password: netcom (anything goes?)
28
29 APN: internet.netcom.no (or internet, the netcom.no part is implicit)
30 Pin: 3005
31
32 https://netcom.no/bedrift/kundeservice/abonnement-og-tjenester/veiledninger/mobiltbredband.html
33
34 http://linux1.no/forum/viewtopic.php?f=217&t=222869
35
36 http://www.linuxforen.de/forums/showthread.php?t=261358
37
38 http://www.jroller.com/bantunes/
39
40
41 root@localhost:~# cat /etc/wvdial.conf
42 [Dialer Defaults]
43 Modem = /dev/ttyUSB3
44 Baud = 460800
45 Init2 = AT+CPIN=<pin>
46 Init1 = ATZ
47 Init3 = ATQ0 V1 E1 S0=0 &C1 &D2
48 Init4 = AT+CGDCONT=1,"IP","internet.netcom.no"
49 Modem Type = Analog Modem
50 ISDN = 0
51 Baud = 460800
52 Dial Attempts = 1
53 Username = internet
54 Password = internet
55 Phone = *99#
56 Stupid Mode = 1
57 root@localhost:~#
58
59
60 root@localhost:~# cat /etc/wvdial.conf
61 [Dialer Defaults]
62 Modem = /dev/ttyUSB3
63 Baud = 460800
64 Modem Type = Analog Modem
65 ISDN = 0
66 Baud = 460800
67 Dial Attempts = 1
68 Username = internet
69 Password = internet
70 Phone = *99#
71 Stupid Mode = 1
72 #Init1 = AT+CPIN=3005
73 Init2 = ATZ
74 Init3 = AT&F &D2 &C1
75 Init4 = ATS7=60 S30=0 S0=0
76 Init5 = AT+CGDCONT=1,"IP","internet.netcom.no"
77 root@localhost:~#
78
79 /usr/share/mobile-broadband-provider-info/serviceproviders.xml
80 <provider>
81 <name>Netcom</name>
82 <gsm>
83 <network-id mcc="242" mnc="02"/>
84 <apn value="internet.netcom.no">
85 <username>netcom</username>
86 <password>netcom</password>
87 <dns>212.169.123.67</dns>
88 <dns>212.45.188.254</dns>
89 </apn>
90 </gsm>
91 </provider>