Can't connect using 3g modem...

Hi, everybody.

I’m new on OpenSUSE, but trying hard to learn it. I’m having a hard time trying to make my 3G modem (a ZTE MF622) work with OpenSUSE 11.2. KNetworkManager is recognizing it (so I suppose it’s not on Storage Mode), I can create the 3G connection and connect, but I can’t navigate on any sites (ping gives “unknown host” for any IP). Also, the KNetworkManager applet doesn’t show anything on fields “Name servers” and “Domains” (they are blank). Tried some instructions from the internet here and there, but didn’t have any luck. Could anyone help me out? Thanks in advance.

jbejr wrote:
> Hi, everybody.
>
> I’m new on OpenSUSE, but trying hard to learn it. I’m having a hard
> time trying to make my 3G modem (a ZTE MF622) work with OpenSUSE 11.2.
> KNetworkManager is recognizing it (so I suppose it’s not on Storage
> Mode), I can create the 3G connection and connect, but I can’t navigate
> on any sites (ping gives “unknown host” for any IP). Also, the
> KNetworkManager applet doesn’t show anything on fields “Name servers”
> and “Domains” (they are blank). Tried some instructions from the
> internet here and there, but didn’t have any luck. Could anyone help me
> out? Thanks in advance.
>
Hi,
I have an E160G (which is identified as an E220) Huawei 3G modem and had
similar problems in obtaining a working internet connection (mine would
eventually connect after repeated trys). By holding my mouse over the
connection icon and reading the tooltip info, I worked out that whenever
nameserver ip addresses appeared I was able to get a working connection.

To obtain a permanent working connection, try this workaround:

a). Edit /etc/resolv.conf file (as root) and add (and save) your
required nameserver info in following style:

nameserver 10.176.66.xx
nameserver 10.188.66.xxx

b). An alternative to editing /etc/resolv.conf is to edit (as root)
/etc/sysconfig/network/config file and look for following line and add
you nameserver info as per example:

MODIFY_RESOLV_CONF_STATIC_DNS=“10.176.66.xx 10.188.66.xxx”

I tried both options (they work well) and settled for b. I am far from
an expert but, unless someone informs me of any issues this may cause, I
am pleased with this workaround.

Cheers

PS: If you implement any of these workarounds, don’t bother reading the
nameserver info via the tooltip when mouse is over the active connection
icon, it does not always show the nameserver ips but connection is good.

On 30/11/09 18:53, jmartini wrote:

Slight correction, I was posting out from an openSUSE 11.0
system and it is a different line now controlling the static
nameserevers. The correct section for 11.2 is as below.

> b). An alternative to editing /etc/resolv.conf is to edit (as root)
> /etc/sysconfig/network/config file and look for following line and add
> you nameserver info as per example:
NETCONFIG_DNS_STATIC_SERVERS=“10.176.66.xx 10.188.66.xxx”


/etc/sysconfig/network/config

Type: string

Default: “”

List of DNS nameserver IP addresses to use for host-name lookup.

NETCONFIG_DNS_STATIC_SERVERS=“10.176.66.xx 10.188.66.xxx”

If jmartini’s tweak works, great. If it doesn’t could you try this experiment: Unplug the modem, open a console and run this command
sudo dmesg -c
ignore the output. Then plug the modem in, wait 30 seconds and do nothing while you wait, then run these two commands

  • clear
  • dmesg

post the results here which should show us the respponse of the kernel to your modem and how it’s handling it.

Thanks for your time. Actually I’ve been capable of making the modem connect and navigate through wvdial, changing /etc/resolv.conf, /etc/wvdial.conf. But it’s actually wierd that KNetworkManager still doesn’t work with my modem, although it seems to connect all right. I tried your workaround, but no luck…

Also, here is the output of dmesg, after applying dmesg -c and clear:

dmesg

615.312103] usb 2-1: new full speed USB device using ohci_hcd and address 3
615.502149] usb 2-1: New USB device found, idVendor=19d2, idProduct=2000
615.502185] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
615.502205] usb 2-1: Product: USB ZTE Storage
615.502220] usb 2-1: Manufacturer: Qualcomm, Incorporated
615.502523] usb 2-1: configuration #1 chosen from 1 choice
615.505728] scsi4 : SCSI emulation for USB Mass Storage devices
615.510461] usb-storage: device found at 3
615.510472] usb-storage: waiting for device to settle before scanning
616.519156] scsi 4:0:0:0: CD-ROM ZTE Corp USB Storage 2.31 PQ: 0 ANSI: 2
616.560190] sr1: scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
616.560429] sr 4:0:0:0: Attached scsi CD-ROM sr1
616.560532] sr 4:0:0:0: Attached scsi generic sg2 type 5
616.583423] usb-storage: device scan complete
616.748148] sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
616.748179] sr: Sense Key : Hardware Error [current]
616.748188] sr: Add. Sense: No additional sense information
617.141132] sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
617.141165] sr: Sense Key : Hardware Error [current]
617.141175] sr: Add. Sense: No additional sense information
617.352139] sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
617.352172] sr: Sense Key : Hardware Error [current]
617.352183] sr: Add. Sense: No additional sense information
617.740130] sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
617.740159] sr: Sense Key : Hardware Error [current]
617.740169] sr: Add. Sense: No additional sense information
626.184118] SFW2-OUT-ERROR IN= OUT=eth0 SRC=172.16.6.116 DST=195.135.221.130 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=12271 DF PROTO=TCP SPT=43481 DPT=80 WINDOW=300 RES=0x00 ACK FIN URGP=0 OPT (0101080A0004FA280F8A23FB)
630.281586] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:14:0b:0d:39:1e:00:1a:4d:ad:7c:31:08:00 SRC=172.16.6.113 DST=172.16.6.116 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=17263 DF PROTO=TCP SPT=1502 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0 OPT (020405B401010402)
630.281754] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:14:0b:0d:39:1e:00:1a:4d:ad:7c:31:08:00 SRC=172.16.6.113 DST=172.16.6.116 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=17264 DF PROTO=TCP SPT=1503 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0 OPT (020405B401010402)
633.377697] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:14:0b:0d:39:1e:00:1a:4d:ad:7c:31:08:00 SRC=172.16.6.113 DST=172.16.6.116 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=17283 DF PROTO=TCP SPT=1503 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0 OPT (020405B401010402)
633.377858] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:14:0b:0d:39:1e:00:1a:4d:ad:7c:31:08:00 SRC=172.16.6.113 DST=172.16.6.116 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=17284 DF PROTO=TCP SPT=1502 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0 OPT (020405B401010402)
639.312277] SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:14:0b:0d:39:1e:00:1a:4d:ad:7c:31:08:00 SRC=172.16.6.113 DST=172.16.6.116 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=17348 DF PROTO=TCP SPT=1503 DPT=139 WINDOW=16384 RES=0x00 SYN URGP=0 OPT (020405B401010402)
648.663121] SFW2-OUT-ERROR IN= OUT=eth0 SRC=172.16.6.116 DST=192.38.78.162 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=18640 DF PROTO=TCP SPT=49182 DPT=80 WINDOW=501 RES=0x00 ACK FIN URGP=0 OPT (0101080A000551F7ACE33A90)

Thanks to you all in advance!

Notice that the kernel sees it up as a mass storage device and tries to mount it as a CDROM

However it’s good and lucky if you have it working:

…been capable of making the modem connect and navigate through wvdial, changing /etc/resolv.conf, /etc/wvdial.conf
I’ve nothing to add that might make it work better.

I have the same problem with a 3G Broadband modem (Huawei). KNetworkManager is not updating the /etc/resolv.conf file with the DNS entries even though it correctly receives those entries.

I remember having the same problem with my wireless connection. Finally, I solved that by unchecking the following options in the connection configuration.
(1) Ignore automatically obtained routes.
(2) Use only for resources on this connection.

However, for “Mobile Broadband” connections, these settings are not available (in fact, “IP Address” tab itself is not available).

Using usb_modemswitch (after configuring /etc/usb_modemswitch.conf) changes the 3g modem from a storage to a modem again. Useful sometimes with wvdial, after a system restart. And I believe the problem with KNetworkManager is deeper, since even if I supply the DNS entries in /etc/resolv.conf it still shows as if network is unreachable. A shame, really, since OpenSUSE has what I’ve been expecting for quite some time now: a fully working KDE4 distro, without many non-kde apps.
Don’t know if this problem will be fixed, but I thank all you people for yout time!

I have the same problem with my Huawei O2 surfstick.
The solution with the editing of the etc/resolv.conf file maybe works, but since I also want to use other types of internet connections (eg. wlan at work) it is not very practicable since I always need to add and delete the nameservers maually.
In my case when I log in as root and use Knetworkmanager the routes are set correctly and I can access the internet also with the surfstick.
The problem only occures when I’m loged in as normal user. So I think it is a permission problem. But I don’t have any idea what to chance in the user account.

I found the Gnome network manager applet coped very well with broadband modem sticks as well as cable internet and cable+wifi.
BUT the KDE network manager can’t multi task well and for me it can’t cope with broadband wireless internet at all. I have to configure my broadband usb wireless dongle separately using the “modem” manager in Yast plus wvdial and Kinternet tool to turn it on and off, as illustrated here for example:
Wireless broadband in Suse/openSUSE for Bigpond Next G Network (HSDPA-enabled bp3-usb)
and here
Wireless HSDPA broadband in Suse/openSUSE Using Nokia 6120 Mobile Phone as Modem on Three Mobile Australia

The /etc/resolv.conf is not updated and it’s a bug. There is a workaround possible here :

Will Huawei K3765 USB dongle stick work with Opensuse 11.2 - openSUSE Forums

Using dialup with 11.1 if NetworkManager does not handle your device « seife’s assorted rants

Hello,

I am also having problems with my 3 Huawei E160G mobile broadband.

I used it with Networkmanager in openSUSE11.1 KDE 4.3, but now with openSUSE11.2 KDE 4.3.4 I am unable to get it to work.

It shows up when I plug it in, but when I click it to connect, it says activating for a second and then is disconnected again.

Here is the output of dmesg: pastebin - collaborative debugging tool

Thanks in advance,
Barry

On 01/22/2010 05:46 AM, Barry Nichols wrote:
>
> Hello,
>
> I am also having problems with my 3 Huawei E160G mobile broadband.
>
> I used it with Networkmanager in openSUSE11.1 KDE 4.3, but now with
> openSUSE11.2 KDE 4.3.4 I am unable to get it to work.
>
> It shows up when I plug it in, but when I click it to connect, it says
> activating for a second and then is disconnected again.
>
> Here is the output of dmesg: ‘pastebin - collaborative debugging tool’
> (http://pastebin.com/f2a80f540)
>
>
> Thanks in advance,
> Barry
>
>

I’m using ‘umtsmon’ to connect with Huawei E160 and E
169.http://software.opensuse.org/search?p=1&baseproject=ALL&q=umtsmon

Works fine.

Vahis

“Sunrise 9:00am (EET), sunset 4:04pm (EET) at Espoo, FI (7:04 hours
daylight)”
http://waxborg.servepics.com
Linux 2.6.25.20-0.5-default #1 SMP 2009-08-14 01:48:11 +0200 x86_64
6:07am up 83 days 11:08, 17 users, load average: 1.53, 1.42, 0.83

Hi,

Sorry it’s working now, I just had to play with the settings in Networkmanager.


Regards,
Barry Nichols