0

I tried to connect my Raspberry Pi with the Huawei Surfstick. All the tutorials i watched so far didn't helped me. If i plug in the Surfstick the raspberry shows that it is associated with it and has an ip. But when i try to open a website like google it says website cant be reached. I followed some other tutorials and my /etc/network/interface looks different. There is only a path to source-directory /etc/network/interfaces.d another unusual thing is that if i type in the command route it says:

link-local      0.0.0.0         255.255.0.0     U     205    0        0 wwan0

and the default option is all 0. Some Tutorials also say that i have to download wvdial or sakis3g or ppp to connect to the surfstick but im unable to download these files: it says the packages are not available and they cannot be found. Does anybody has a solution to these problems? Thank you for the support and sorry for bad english.

edit: if i type ip a it shows:

4: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether d6:49:e3:08:53:42 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4fdf:4ab6:ebf4:be67/64 scope link
        valid_lft forever preferred_lft forever

i also tried to ping to 8.8.8.8 or www.google.de but it also didn't help it says "unknown Host".

edit 2.0:
if i type in the command route it shows:

pi@raspberrypi:~ $ route<br>
Kernel-IP-Routentabelle<br>
Ziel    --------Router         --- Genmask       --  Flags--- Metric Ref    Use Iface<br>
default       --  0.0.0.0      -----   0.0.0.0     -------    U    ------- 204    ---0       --- 0 --wwan0
<br>link-local      0.0.0.0        --- 255.255.0.0     ---U     --------204  --  0  ----      0 --wwan0
<br></brodcast>


edit3.0:
when typing: ip show route:

default dev wwan0 proto kernel scope link src 169.254.2.14 metric 204
169.254.0.0/16 dev wwan0 proto kernel scope link src 169.254.2.14 metric 204<br></brodcast>

and ip addr show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000<br>
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>
    inet 127.0.0.1/8 scope host lo<br>
       valid_lft forever preferred_lft forever<br>
    inet6 ::1/128 scope host <br>
       valid_lft forever preferred_lft forever<br><br>
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000<br>
    link/ether b8:27:eb:cc:4b:80 brd ff:ff:ff:ff:ff:ff<br><br>
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000<br>
    link/ether b8:27:eb:99:1e:d5 brd ff:ff:ff:ff:ff:ff<br><br>
4: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000<br>
    link/ether be:90:ed:11:c1:07 brd ff:ff:ff:ff:ff:ff<br>
    inet 169.254.2.14/16 brd 169.254.255.255 scope global wwan0<br>
       valid_lft forever preferred_lft forever<br>
    inet6 fe80::2152:9df6:6360:27d1/64 scope link <br>
       valid_lft forever preferred_lft forever<br><br></brodcast>

I hope this shows some good things. Thank you for the support!

Final edit:
@Ingo helped me to find the Problem. It was the Surfstick that caused it. I took another Surfstick with the same SIM Card and it worked. If somebody has the same problem try that out i hope it helps someone and it doesen t takes you 3 whole days to figure it out ^^.

benipro98
  • 3
  • 3

1 Answers1

2

Your surfstick doesn't work. There is a wwan interface available that shows that the hardware is recognized and a driver is loaded. But the interface has only a link-local address that is given when no other connection is available. Link-local addresses are only usable for local networks without router and cannot be routed to other networks or to the internet. With a connection to your provider you also must have a default route to the gateway of the provider so network packages to the internet are send to this gateway. Your default route shows:

default dev wwan0 proto kernel scope link src 169.254.2.14 metric 204

It does not have a gateway ip address. It should look something like this:

default via 10.20.30.1 dev wwan0 proto kernel scope link src 10.20.30.40 metric 204

This also indicates that you do not have a connection to your provider. So at first to get it running you have to configure the surfstick to establish a connection to your provider. You should have got information from it something like a user/link/network name or password. I cannot help you with this because I don't know something about the surfstick and provider.

Ingo
  • 42,961
  • 20
  • 87
  • 207