On Tue, 2010-07-06 at 08:13 +0200, Roger Oberholtzer wrote:
On Mon, 2010-07-05 at 20:35 +0200, Markus Koßmann wrote:
Am Montag, 5. Juli 2010 schrieb Roger Oberholtzer:
I have been trying to get mobile broadband working on my laptop. I tried openSUSE11.2, and now 11.3. I have a certain amount of success. But no final joy. I suspect it is my lack of knowledge that is the problem here.
I am trying to use a Swedish service called "Comviq Surf" that provides a USB modem. It is a per-day/week/month service, similar to what you get in hotels for wireless. The modem is (from lsusb):
idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1001 E620 USB Modem bcdDevice 0.00 iManufacturer 2 HUAWEI Technology iProduct 1 HUAWEI Mobile
Bit of progress with 11.3. I can now get a connection with wvdial. I
just plugged in the modem, edited /etc/wvdial.conf, and ran wvdial. I
get an IP address, and I think a gateway. But nothing seems to work. I
cannot ping the gateway. Maybe the gateway does not support pings. But
nothing I tried worked. I am not sure the DNS is correct. But I am
trying pinging with IP addresses. Just in case the ISP is blocking
everything until I log in, I tried the web. Nothing. Of course, I am
assuming that a web login is used here...
I can taste the solution...
For those who are interested in these things, here are the various files
and what things look like. Note this is not using (K)NetworkManager, as
that seems a dead end at this time.
# cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = *99#
Username = me
Password = you
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
# 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
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Jul 21 19:32:48 2010
--> Pid of pppd: 8457
--> Using interface ppp0
--> pppd: [18]�[06][08]
--> pppd: [18]�[06][08]
--> pppd: [18]�[06][08]
--> pppd: [18]�[06][08]
--> pppd: [18]�[06][08]
--> pppd: [18]�[06][08]
--> local IP address 83.185.43.193
--> pppd: [18]�[06][08]
--> remote IP address 10.64.64.64
--> pppd: [18]�[06][08]
--> primary DNS address 130.244.127.161
--> pppd: [18]�[06][08]
--> secondary DNS address 130.244.127.169
--> pppd: [18]�[06][08]
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect
--> pppd: [18]�[06][08]
# ip addr:
5: ppp0: