Mailinglist Archive: opensuse (1815 mails)

< Previous Next >
Re: [opensuse] Mobile broadband
  • From: Roger Oberholtzer <roger@xxxxxx>
  • Date: Thu, 22 Jul 2010 08:32:18 +0200
  • Message-id: <1279780338.11839.12.camel@xxxxxxxxxxxx>
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: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 3


link/ppp



inet 83.185.43.193 peer 10.64.64.64/32 scope global ppp0

# netstat -r

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 0 lo

# ps -ef | grep ppp

root 9177 9176 0 19:40 pts/3 00:00:00 /usr/sbin/pppd 57600 modem
crtscts defaultroute usehostname -detach user me noipdefault call wvdial
usepeerdns idle 300 logfd 6 passwordfd 7



--
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups