Hello Stuart,

sorry for answering late.

Have ifconfig -A when device is up and down, netstat -rn
and the relevant dmesg (Toshiba H5321gw is OEM Ericsson)

Did not set default gw in that protocol. But tried with
route add default 10.23.132.66 or
route add default -link umb0. Nothing worked to
ping to internet addresses.

resolv.conf contains the 2 nameservers shown at umb0 device.

Removed hostname.umb0 beforehand.

At the moment it works well for me to use pppd/chat with ppp0
to connect to the internet.

What do I do wrong?

Other question: In case the nameservers from the provider
change, do I have to change them myself in resolv.conf or
is there some magic with umb0, that the nameservers
find there way to the resolv.conf (like with dhclient)?

Even with default gateway ....

Regards,
-stefan



ifconfig -A
=======

after doing: ifconfig umb0 apn internet.telekom pin 0000 up


lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 4 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
*        lladdr e8:e0:b7:00:00:00
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (none)
        status: no carrier
iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
*        lladdr c4:85:08:00:00:00
        index 2 priority 4 llprio 3
        groups: wlan
        media: IEEE802.11 autoselect
        status: no network
        ieee80211: nwid ""
enc0: flags=0<>
        index 3 priority 0 llprio 3
        groups: enc
        status: active
umb0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        index 5 priority 0 llprio 3
        roaming disabled registration home network
        state up cell-class custom rssi -77dBm speed 5.5Mps up 20.0Mps down
        SIM initialized PIN valid (3 attempts left)
        subscriber-id 26201120 ICC-id 8949020000 provider Telekom.de
        device KRD 131 21/141  IMEI 358749040 firmware CXP 901 8700/1
*        phone# ++491710000000 APN internet.telekom
        dns 10.74.210.210 10.74.210.211
        status: active
        inet 10.23.132.67 --> 10.23.132.66 netmask 0xfffffff8
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
        index 6 priority 0 llprio 3
        groups: ppp
        inet 10.10.10.10 --> 0.0.0.0 netmask 0xff000000
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
        index 7 priority 0 llprio 3
        groups: pflog

* = lladr/phone redacted.

netstat -rn
========

Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
224/4              127.0.0.1          URS        0        0 32768     8 lo0
10.10.10.10        10.10.10.10        UHl        0        0     -     1 ppp0
10.23.132.66       10.23.132.67       UH         0        0     -     8 umb0
10.23.132.67       10.23.132.67       UHl        0        0     -     1 umb0
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHl        1        1 32768     1 lo0

Internet6:
Destination                        Gateway                        Flags   Refs
Use   Mtu  Prio Iface
::/96                              ::1                            UGRS       0
0 32768     8 lo0
::/104                             ::1                            UGRS       0
0 32768     8 lo0
::1                                ::1                            UHl       14
14 32768     1 lo0
::127.0.0.0/104                    ::1                            UGRS       0
0 32768     8 lo0
::224.0.0.0/100                    ::1                            UGRS       0
0 32768     8 lo0
::255.0.0.0/104                    ::1                            UGRS       0
0 32768     8 lo0
::ffff:0.0.0.0/96                  ::1                            UGRS       0
0 32768     8 lo0
2002::/24                          ::1                            UGRS       0
0 32768     8 lo0
2002:7f00::/24                     ::1                            UGRS       0
0 32768     8 lo0
2002:e000::/20                     ::1                            UGRS       0
0 32768     8 lo0
2002:ff00::/24                     ::1                            UGRS       0
0 32768     8 lo0
fe80::/10                          ::1                            UGRS       0
0 32768     8 lo0
fec0::/10                          ::1                            UGRS       0
0 32768     8 lo0
fe80::1%lo0                        fe80::1%lo0                    UHl        0
0 32768     1 lo0
ff01::/16                          ::1                            UGRS       0
0 32768     8 lo0
ff01::%lo0/32                      ::1                            Um         0
1 32768     4 lo0
ff02::/16                          ::1                            UGRS       0
0 32768     8 lo0
ff02::%lo0/32                      ::1                            Um         0
1 32768     4 lo0


ifconfig -A
========

after doing ifconfig umb0 -apn down

umb0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
        index 5 priority 0 llprio 3
        roaming disabled registration not registered
        state open cell-class none
        SIM initialized PIN valid (3 attempts left)
        subscriber-id 26201120 ICC-id 8949020000
        device KRD 131 21/141  IMEI 358749040 firmware CXP 901 8700/1
*        phone# ++491710000000
        status: down

relevant dmesg:
===========

umodem0 at uhub4 port 6 configuration 1 interface 1 "TOSHIBA H5321 gw" rev
2.00/0.00 addr 4
umodem0: data interface 2, has CM over data, has break
umodem0: status change notification available
ucom0 at umodem0
umodem1 at uhub4 port 6 configuration 1 interface 3 "TOSHIBA H5321 gw" rev
2.00/0.00 addr 4
umodem1: data interface 4, has CM over data, has break
umodem1: status change notification available
ucom1 at umodem1
umb0 at uhub4 port 6 configuration 1 interface 6 "TOSHIBA H5321 gw" rev
2.00/0.00 addr 4
umodem2 at uhub4 port 6 configuration 1 interface 9 "TOSHIBA H5321 gw" rev
2.00/0.00 addr 4
umodem2: data interface 10, has CM over data, has break
umodem2: status change notification available
ucom2 at umodem2
ugen1 at uhub4 port 6 configuration 1 "TOSHIBA H5321 gw" rev 2.00/0.00 addr 4

________________________________________
From: owner-m...@openbsd.org [owner-m...@openbsd.org] on behalf of Stuart
Henderson [s...@spacehopper.org]
Sent: Friday, September 2, 2016 12:21 PM
To: misc@openbsd.org
Subject: Re: Mbim device umb0 - no authentification?

On 2016-09-01, Kapfhammer, Stefan <sk...@skapf.de> wrote:
> What I have to give‎, but still missing in the manpage
> is the username telekom, the password telekom
> and the authentication protocol pap.

That is for PPP and is only used for the connection to the dongle itself, it
is
not passed to the network. It should be irrelevant for use with umb(4).

> Is this work-in-progress and I missed some reading
> or what did I wrong? With Telekom DE no packets pass
> without authentication.

Did you add a default route pointing to the umb interface?

It would be useful to show 'ifconfig -A' and 'netstat -rn'.

Reply via email to