Discussion:
Mobiles and a BT Home Hub 5a
(too old to reply)
Java Jive
2023-06-25 17:49:57 UTC
Permalink
Deliberate X-Post for reasons that will become apparent.

Back in February 2019 in uk.telecom.broadband I began a thread entitled
'Routers' asking for advice about what routers would match a given list
of criteria, the result of which was that it was suggested to me, by
Andy Burns I think, that I should flash OpenWRT onto a BT Home Hub 5a.
This I did, and have been using it satisfactorily since with a mobile
dongle plugged into the USB port, so, if you're reading this, thanks
again Andy.

For reference in what follows, I'm using a contract Three SIM.

Before explaining the current problem, and/or as a general introductory
note, there appear to be two most common types of these mobile dongles,
the first a serial type that is controlled as if it were an
old-fashioned modem, and the other which creates a self-contained
subnet, which Huawei call 'HiLink'. I think there are other types as
well, but these are the two I've encountered most often.

The first dongle I tried was a Huawei E3372s (s = serial type). It
worked pretty well for a while, but then the connection became flaky and
when I tried unplugging it from the USB extension lead it was almost too
hot to touch.

So next I tried a ZTE MF823, which is a 'HiLink' type, and that has
lasted much better, until a few days ago when a lightning strike in the
area caused a mains spike, and it's been dead flaky since, particularly
during hot weather. At first I thought it was the router that was
affected, but I have a spare ready to swap in, and the dongle didn't
work with that either, nor when it was directly plugged into a PC, so,
while the router may have been affected somewhat, the dongle is
definitely on the way out.

I have also a BT 4G Assure dongle, which a rebadged Huawei E3372h (h =
'HiLink' type). I appear to have managed to unlock it, and have had it
working in a PC, where I was also able to access its control page at
192.168.8.1, but I can't get it to work with the BTHH5a.

For the ZTE, the relevant part of /etc/config/network reads ...

config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'

... and this 'just works'. However, it doesn't work with the HuaWei,
where, according to instructions found online, the relevant part of the
file should read ...

config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'eth1'

... and certainly this seems to get closer to working than the previous
setting for the ZTE, in that the 'Interfaces' page of the router shows
some activity on the connection, but I can't access the control page of
the dongle at 192.168.8.1. Curiously, it's the same whether or not I
have a SIM in the dongle!

So my first question is: Can anyone help me get the BT-Badged Huawei
E3372h working?

The next question has been brought about by the above problems.
Anticipating a situation where the ZTE goes down completely, and perhaps
some time into the future the Huawei as well, I'll need a viable
back-up. Previously I achieved this by putting my Samsung SM-T719
tablet into mobile hotspot mode, then using a reflashed Cisco WRT320N as
a client-bridge to it, and connecting one of its LAN ports to the WAN
port of the BTHH5a. This worked very well, allowing me a backup path
requiring no changes other than a minimal reconfiguration of the router,
but the Cisco has now died, so the only backup I can think of now is to
connect the tablet directly to the BTHH5a via a USB cable, but my
recollection of trying this before is of getting absolutely nowhere.

So my other question is: Can anyone tell me how to connect to the
internet from a Linux machine, which is what the BTHH5a effectively is,
via a Samsung mobile?

Tx in advance for any help received.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Carlos E.R.
2023-06-25 21:29:31 UTC
Permalink
Post by Java Jive
Deliberate X-Post for reasons that will become apparent.
Back in February 2019 in uk.telecom.broadband I began a thread entitled
'Routers' asking for advice about what routers would match a given list
of criteria, the result of which was that it was suggested to me, by
Andy Burns I think, that I should flash OpenWRT onto a BT Home Hub 5a.
This I did, and have been using it satisfactorily since with a mobile
dongle plugged into the USB port, so, if you're reading this, thanks
again Andy.
For reference in what follows, I'm using a contract Three SIM.
Before explaining the current problem, and/or as a general introductory
note, there appear to be two most common types of these mobile dongles,
the first a serial type that is controlled as if it were an
old-fashioned modem, and the other which creates a self-contained
subnet, which Huawei call 'HiLink'.  I think there are other types as
well, but these are the two I've encountered most often.
The first dongle I tried was a Huawei E3372s (s = serial type).  It
worked pretty well for a while, but then the connection became flaky and
when I tried unplugging it from the USB extension lead it was almost too
hot to touch.
So next I tried a ZTE MF823, which is a 'HiLink' type, and that has
lasted much better, until a few days ago when a lightning strike in the
area caused a mains spike, and it's been dead flaky since, particularly
during hot weather.  At first I thought it was the router that was
affected, but I have a spare ready to swap in, and the dongle didn't
work with that either, nor when it was directly plugged into a PC, so,
while the router may have been affected somewhat, the dongle is
definitely on the way out.
I have also a BT 4G Assure dongle, which a rebadged Huawei E3372h (h =
'HiLink' type).  I appear to have managed to unlock it, and have had it
working in a PC, where I was also able to access its control page at
192.168.8.1, but I can't get it to work with the BTHH5a.
For the ZTE, the relevant part of /etc/config/network reads ...
config interface 'WAN_USB'
        option proto 'dhcp'
        option ifname 'usb0'
... and this 'just works'.  However, it doesn't work with the HuaWei,
where, according to instructions found online, the relevant part of the
file should read ...
config interface 'WAN_USB'
        option proto 'dhcp'
        option ifname 'eth1'
... and certainly this seems to get closer to working than the previous
setting for the ZTE, in that the 'Interfaces' page of the router shows
some activity on the connection, but I can't access the control page of
the dongle at 192.168.8.1.  Curiously, it's the same whether or not I
have a SIM in the dongle!
So my first question is:  Can anyone help me get the BT-Badged Huawei
E3372h working?
The next question has been brought about by the above problems.
Anticipating a situation where the ZTE goes down completely, and perhaps
some time into the future the Huawei as well, I'll need a viable
back-up.  Previously I achieved this by putting my Samsung SM-T719
tablet into mobile hotspot mode, then using a reflashed Cisco WRT320N as
a client-bridge to it, and connecting one of its LAN ports to the WAN
port of the BTHH5a.  This worked very well, allowing me a backup path
requiring no changes other than a minimal reconfiguration of the router,
but the Cisco has now died, so the only backup I can think of now is to
connect the tablet directly to the BTHH5a via a USB cable, but my
recollection of trying this before is of getting absolutely nowhere.
So my other question is:  Can anyone tell me how to connect to the
internet from a Linux machine, which is what the BTHH5a effectively is,
via a Samsung mobile?
At another location, I use a router with a SIM card directly inserted
inside. It is a "TP-Link TL-MR6400 V5.20 Router 4G LTE 300Mbps". I'm
quite happy with it.

The router web page has access to the "phone", it even can send and
receive SMS messages.


Other times, I connected my latop via USB to my Motorola phone. It just
worked. Obviously I told the phone to supply internet via usb "somehow",
but I have forgotten the details. I think the phone just asks when I
connect the cable. Then on the computer, I setup the connection with
network manager, which "just works", mostly.

After that, I instead told the phone to supply internet via WiFi. This
worked better, but I don't remember why.
--
Cheers, Carlos.
Java Jive
2023-06-26 00:28:07 UTC
Permalink
Tx to Carlos for the sole reply so far. I have solved the second
problem ...
the relevant part of the file should read ...
config interface 'WAN_USB'
        option proto 'dhcp'
        option ifname 'eth1'
.... and certainly this seems to get closer to working than the previous
setting for the ZTE, in that the 'Interfaces' page of the router shows
some activity on the connection, but I can't access the control page of
the dongle at 192.168.8.1.  Curiously, it's the same whether or not I
have a SIM in the dongle!
So my first question is:  Can anyone help me get the BT-Badged Huawei
E3372h working?
The next question has been brought about by the above problems.
Anticipating a situation where the ZTE goes down completely, and perhaps
some time into the future the Huawei as well, I'll need a viable
back-up.  Previously I achieved this by putting my Samsung SM-T719
tablet into mobile hotspot mode, then using a reflashed Cisco WRT320N as
a client-bridge to it, and connecting one of its LAN ports to the WAN
port of the BTHH5a.  This worked very well, allowing me a backup path
requiring no changes other than a minimal reconfiguration of the router,
but the Cisco has now died, so the only backup I can think of now is to
connect the tablet directly to the BTHH5a via a USB cable, but my
recollection of trying this before is of getting absolutely nowhere.
So my other question is:  Can anyone tell me how to connect to the
internet from a Linux machine, which is what the BTHH5a effectively is,
via a Samsung mobile?
Lots of searching made the dispiriting discovery that apparently some
Samsung phones, even quite modern ones, only work with Windows, because
with Linux they fail to generate a proper random MAC address, the result
is all zeros. Thankfully this is not a problem with my Samsung phablet,
it generates random MACs properly, and is an RNDIS device.

So the instructions for getting USB tethering to work are:

1) Install the modules:
kmod-usb-net-rndis
usb-modeswitch

2) As with the ZTE, the relevant section of /etc/config/network should
read:

config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'

Reboot, turn on USB tethering on the phone, log on to the router's admin
and connect the WAN_USB interface, and it works!
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Andy Burns
2023-06-26 08:03:26 UTC
Permalink
Post by Java Jive
there appear to be two most common types of these mobile dongles,
the first a serial type that is controlled as if it were an
old-fashioned modem, and the other which creates a self-contained
subnet, which Huawei call 'HiLink'.
There is a way to convert the Huawei dongles between "h" and "s" mode, I
found various poorly documented methods and files on the web, and did
successfully convert mine, I think the phrase "needle method" might find
it, but it was quite risky ...

In the end I found that a major version upgrade of openWRT left the USB
stack unusable for the dongle, it crashed the kernel, I couldn't get
much interest from the developers, so I ended-up going to a Vigor router.
Theo
2023-06-26 10:14:35 UTC
Permalink
Post by Java Jive
Deliberate X-Post for reasons that will become apparent.
Back in February 2019 in uk.telecom.broadband I began a thread entitled
'Routers' asking for advice about what routers would match a given list
of criteria, the result of which was that it was suggested to me, by
Andy Burns I think, that I should flash OpenWRT onto a BT Home Hub 5a.
This I did, and have been using it satisfactorily since with a mobile
dongle plugged into the USB port, so, if you're reading this, thanks
again Andy.
OK, I've got one (actually two) of those...
Post by Java Jive
I have also a BT 4G Assure dongle, which a rebadged Huawei E3372h (h =
'HiLink' type). I appear to have managed to unlock it, and have had it
working in a PC, where I was also able to access its control page at
192.168.8.1, but I can't get it to work with the BTHH5a.
I also have one of those. But the consensus at the time (about 4 years ago)
was that it was impossible to unlock, ie to use on a network that wasn't BT.
Post by Java Jive
So my first question is: Can anyone help me get the BT-Badged Huawei
E3372h working?
Instead of randomly fiddling with the router config, I'd first see if you
can get a link up on the device. For this you'll need to know how to use
the 'ip' command (successor to 'ifconfig'):
https://en.wikipedia.org/wiki/Iproute2

ip link show
(see if the networking device appears when it's plugged in)
ip addr show
(see if an IP address is associated with it)
udhcpc eth99
(see if it will acquire an IP address via DHCP)
ip route show
(see if it picked up a route to anywhere)
ping 8.8.8.8
(ping an internet address)

The advantage of this route is you can see what's going on, whereas with the
GUI it's just random trial and error with no feedback. You do however need
to know a little about how Linux networking works.

Unless you can find someone who has already got it to work and written up
the exact instructions what to do, which is possible I suppose.
Post by Java Jive
The next question has been brought about by the above problems.
Anticipating a situation where the ZTE goes down completely, and perhaps
some time into the future the Huawei as well, I'll need a viable
back-up. Previously I achieved this by putting my Samsung SM-T719
tablet into mobile hotspot mode, then using a reflashed Cisco WRT320N as
a client-bridge to it, and connecting one of its LAN ports to the WAN
port of the BTHH5a. This worked very well, allowing me a backup path
requiring no changes other than a minimal reconfiguration of the router,
but the Cisco has now died, so the only backup I can think of now is to
connect the tablet directly to the BTHH5a via a USB cable, but my
recollection of trying this before is of getting absolutely nowhere.
So my other question is: Can anyone tell me how to connect to the
internet from a Linux machine, which is what the BTHH5a effectively is,
via a Samsung mobile?
The same general principle should work for this too, although I'm not sure
whether it'll need some extra if it's showing up as a USB serial device
(which would need PPP starting).

You might find this kind of debugging easier from a Linux laptop/desktop, as
the environment on OpenWRT is a bit limited (eg it doesn't have the regular
'dhclient', you have to use udhcpc which is part of busybox) and you don't
have all the creature comforts of a full Linux machine.

Theo
Andy Burns
2023-06-26 10:20:12 UTC
Permalink
Post by Theo
Instead of randomly fiddling with the router config, I'd first see if you
can get a link up on the device.
I found the dongle "just worked" using NetworkManager GUI on various
Fedora versions
Java Jive
2023-06-26 11:19:48 UTC
Permalink
Post by Theo
Post by Java Jive
Deliberate X-Post for reasons that will become apparent.
Back in February 2019 in uk.telecom.broadband I began a thread entitled
'Routers' asking for advice about what routers would match a given list
of criteria, the result of which was that it was suggested to me, by
Andy Burns I think, that I should flash OpenWRT onto a BT Home Hub 5a.
This I did, and have been using it satisfactorily since with a mobile
dongle plugged into the USB port, so, if you're reading this, thanks
again Andy.
OK, I've got one (actually two) of those...
Post by Java Jive
I have also a BT 4G Assure dongle, which a rebadged Huawei E3372h (h =
'HiLink' type). I appear to have managed to unlock it, and have had it
working in a PC, where I was also able to access its control page at
192.168.8.1, but I can't get it to work with the BTHH5a.
I also have one of those. But the consensus at the time (about 4 years ago)
was that it was impossible to unlock, ie to use on a network that wasn't BT.
Changes in UK law a year or two back mean that they have to allow
unlocking. I rang BT and they gave me an unlock code.
Post by Theo
Post by Java Jive
So my first question is: Can anyone help me get the BT-Badged Huawei
E3372h working?
Instead of randomly fiddling with the router config, I'd first see if you
can get a link up on the device. For this you'll need to know how to use
https://en.wikipedia.org/wiki/Iproute2
ip link show
(see if the networking device appears when it's plugged in)
ip addr show
(see if an IP address is associated with it)
udhcpc eth99
(see if it will acquire an IP address via DHCP)
ip route show
(see if it picked up a route to anywhere)
ping 8.8.8.8
(ping an internet address)
The advantage of this route is you can see what's going on, whereas with the
GUI it's just random trial and error with no feedback. You do however need
to know a little about how Linux networking works.
Thanks, I'll have a go at this next time the ZTE breaks down, which it
may well do this afternoon during the hottest part of the day.
Post by Theo
Unless you can find someone who has already got it to work and written up
the exact instructions what to do, which is possible I suppose.
I have found some instructions as below but they didn't work for me ...

https://protyposis.net/blog/using-the-huawei-e3372-hi-link-lte-dongle-with-openwrt/
https://gist.github.com/bjoern-r/1345e8a17f4acf41006330e688af1441

... so, I guess one of two things is happening:

:-( I have a number of other modules installed from using the router
with other devices, and one of these, most probably the one that works
with an E3372s, is interfering with the E3372h.

:-( There a different generations of the E3372h and only some of them
work.

If the your suggestions above don't yield an answer, I'll try and
include some tail from dmesg as I unplug and plug back in the dongle.

[Snip as last problem now solved. It was observing the messages that
occurred from dmesg output as I unplugged and plugged back in the phone
and enabled and disabled USB tethering on it that made me realise that
it was an RNDIS device.]
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
MikeS
2023-06-26 12:16:59 UTC
Permalink
Post by Java Jive
Post by Theo
Post by Java Jive
Deliberate X-Post for reasons that will become apparent.
Back in February 2019 in uk.telecom.broadband I began a thread entitled
'Routers' asking for advice about what routers would match a given list
of criteria, the result of which was that it was suggested to me, by
Andy Burns I think, that I should flash OpenWRT onto a BT Home Hub 5a.
This I did, and have been using it satisfactorily since with a mobile
dongle plugged into the USB port, so, if you're reading this, thanks
again Andy.
OK, I've got one (actually two) of those...
Post by Java Jive
I have also a BT 4G Assure dongle, which a rebadged Huawei E3372h (h =
'HiLink' type).  I appear to have managed to unlock it, and have had it
working in a PC, where I was also able to access its control page at
192.168.8.1, but I can't get it to work with the BTHH5a.
I also have one of those.  But the consensus at the time (about 4
years ago)
was that it was impossible to unlock, ie to use on a network that wasn't BT.
Changes in UK law a year or two back mean that they have to allow
unlocking.  I rang BT and they gave me an unlock code.
Post by Theo
Post by Java Jive
So my first question is:  Can anyone help me get the BT-Badged Huawei
E3372h working?
Instead of randomly fiddling with the router config, I'd first see if you
can get a link up on the device.  For this you'll need to know how to use
https://en.wikipedia.org/wiki/Iproute2
ip link show
(see if the networking device appears when it's plugged in)
ip addr show
(see if an IP address is associated with it)
udhcpc eth99
(see if it will acquire an IP address via DHCP)
ip route show
(see if it picked up a route to anywhere)
ping 8.8.8.8
(ping an internet address)
The advantage of this route is you can see what's going on, whereas with the
GUI it's just random trial and error with no feedback.  You do however
need
to know a little about how Linux networking works.
Thanks, I'll have a go at this next time the ZTE breaks down, which it
may well do this afternoon during the hottest part of the day.
Post by Theo
Unless you can find someone who has already got it to work and written up
the exact instructions what to do, which is possible I suppose.
I have found some instructions as below but they didn't work for me ...
https://protyposis.net/blog/using-the-huawei-e3372-hi-link-lte-dongle-with-openwrt/
https://gist.github.com/bjoern-r/1345e8a17f4acf41006330e688af1441
 :-(  I have a number of other modules installed from using the router
with other devices, and one of these, most probably the one that works
with an E3372s, is interfering with the E3372h.
 :-(  There a different generations of the E3372h and only some of them
work.
If the your suggestions above don't yield an answer, I'll try and
include some tail from dmesg as I unplug and plug back in the dongle.
[Snip as last problem now solved.  It was observing the messages that
occurred from dmesg output as I unplugged and plugged back in the phone
and enabled and disabled USB tethering on it that made me realise that
it was an RNDIS device.]
As you are dependent on 4G broadband why not buy a 4G WiFi router
designed for the job?
Java Jive
2023-06-26 12:58:02 UTC
Permalink
Post by MikeS
As you are dependent on 4G broadband why not buy a 4G WiFi router
designed for the job?
In the original thread, I outlined a list of requirements ...
* Is for the UK market and available here
* Supports A/VDSL, Data SIM (perhaps via USB), & cable WAN
* Has WiFi to n or ac standard
* Has at least three or four Gigabit LAN ports
* When in LAN DHCP mode, properly supports local DNS
* Is affordable, say ~< £150 new, half that used.
... and given that many, perhaps most, commercial routers, even from
reputable firms such as DrayTek, don't do local DNS properly, or at the
time didn't have Gigabit LAN ports, etc, this was a cheap, *very* cheap,
solution that has worked very well for me. The only real problem has
been the short lifespan of the dongles.

It's true that now I've discontinued my landline I could reconsider my
options, especially as it appears FTTP and VOIP are replacing
conventional landlines, but I'll probably die before we ever get FTTP here!

There is also a local firm Highland Wireless, but they are about £10
more per month for the equivalent unlimited package that I'm on with
Three, and to me the faster speeds wouldn't be worth the extra outlay.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
MikeS
2023-06-26 16:32:00 UTC
Permalink
Post by Java Jive
Post by MikeS
As you are dependent on 4G broadband why not buy a 4G WiFi router
designed for the job?
In the original thread, I outlined a list of requirements ...
    *    Is for the UK market and available here
    *    Supports A/VDSL, Data SIM (perhaps via USB), & cable WAN
    *    Has WiFi to n or ac standard
    *    Has at least three or four Gigabit LAN ports
    *    When in LAN DHCP mode, properly supports local DNS
    *    Is affordable, say ~< £150 new, half that used.
... and given that many, perhaps most, commercial routers, even from
reputable firms such as DrayTek, don't do local DNS properly, or at the
time didn't have Gigabit LAN ports, etc
Plenty now have 4 LAN ports, many do support A/VDSL & cable WAN (with 4G
Data SIM for backup) but you don't have a landline or cable service so
those "issues" are gone anyway, in the unlikely event of "don't do local
DNS properly" you can always use something like DNSMasq on your server
(or even with a dedicated raspberry pi).
Java Jive
2023-06-26 17:51:24 UTC
Permalink
Post by MikeS
Post by Java Jive
Post by MikeS
As you are dependent on 4G broadband why not buy a 4G WiFi router
designed for the job?
In the original thread, I outlined a list of requirements ...
     *    Is for the UK market and available here
     *    Supports A/VDSL, Data SIM (perhaps via USB), & cable WAN
     *    Has WiFi to n or ac standard
     *    Has at least three or four Gigabit LAN ports
     *    When in LAN DHCP mode, properly supports local DNS
     *    Is affordable, say ~< £150 new, half that used.
... and given that many, perhaps most, commercial routers, even from
reputable firms such as DrayTek, don't do local DNS properly, or at
the time didn't have Gigabit LAN ports, etc
Plenty now have 4 LAN ports,
Yes, most of them have 4 LAN ports, but that is not the full criteria.
Supposedly, gigabit has been with us since 1998, yet even 20 years later
it was still common to find routers with only fast ethernet ports, or
with only one of them gigabit.
Post by MikeS
many do support A/VDSL & cable WAN (with 4G
Data SIM for backup) but you don't have a landline or cable service so
those "issues" are gone anyway, in the
... actually, likely, ...
Post by MikeS
event of "don't do local
DNS properly" you can always use something like DNSMasq on your server
(or even with a dedicated raspberry pi).
I don't want to have to setup and configure another box to do something
that the router should be doing for itself, it makes more sense to do
what I did, just create a router that works properly.

AIUI, according to the DNS specs, when given a machine name to find, a
DNS service should look for the name first in its local database, and if
it can't find it there, relay it upstream to the WAN server. However,
scandalously IMO, very few routers seem to implement this properly,
usually they offer a choice to act as a relay, in which case there is no
local DNS, or act as a server, in which case there is no WAN DNS.

AFAICR *all* the commercial and ISP-provided routers that I've ever had,
and certainly until a year or two back, and very possibly still, even
expensive routers such as DrayTek Vigor *still* have this trouble.
Sure, I understand that with DV there are work-arounds involving
entering the names of local machines into some table in the DV system in
some way, but it shouldn't be necessary to do this if the DNS service is
set up properly in the first place.

The reason for this widespread mode of failure is easy enough to
understand. Where the routers are used *ONLY* with Windows PCs, by
default Windows NetBIOS over TCP/IP runs a Computer Browser service
which makes the first PC to power-up on the network the 'Master
Browser', which others powering-up later can query for machine names.
Thus NetBIOS completely masks the failure of most routers to perform DNS
properly. The fault only becomes apparent when there are Linux machines
on the network communicating via NFS rather than SAMBA. The widespread
failure of routers to implement DNS properly shows that they are only
ever being tested with Windows machines on a network. Perhaps the
recent explosion of non-Windows machines such as mobile phones will
cause this finally to be sorted out, but I'm not going to hold my breath.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Tweed
2023-06-26 17:56:42 UTC
Permalink
Post by Java Jive
Post by MikeS
Post by Java Jive
Post by MikeS
As you are dependent on 4G broadband why not buy a 4G WiFi router
designed for the job?
In the original thread, I outlined a list of requirements ...
     *    Is for the UK market and available here
     *    Supports A/VDSL, Data SIM (perhaps via USB), & cable WAN
     *    Has WiFi to n or ac standard
     *    Has at least three or four Gigabit LAN ports
     *    When in LAN DHCP mode, properly supports local DNS
     *    Is affordable, say ~< £150 new, half that used.
... and given that many, perhaps most, commercial routers, even from
reputable firms such as DrayTek, don't do local DNS properly, or at
the time didn't have Gigabit LAN ports, etc
Plenty now have 4 LAN ports,
Yes, most of them have 4 LAN ports, but that is not the full criteria.
Supposedly, gigabit has been with us since 1998, yet even 20 years later
it was still common to find routers with only fast ethernet ports, or
with only one of them gigabit.
Post by MikeS
many do support A/VDSL & cable WAN (with 4G
Data SIM for backup) but you don't have a landline or cable service so
those "issues" are gone anyway, in the
... actually, likely, ...
Post by MikeS
event of "don't do local
DNS properly" you can always use something like DNSMasq on your server
(or even with a dedicated raspberry pi).
I don't want to have to setup and configure another box to do something
that the router should be doing for itself, it makes more sense to do
what I did, just create a router that works properly.
AIUI, according to the DNS specs, when given a machine name to find, a
DNS service should look for the name first in its local database, and if
it can't find it there, relay it upstream to the WAN server. However,
scandalously IMO, very few routers seem to implement this properly,
usually they offer a choice to act as a relay, in which case there is no
local DNS, or act as a server, in which case there is no WAN DNS.
AFAICR *all* the commercial and ISP-provided routers that I've ever had,
and certainly until a year or two back, and very possibly still, even
expensive routers such as DrayTek Vigor *still* have this trouble.
Sure, I understand that with DV there are work-arounds involving
entering the names of local machines into some table in the DV system in
some way, but it shouldn't be necessary to do this if the DNS service is
set up properly in the first place.
The reason for this widespread mode of failure is easy enough to
understand. Where the routers are used *ONLY* with Windows PCs, by
default Windows NetBIOS over TCP/IP runs a Computer Browser service
which makes the first PC to power-up on the network the 'Master
Browser', which others powering-up later can query for machine names.
Thus NetBIOS completely masks the failure of most routers to perform DNS
properly. The fault only becomes apparent when there are Linux machines
on the network communicating via NFS rather than SAMBA. The widespread
failure of routers to implement DNS properly shows that they are only
ever being tested with Windows machines on a network. Perhaps the
recent explosion of non-Windows machines such as mobile phones will
cause this finally to be sorted out, but I'm not going to hold my breath.
Is this a real problem though? mDNS seems to solve the problem on my home
network.
Java Jive
2023-06-26 20:18:09 UTC
Permalink
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and install
it, and configure it, to do what the router should be doing for itself?
The very *existence* of third party services like mDNS proves what I was
saying, that the lack of proper local DNS support by most routers is a
problem. The correct way to solve that problem is to fix the routers,
not introduce a source of other potential problems:

https://en.wikipedia.org/wiki/Multicast_DNS

"By default, mDNS exclusively resolves hostnames ending with the .local
top-level domain. This can cause problems if .local includes hosts that
do not implement mDNS but that can be found via a conventional unicast
DNS server. Resolving such conflicts requires network-configuration
changes that mDNS was designed to avoid. "
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
MikeS
2023-06-26 21:12:05 UTC
Permalink
Post by Java Jive
But why should you have to resort to a third party service, and install
it, and configure it,
That might be a more convincing argument if you had not previously
described in graphic detail your efforts to botch together a BT hub
solution using custom firmware and OpenWRT plus assorted overheating USB
dongles.
Java Jive
2023-06-26 21:23:42 UTC
Permalink
Post by MikeS
Post by Java Jive
But why should you have to resort to a third party service, and
install it, and configure it,
Snipped content restored: to do what the router should be doing for itself?

The point still stands.
Post by MikeS
That might be a more convincing argument if you had not previously
described in graphic detail your efforts to botch together a BT hub
solution using custom firmware and OpenWRT plus assorted overheating USB
dongles.
Despite the relatively short life-span of the dongles that I've tried so
far, the result is still significantlyh better than any other router
that I've owned previously, including a DrayTek Vigor.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Tweed
2023-06-27 04:08:44 UTC
Permalink
Post by Java Jive
Post by MikeS
Post by Java Jive
But why should you have to resort to a third party service, and
install it, and configure it,
Snipped content restored: to do what the router should be doing for itself?
The point still stands.
Post by MikeS
That might be a more convincing argument if you had not previously
described in graphic detail your efforts to botch together a BT hub
solution using custom firmware and OpenWRT plus assorted overheating USB
dongles.
Despite the relatively short life-span of the dongles that I've tried so
far, the result is still significantlyh better than any other router
that I've owned previously, including a DrayTek Vigor.
mDNS just worked for me. In fact I had to look it up and learn about it
when I found that .local addresses resolved. I first used it communicating
from a Win10 machine to a Raspberry Pi.
Graham J
2023-06-27 06:52:24 UTC
Permalink
Post by MikeS
Post by Java Jive
But why should you have to resort to a third party service, and
install it, and configure it,
That might be a more convincing argument if you had not previously
described in graphic detail your efforts to botch together a BT hub
solution using custom firmware and OpenWRT plus assorted overheating USB
dongles.
The overheating dongles are just that - they have nothing to do with DNS
and how it is resolved.
--
Graham J
Graham J
2023-06-27 07:01:47 UTC
Permalink
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and install
it, and configure it, to do what the router should be doing for itself?
The very *existence* of third party services like mDNS proves what I was
saying, that the lack of proper local DNS support by most routers is a
problem.  The correct way to solve that problem is to fix the routers,
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.

Have you ever found anybody else who shares your view? I can see that
it might be "nice to have" but I would not consider spending anything
extra to get it. Having said that, the cost to a router manufacturer
such as Draytek must be trivial given the number of other esoteric
features they do include. Or is there some difficult-to-resolve
conflict here that hasn't occurred to me?
--
Graham J
Carlos E.R.
2023-06-27 09:05:47 UTC
Permalink
Post by Graham J
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and
install it, and configure it, to do what the router should be doing
for itself? The very *existence* of third party services like mDNS
proves what I was saying, that the lack of proper local DNS support by
most routers is a problem.  The correct way to solve that problem is
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.
Have you ever found anybody else who shares your view?  I can see that
it might be "nice to have" but I would not consider spending anything
extra to get it.  Having said that, the cost to a router manufacturer
such as Draytek must be trivial given the number of other esoteric
features they do include.  Or is there some difficult-to-resolve
conflict here that hasn't occurred to me?
What should the DNS do?

Detect automatically the name of computers, and solve them?

Let me see. If I ask my router web page for a map of my LAN, I see it
guesses correctly the name of only one machine, a Linux laptop freshly
installed.

***@Telcontar:~> host 192.168.2.17 192.168.1.1
;; connection timed out; no servers could be reached

***@Telcontar:~> host Laicolasse 192.168.1.1
;; connection timed out; no servers could be reached

***@Telcontar:~>



Well, no resolving at all at the router, there is no DNS server. AFAIK
what my router does is tell computers via dhcp to use the ISP DNS server
instead. No local DNS. Cheaper. A DNS server needs RAM, and RAM is
expensive (!).


The other possibility I can see is manually giving names to the machines
the router see, in a table in the router. Possibly tied to fixed
assignation of LAN IPs. I have never seen that in a home router; I would
use dnsmasq for that, and kill the dhcp server in the router.



Different thing. How to get the name of the machines automatically
known? mDNS? how?

If the router knows the name of that single laptop, I should be able to
configure something on other computers. Maybe open mDNS port. Maybe
making sure that services avahi-daemon and avahi-dnsconfd are running.
Dunno. I know that the command "host" doesn't find that laptop.
--
Cheers, Carlos.
Bit Twister
2023-06-27 10:53:53 UTC
Permalink
Post by Carlos E.R.
Post by Graham J
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and
install it, and configure it, to do what the router should be doing
for itself? The very *existence* of third party services like mDNS
proves what I was saying, that the lack of proper local DNS support by
most routers is a problem.  The correct way to solve that problem is
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.
Have you ever found anybody else who shares your view?  I can see that
it might be "nice to have" but I would not consider spending anything
extra to get it.  Having said that, the cost to a router manufacturer
such as Draytek must be trivial given the number of other esoteric
features they do include.  Or is there some difficult-to-resolve
conflict here that hasn't occurred to me?
What should the DNS do?
Detect automatically the name of computers, and solve them?
Let me see. If I ask my router web page for a map of my LAN, I see it
guesses correctly the name of only one machine, a Linux laptop freshly
installed.
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
Well, no resolving at all at the router, there is no DNS server. AFAIK
what my router does is tell computers via dhcp to use the ISP DNS server
instead. No local DNS. Cheaper. A DNS server needs RAM, and RAM is
expensive (!).
The other possibility I can see is manually giving names to the machines
the router see, in a table in the router. Possibly tied to fixed
assignation of LAN IPs. I have never seen that in a home router; I would
use dnsmasq for that, and kill the dhcp server in the router.
Different thing. How to get the name of the machines automatically
known? mDNS? how?
If the router knows the name of that single laptop, I should be able to
configure something on other computers. Maybe open mDNS port. Maybe
making sure that services avahi-daemon and avahi-dnsconfd are running.
Dunno. I know that the command "host" doesn't find that laptop.
What works for me is install bind, configure named to know all my nodes ip
address and names, set all nodes to have a common /etd/hosts, and change
/etc/nsswitch.conf

$ diff /var/local/vorig/etc/nsswitch.conf_vorig /etc/nsswitch.conf
64c64,66
< hosts: mdns4_minimal files nis dns mdns4 myhostname
---
Post by Carlos E.R.
# Changed by /local/bin/nsswitch_changes Mon 02 Jan 12:54 2023
# hosts: mdns4_minimal files nis dns mdns4 myhostname
hosts: files dns myhostname
then change router dns resolver to use my named resolver.


$ cat /etc/release
Mageia release 9 (Cauldron) for x86_64
MikeS
2023-06-27 11:58:31 UTC
Permalink
Post by Bit Twister
Post by Carlos E.R.
Post by Graham J
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and
install it, and configure it, to do what the router should be doing
for itself? The very *existence* of third party services like mDNS
proves what I was saying, that the lack of proper local DNS support by
most routers is a problem.  The correct way to solve that problem is
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.
Have you ever found anybody else who shares your view?  I can see that
it might be "nice to have" but I would not consider spending anything
extra to get it.  Having said that, the cost to a router manufacturer
such as Draytek must be trivial given the number of other esoteric
features they do include.  Or is there some difficult-to-resolve
conflict here that hasn't occurred to me?
What should the DNS do?
Detect automatically the name of computers, and solve them?
Let me see. If I ask my router web page for a map of my LAN, I see it
guesses correctly the name of only one machine, a Linux laptop freshly
installed.
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
Well, no resolving at all at the router, there is no DNS server. AFAIK
what my router does is tell computers via dhcp to use the ISP DNS server
instead. No local DNS. Cheaper. A DNS server needs RAM, and RAM is
expensive (!).
The other possibility I can see is manually giving names to the machines
the router see, in a table in the router. Possibly tied to fixed
assignation of LAN IPs. I have never seen that in a home router; I would
use dnsmasq for that, and kill the dhcp server in the router.
Different thing. How to get the name of the machines automatically
known? mDNS? how?
If the router knows the name of that single laptop, I should be able to
configure something on other computers. Maybe open mDNS port. Maybe
making sure that services avahi-daemon and avahi-dnsconfd are running.
Dunno. I know that the command "host" doesn't find that laptop.
What works for me is install bind, configure named to know all my nodes ip
address and names, set all nodes to have a common /etd/hosts, and change
/etc/nsswitch.conf
$ diff /var/local/vorig/etc/nsswitch.conf_vorig /etc/nsswitch.conf
64c64,66
< hosts: mdns4_minimal files nis dns mdns4 myhostname
---
Post by Carlos E.R.
# Changed by /local/bin/nsswitch_changes Mon 02 Jan 12:54 2023
# hosts: mdns4_minimal files nis dns mdns4 myhostname
hosts: files dns myhostname
then change router dns resolver to use my named resolver.
$ cat /etc/release
Mageia release 9 (Cauldron) for x86_64
This alleged DNS issue is a mystery to me as I have never noticed it.

I am using a bog standard BT HomeHub6 with various devices connected. A
quick check of the web UI shows all with correct name, IP and MAC. All
names are obtained from the devices some of which were default, others I
edited (on each device).
Bit Twister
2023-06-27 12:20:21 UTC
Permalink
Post by MikeS
Post by Bit Twister
Post by Carlos E.R.
Post by Graham J
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and
install it, and configure it, to do what the router should be doing
for itself? The very *existence* of third party services like mDNS
proves what I was saying, that the lack of proper local DNS support by
most routers is a problem.  The correct way to solve that problem is
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.
Have you ever found anybody else who shares your view?  I can see that
it might be "nice to have" but I would not consider spending anything
extra to get it.  Having said that, the cost to a router manufacturer
such as Draytek must be trivial given the number of other esoteric
features they do include.  Or is there some difficult-to-resolve
conflict here that hasn't occurred to me?
What should the DNS do?
Detect automatically the name of computers, and solve them?
Let me see. If I ask my router web page for a map of my LAN, I see it
guesses correctly the name of only one machine, a Linux laptop freshly
installed.
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
Well, no resolving at all at the router, there is no DNS server. AFAIK
what my router does is tell computers via dhcp to use the ISP DNS server
instead. No local DNS. Cheaper. A DNS server needs RAM, and RAM is
expensive (!).
The other possibility I can see is manually giving names to the machines
the router see, in a table in the router. Possibly tied to fixed
assignation of LAN IPs. I have never seen that in a home router; I would
use dnsmasq for that, and kill the dhcp server in the router.
Different thing. How to get the name of the machines automatically
known? mDNS? how?
If the router knows the name of that single laptop, I should be able to
configure something on other computers. Maybe open mDNS port. Maybe
making sure that services avahi-daemon and avahi-dnsconfd are running.
Dunno. I know that the command "host" doesn't find that laptop.
What works for me is install bind, configure named to know all my nodes ip
address and names, set all nodes to have a common /etd/hosts, and change
/etc/nsswitch.conf
$ diff /var/local/vorig/etc/nsswitch.conf_vorig /etc/nsswitch.conf
64c64,66
< hosts: mdns4_minimal files nis dns mdns4 myhostname
---
Post by Carlos E.R.
# Changed by /local/bin/nsswitch_changes Mon 02 Jan 12:54 2023
# hosts: mdns4_minimal files nis dns mdns4 myhostname
hosts: files dns myhostname
then change router dns resolver to use my named resolver.
$ cat /etc/release
Mageia release 9 (Cauldron) for x86_64
This alleged DNS issue is a mystery to me as I have never noticed it.
I am using a bog standard BT HomeHub6 with various devices connected. A
quick check of the web UI shows all with correct name, IP and MAC. All
names are obtained from the devices some of which were default, others I
edited (on each device).
That is a feature of the dhcp server in the router or dhcp server on your lan.
Devices provides name/mac and ask for a lease. dhcp server then provides
device with gateway, ip address and time to renew lease.
Java Jive
2023-06-27 15:17:16 UTC
Permalink
Post by MikeS
This alleged DNS issue is a mystery to me as I have never noticed it.
I am using a bog standard BT HomeHub6 with various devices connected. A
quick check of the web UI shows all with correct name, IP and MAC. All
names are obtained from the devices some of which were default, others I
edited (on each device).
Do you use a Linux PC with NFS networking? That's a rhetorical question
because the answer is obviously not, otherwise you'd certainly notice
the problem and have had to have solved it in some way, usually by
editing the 'hosts' file.

Just because you haven't experienced this problem doesn't mean that it
doesn't exist. Linux may only be 3% of the global market PC share, but
that still means a hell of a lot of people across the world are getting
unnecessary problems because router manufacturers seem only to test
their kit with Windows PCs.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
MikeS
2023-06-27 20:23:58 UTC
Permalink
Post by MikeS
This alleged DNS issue is a mystery to me as I have never noticed it.
I am using a bog standard BT HomeHub6 with various devices connected.
A quick check of the web UI shows all with correct name, IP and MAC.
All names are obtained from the devices some of which were default,
others I edited (on each device).
Do you use a Linux PC with NFS networking?  That's a rhetorical question
because the answer is obviously not, otherwise you'd certainly notice
the problem and have had to have solved it in some way, usually by
editing the 'hosts' file.
Just because you haven't experienced this problem doesn't mean that it
doesn't exist.  Linux may only be 3% of the global market PC share, but
that still means a hell of a lot of people across the world are getting
unnecessary problems because router manufacturers seem only to test
their kit with Windows PCs.
Which goes right back to my earlier comment.
Flashing a HH5a, installing and configuring OpenWRT, and trying to find
dongles which work with it is vastly more trouble than using a 4G router
and, if necessary, configuring a few addresses in a hosts file. Or
installing a DNS server locally if you have a large Linux network.
Java Jive
2023-06-27 20:56:54 UTC
Permalink
Post by MikeS
Post by MikeS
This alleged DNS issue is a mystery to me as I have never noticed it.
I am using a bog standard BT HomeHub6 with various devices connected.
A quick check of the web UI shows all with correct name, IP and MAC.
All names are obtained from the devices some of which were default,
others I edited (on each device).
Do you use a Linux PC with NFS networking?  That's a rhetorical
question because the answer is obviously not, otherwise you'd
certainly notice the problem and have had to have solved it in some
way, usually by editing the 'hosts' file.
Just because you haven't experienced this problem doesn't mean that it
doesn't exist.  Linux may only be 3% of the global market PC share,
but that still means a hell of a lot of people across the world are
getting unnecessary problems because router manufacturers seem only to
test their kit with Windows PCs.
Which goes right back to my earlier comment.
Flashing a HH5a, installing and configuring OpenWRT, and trying to find
dongles which work with it is vastly more trouble than using a 4G router
And also vastly more expensive, especially if it turns out that the 4G
router doesn't last any longer than any of the dongles.
Post by MikeS
and, if necessary, configuring a few addresses in a hosts file.
Several hosts files. Been there, done that, and it's a PITA.
Post by MikeS
Or
installing a DNS server locally if you have a large Linux network.
Or reflashing a router so that it works properly, and saves the
electricity consumption of another box.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
MikeS
2023-06-27 21:12:50 UTC
Permalink
Post by Java Jive
Or reflashing a router so that it works properly, and saves the
electricity consumption of another box.
I was under the impression that you started this thread because you
cannot rely on your home brew solution working properly. ✌️
Java Jive
2023-06-27 21:23:05 UTC
Permalink
Post by MikeS
Post by Java Jive
Or reflashing a router so that it works properly, and saves the
electricity consumption of another box.
I was under the impression that you started this thread because you
cannot rely on your home brew solution working properly. ✌️
No, I started this thread to find out how to get an E3372h to work with
an OpenWRT router, and your irrelevant interventions haven't helped at
all with that.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Andy Burns
2023-06-28 08:36:04 UTC
Permalink
Post by MikeS
Which goes right back to my earlier comment.
Flashing a HH5a, installing and configuring OpenWRT, and trying to find
dongles which work with it is vastly more trouble than using a 4G router
and, if necessary, configuring a few addresses in a hosts file. Or
installing a DNS server locally if you have a large Linux network.
There is a certain satisfaction from going the openWRT way, one box that
handles many functions, exactly as you want them, the only ongoing
weakness was that it didn't support the hardware flow offloading, so
heavy wifi throughput would clobber the CPU.
Theo
2023-06-28 09:05:35 UTC
Permalink
Post by Andy Burns
Post by MikeS
Which goes right back to my earlier comment.
Flashing a HH5a, installing and configuring OpenWRT, and trying to find
dongles which work with it is vastly more trouble than using a 4G router
and, if necessary, configuring a few addresses in a hosts file. Or
installing a DNS server locally if you have a large Linux network.
There is a certain satisfaction from going the openWRT way, one box that
handles many functions, exactly as you want them, the only ongoing
weakness was that it didn't support the hardware flow offloading, so
heavy wifi throughput would clobber the CPU.
I'm upgrading from a BT Homehub 5a to a Fritzbox 7530, whose VDSL is now
supported in the 23.05-rc1 release of OpenWRT.

I haven't done the swapout for the HH5a yet so it's not handling the load
(in particular I want to configure it differently from the HH5a) but first
impressions are very promising. It's a 700MHz quad core ARMv7 rather than
the HH5a's 500MHz single core MIPS, the wifi is better and it has USB 3.
OpenWRT doesn't support the VOIP or DECT features through. I haven't tested
VDSL yet, that will have to wait for the swapout.

I know Zen are giving them out to their customers, so perhaps worth trying
if you have one lying around? Otherwise they go for £30-40 on ebay.

Theo
Andy Burns
2023-06-28 09:55:26 UTC
Permalink
Post by Theo
a Fritzbox 7530, whose VDSL is now
supported in the 23.05-rc1 release of OpenWRT.
interesting, I might have jumped to fritz rather than vigor of it had
been supported at the time
Post by Theo
rather than
the HH5a's 500MHz single core MIPS
I remember it as dual? but initial LEDE version only supported one core?
Post by Theo
OpenWRT doesn't support the VOIP or DECT features through.
Shame.

I think I'm happy with vigor and its mesh wifi.
Dave Royal
2023-06-28 07:25:47 UTC
Permalink
Post by MikeS
This alleged DNS issue is a mystery to me as I have never noticed it.
I am using a bog standard BT HomeHub6 with various devices connected. A
quick check of the web UI shows all with correct name, IP and MAC. All
names are obtained from the devices some of which were default, others I
edited (on each device).
I also have a BT HH; I don't know what version: it's 2 years old. (And I
just noticed the f/w updated yesterday and it now has 'Hybrid Connect -
not configured'.)

When I got the HH I discovered - by accident - it could 'resolve' local
device names. For example, on this Android tablet I can access the
webserver on my RPi with
http://pi:8080/ --- 'pi' being the network name I gave it.

I don't think my earlier routers (Netgear, Plusnet) could do that, but I'm
not certain.

I don't know if it's necessary for this 'router resolution' but despite
the pi having a fixed ip4 address the HH says it's dhcp. To achieve that I
temporarily extended the dhcp range down to include it, then specified
'always use this address'.
--
(Remove numerics from email address)
Carlos E.R.
2023-06-28 08:50:02 UTC
Permalink
Post by Dave Royal
Post by MikeS
This alleged DNS issue is a mystery to me as I have never noticed it.
I am using a bog standard BT HomeHub6 with various devices connected. A
quick check of the web UI shows all with correct name, IP and MAC. All
names are obtained from the devices some of which were default, others I
edited (on each device).
I also have a BT HH; I don't know what version: it's 2 years old. (And I
just noticed the f/w updated yesterday and it now has 'Hybrid Connect -
not configured'.)
When I got the HH I discovered - by accident - it could 'resolve' local
device names. For example, on this Android tablet I can access the
webserver on my RPi with
http://pi:8080/ --- 'pi' being the network name I gave it.
But this can be a trick of the router or a trick of your computer or tablet.
Post by Dave Royal
I don't think my earlier routers (Netgear, Plusnet) could do that, but I'm
not certain.
I don't know if it's necessary for this 'router resolution' but despite
the pi having a fixed ip4 address the HH says it's dhcp. To achieve that I
temporarily extended the dhcp range down to include it, then specified
'always use this address'.
--
Cheers, Carlos.
Dave Royal
2023-06-28 10:36:05 UTC
Permalink
Post by Carlos E.R.
Post by Dave Royal
When I got the HH I discovered - by accident - it could 'resolve' local
device names. For example, on this Android tablet I can access the
webserver on my RPi with
http://pi:8080/ --- 'pi' being the network name I gave it.
But this can be a trick of the router or a trick of your computer or tablet.
It's not the Android tablet. It works on all computers in the house.
Before I discovered this I used to put the RPi in resolv.conf on my Linux
boxes, now I don't. On an unrooted Android tablet, like this one, or an
iPad I'd have to use the IP address.

But it's possible that I could have done this with previous routers; I
never tried.
--
(Remove numerics from email address)
Paul
2023-06-28 12:21:00 UTC
Permalink
Post by Dave Royal
Post by Carlos E.R.
Post by Dave Royal
When I got the HH I discovered - by accident - it could 'resolve' local
device names. For example, on this Android tablet I can access the
webserver on my RPi with
http://pi:8080/ --- 'pi' being the network name I gave it.
But this can be a trick of the router or a trick of your computer or tablet.
It's not the Android tablet. It works on all computers in the house.
Before I discovered this I used to put the RPi in resolv.conf on my Linux
boxes, now I don't. On an unrooted Android tablet, like this one, or an
iPad I'd have to use the IP address.
But it's possible that I could have done this with previous routers; I
never tried.
The router could be using one or more nameservers on the LAN.
To resolve to an IP. Your example is not a fully qualified domain name,
it's just a short name, and that makes it more likely to be
coming from a service on the LAN that "collects" local names.

If your HH has storage (SAMBA or FTP or something), the HH may
participate as a client to the nameserver and "advertise" itself
so other nodes know about it.

Paul
Frank Slootweg
2023-06-28 15:13:44 UTC
Permalink
[Followup-To: comp.mobile.android]

Dave Royal <***@dave123royal.com> wrote:
[...]
Post by Dave Royal
For example, on this Android tablet
[Headers:]
Post by Dave Royal
User-Agent: PyKiN 0.4 (Android)
Can you tell us a little bit about this newsreader (perhaps in a new
thread)?

Over time, many people have been looking for a good/reasonable
newsreader and found there are few and none of them good.

I don't think 'PyKiN' ever came up in those discussions, hence the
interest.

(N.B. *I* am not really interested in an Android newsreader, but I know
other are.)
Dave Royal
2023-06-28 17:01:31 UTC
Permalink
Post by Frank Slootweg
[Followup-To: comp.mobile.android]
[...]
[Headers:]
Can you tell us a little bit about this newsreader (perhaps in a new
thread)?
I wrote it, in Python using Kivy, to handle Mozilla's news server, now
closed down. It's incomplete, and _v e r y_ slow. I recently started using
it again because my previous Android newsreader could no longer quote
properly. It's far too slow for release.

https://en.wikipedia.org/wiki/Kivy_(framework)
--
(Remove numerics from email address)
David W. Hodgins
2023-06-28 18:55:34 UTC
Permalink
Post by Dave Royal
Post by Frank Slootweg
[Followup-To: comp.mobile.android]
[...]
[Headers:]
Can you tell us a little bit about this newsreader (perhaps in a new
thread)?
I wrote it, in Python using Kivy, to handle Mozilla's news server, now
closed down. It's incomplete, and _v e r y_ slow. I recently started using
it again because my previous Android newsreader could no longer quote
properly. It's far too slow for release.
https://en.wikipedia.org/wiki/Kivy_(framework)
It would probably be a good idea to change the name.

https://pypi.org/project/pykin/

Regards, Dave Hodgins
Anssi Saari
2023-06-27 12:22:37 UTC
Permalink
Post by Graham J
But presumably router manufacturers do not see a demand for proper
local DNS support which is why it doesn't generally exist.
Have you ever found anybody else who shares your view?
Well, I like to have a local name server in my LAN and to me it makes
sense for the router to do that.

I haven't found commercial routers I like much. And it seems some of
them like to violate the GPL like it's nothing. Which I guess it is if
there's no one to enforce it.

Since I couldn't find a router I liked, I got an APU4D4 board and case
from Swiss outfit PC Engines and put Debian Linux on it. But looks like
that's a dead end now too, these router boards are going out of
production and redesigns are not planned. Shame, it's a 6-10W fanless
design. Was a little old fashioned already when I got mine during the
pandemic but nothing major.

Maybe next time will have to be something like the refurb Lenovo M625Q I
bought recently for 50 euros. It has only one ethernet socket but
otherwise nice and cheap for what it is. I think Servethehome has had a
whole series of reviews on these kind of computers but what they have
reviewed seemed fairly expensive. They call these TinyMiniMicros if I
remember correctly.
Java Jive
2023-06-27 15:07:36 UTC
Permalink
Post by Graham J
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and
install it, and configure it, to do what the router should be doing
for itself? The very *existence* of third party services like mDNS
proves what I was saying, that the lack of proper local DNS support by
most routers is a problem.  The correct way to solve that problem is
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.
Because their products are aimed mostly at two markets, businesses that
have their own DNS servers, homes that use mostly or only Windows
machines, and in neither of those two situations, for the reasons
already given, is the lack of proper local DNS so much of a problem.
It's only a minority, but possibly a significant one nevertheless, who
need local DNS for Linux machines that notice the problem.
Post by Graham J
Have you ever found anybody else who shares your view?
Well, a brief search of my sent folder over the last few years found the
following threads here and elsewhere which weren't started by me, and
these were just the ones I noticed and bothered to reply to ...

Are there any VDSL routers out there that do proper DHCP/DNS with names?

Routers with USB3 port and SMB2 or (better) SMB3 - are there any?

... so it's not just me that has noticed the problem. Remembering that
these posts are being copied to a Linux group, are you going to claim
that Linux users are an unimportant minority :-)

But the real point is that, as proven by open builds such as OpenWRT and
DD-WRT, it would be trivially simple for routers to implement this
properly, it just needs the will to do it, and I for one am exasperated
by the perennial failures to do it.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Frank Slootweg
2023-06-27 15:31:37 UTC
Permalink
Post by Java Jive
Post by Graham J
Post by Java Jive
Post by Tweed
Is this a real problem though? mDNS seems to solve the problem on my home
network.
But why should you have to resort to a third party service, and
install it, and configure it, to do what the router should be doing
for itself? The very *existence* of third party services like mDNS
proves what I was saying, that the lack of proper local DNS support by
most routers is a problem.  The correct way to solve that problem is
But presumably router manufacturers do not see a demand for proper local
DNS support which is why it doesn't generally exist.
Because their products are aimed mostly at two markets, businesses that
have their own DNS servers, homes that use mostly or only Windows
machines, and in neither of those two situations, for the reasons
already given, is the lack of proper local DNS so much of a problem.
It's only a minority, but possibly a significant one nevertheless, who
need local DNS for Linux machines that notice the problem.
I have used Linux only for a little while (Unix/UNIX for decades) and
haven't used it for a long time, so I should probably mind my own
business :-), but can't/don't Linux systems use DHCP out of the box? (I
can't remember having any trouble when I still had/used my little Linux
'netbook'.)
Post by Java Jive
Post by Graham J
Have you ever found anybody else who shares your view?
Well, a brief search of my sent folder over the last few years found the
following threads here and elsewhere which weren't started by me, and
these were just the ones I noticed and bothered to reply to ...
Are there any VDSL routers out there that do proper DHCP/DNS with names?
As to the 'with names' part, my ISPs cable modem/router (Cisco
EPC3928AD) shows 'Host Name' just fine without any doing on my part. And
to answer your earlier question about names for other (than Linux)
non-Windows devices, it reports the 'Host Name' of my (Samsung Galaxy
A51) Android smartphone just fine.
Post by Java Jive
Routers with USB3 port and SMB2 or (better) SMB3 - are there any?
My modem/router has a USB port for an external disk-drive ('NAS'). I
assume it's USB3 and at least SMB2, but don't know for sure.

IIRC, you use the USB port for a USB mobile-modem 'dongle'. I don't
think my modem/router's USB port can accomodate that.
Post by Java Jive
... so it's not just me that has noticed the problem. Remembering that
these posts are being copied to a Linux group, are you going to claim
that Linux users are an unimportant minority :-)
Linux users are an unimportant minority! :-)
Post by Java Jive
But the real point is that, as proven by open builds such as OpenWRT and
DD-WRT, it would be trivially simple for routers to implement this
properly, it just needs the will to do it, and I for one am exasperated
by the perennial failures to do it.
Java Jive
2023-06-27 16:03:37 UTC
Permalink
Post by Frank Slootweg
Post by Java Jive
Because their products are aimed mostly at two markets, businesses that
have their own DNS servers, homes that use mostly or only Windows
machines, and in neither of those two situations, for the reasons
already given, is the lack of proper local DNS so much of a problem.
It's only a minority, but possibly a significant one nevertheless, who
need local DNS for Linux machines that notice the problem.
I have used Linux only for a little while (Unix/UNIX for decades) and
haven't used it for a long time, so I should probably mind my own
business :-), but can't/don't Linux systems use DHCP out of the box? (I
can't remember having any trouble when I still had/used my little Linux
'netbook'.)
They, the client PCs, do both DHCP and DNS - you seem to be confusing
the two - clients out of the box, the problem is not on the clients
but on most routers that implement DHCP services correctly but DNS
services only partially, so incorrectly.
Post by Frank Slootweg
Post by Java Jive
Post by Graham J
Have you ever found anybody else who shares your view?
Well, a brief search of my sent folder over the last few years found the
following threads here and elsewhere which weren't started by me, and
these were just the ones I noticed and bothered to reply to ...
Are there any VDSL routers out there that do proper DHCP/DNS with names?
As to the 'with names' part, my ISPs cable modem/router (Cisco
EPC3928AD) shows 'Host Name' just fine without any doing on my part. And
to answer your earlier question about names for other (than Linux)
non-Windows devices, it reports the 'Host Name' of my (Samsung Galaxy
A51) Android smartphone just fine.
I was asked if I was the only person encountering this problem, and to
show in reply that I wasn't listed this thread as one where the DNS
problem was raised again a year or so back.
Post by Frank Slootweg
Post by Java Jive
Routers with USB3 port and SMB2 or (better) SMB3 - are there any?
My modem/router has a USB port for an external disk-drive ('NAS'). I
assume it's USB3 and at least SMB2, but don't know for sure.
Again, this was the subject of a thread in which the DNS problem was
raised a year or so back, so is not relevant now.
Post by Frank Slootweg
IIRC, you use the USB port for a USB mobile-modem 'dongle'. I don't
think my modem/router's USB port can accomodate that.
That's correct, landlines around here are nearly or completely useless.
Post by Frank Slootweg
Post by Java Jive
... so it's not just me that has noticed the problem. Remembering that
these posts are being copied to a Linux group, are you going to claim
that Linux users are an unimportant minority :-)
Linux users are an unimportant minority! :-)
I'll leave lynching to the members of alt.os.linux.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Frank Slootweg
2023-06-27 18:01:36 UTC
Permalink
Post by Java Jive
Post by Frank Slootweg
Post by Java Jive
Because their products are aimed mostly at two markets, businesses that
have their own DNS servers, homes that use mostly or only Windows
machines, and in neither of those two situations, for the reasons
already given, is the lack of proper local DNS so much of a problem.
It's only a minority, but possibly a significant one nevertheless, who
need local DNS for Linux machines that notice the problem.
I have used Linux only for a little while (Unix/UNIX for decades) and
haven't used it for a long time, so I should probably mind my own
business :-), but can't/don't Linux systems use DHCP out of the box? (I
can't remember having any trouble when I still had/used my little Linux
'netbook'.)
They, the client PCs, do both DHCP and DNS - you seem to be confusing
the two - clients out of the box, the problem is not on the clients
but on most routers that implement DHCP services correctly but DNS
services only partially, so incorrectly.
Confused!? Moi!? :-)

But you're right, sloppy reading on my part. As to DNS, also the DNS
part gives no problems because my smartphone (see below), i.e. a
non-Windows Linux-like device, has no lookup problems using the DNS
settings as auto-configured in the router part of my modem/router (see
below). When I use the web-UI of the router-part, I see which DNS
servers are configured/used (the router can handle 3, my ISP uses 2).

I hope this covers what you mean. Otherwise we should probably forget
it (I used to be (professionally) versed in this matter, but now I
hardly need to keep this knowledge/experience current, because it mostly
just works).
Post by Java Jive
Post by Frank Slootweg
Post by Java Jive
Post by Graham J
Have you ever found anybody else who shares your view?
Well, a brief search of my sent folder over the last few years found the
following threads here and elsewhere which weren't started by me, and
these were just the ones I noticed and bothered to reply to ...
Are there any VDSL routers out there that do proper DHCP/DNS with names?
As to the 'with names' part, my ISPs cable modem/router (Cisco
EPC3928AD) shows 'Host Name' just fine without any doing on my part. And
to answer your earlier question about names for other (than Linux)
non-Windows devices, it reports the 'Host Name' of my (Samsung Galaxy
A51) Android smartphone just fine.
I was asked if I was the only person encountering this problem, and to
show in reply that I wasn't listed this thread as one where the DNS
problem was raised again a year or so back.
Yes, I know that these were other threads, not yours, but thought
their subjects covered their content/context.
Post by Java Jive
Post by Frank Slootweg
Post by Java Jive
Routers with USB3 port and SMB2 or (better) SMB3 - are there any?
My modem/router has a USB port for an external disk-drive ('NAS'). I
assume it's USB3 and at least SMB2, but don't know for sure.
Again, this was the subject of a thread in which the DNS problem was
raised a year or so back, so is not relevant now.
Check.
Post by Java Jive
Post by Frank Slootweg
IIRC, you use the USB port for a USB mobile-modem 'dongle'. I don't
think my modem/router's USB port can accomodate that.
That's correct, landlines around here are nearly or completely useless.
Post by Frank Slootweg
Post by Java Jive
... so it's not just me that has noticed the problem. Remembering that
these posts are being copied to a Linux group, are you going to claim
that Linux users are an unimportant minority :-)
Linux users are an unimportant minority! :-)
I'll leave lynching to the members of alt.os.linux.
Well, I'm used to Real UNIX (tm) systems, not toys, so ... :-)
Java Jive
2023-06-27 19:07:07 UTC
Permalink
Post by Frank Slootweg
Post by Java Jive
They, the client PCs, do both DHCP and DNS - you seem to be confusing
the two - clients out of the box, the problem is not on the clients
but on most routers that implement DHCP services correctly but DNS
services only partially, so incorrectly.
Confused!? Moi!? :-)
But you're right, sloppy reading on my part. As to DNS, also the DNS
part gives no problems because my smartphone (see below), i.e. a
non-Windows Linux-like device, has no lookup problems using the DNS
settings as auto-configured in the router part of my modem/router (see
below). When I use the web-UI of the router-part, I see which DNS
servers are configured/used (the router can handle 3, my ISP uses 2).
So you're using your ISP's DNS servers to handle your local DNS, but ...

- That is an unnecessary loading on your ISP's DNS servers to do
something that should be being done by your router's DNS service.

- In principle that's a security vulnerability for you, but one which
many accept because of convenience or because they don't know any
better. Although I've got nothing much to hide, on principle I'd
rather my ISP's systems didn't know the details of my LAN which
might then be exposed to the world if they get hacked.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Frank Slootweg
2023-06-27 19:45:59 UTC
Permalink
Post by Java Jive
Post by Frank Slootweg
Post by Java Jive
They, the client PCs, do both DHCP and DNS - you seem to be confusing
the two - clients out of the box, the problem is not on the clients
but on most routers that implement DHCP services correctly but DNS
services only partially, so incorrectly.
Confused!? Moi!? :-)
But you're right, sloppy reading on my part. As to DNS, also the DNS
part gives no problems because my smartphone (see below), i.e. a
non-Windows Linux-like device, has no lookup problems using the DNS
settings as auto-configured in the router part of my modem/router (see
below). When I use the web-UI of the router-part, I see which DNS
servers are configured/used (the router can handle 3, my ISP uses 2).
So you're using your ISP's DNS servers to handle your local DNS, but ...
No, I'm using my ISP's DNS servers to handle *remote* lookups, i.e.
google.com. But I think we've now come to the point that I don't know
what your DNS needs are, because I have a setup (two Windows systems, a
(Synology) NAS (i.e. Windows Network Shares) and Android phones), which
does not have the problems/needs which you have. So my comments are no
longer helpful (if they ever were :-)), Sorry.

(AFAICT,) EOD.
Java Jive
2023-06-27 20:19:32 UTC
Permalink
Post by Frank Slootweg
Post by Java Jive
So you're using your ISP's DNS servers to handle your local DNS, but ...
No, I'm using my ISP's DNS servers to handle *remote* lookups, i.e.
google.com. But I think we've now come to the point that I don't know
what your DNS needs are, because I have a setup (two Windows systems, a
(Synology) NAS (i.e. Windows Network Shares) and Android phones), which
does not have the problems/needs which you have. So my comments are no
longer helpful (if they ever were :-)), Sorry.
(AFAICT,) EOD.
FYI, some routers avoid the hassle of running a local DNS service by
acting as a relay and passing local DNS data up to the ISP's DNS
service. Obviously I can't be sure because every router seems to
implement DNS slightly differently, but it sounds to me as though that
is what yours is doing.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Nick Finnigan
2023-06-27 16:14:46 UTC
Permalink
Post by Frank Slootweg
Linux users are an unimportant minority! :-)
We are all of us Linux users. Whatever the badge on the phone/tv/router.
Frank Slootweg
2023-06-27 18:01:36 UTC
Permalink
Post by Nick Finnigan
Post by Frank Slootweg
Linux users are an unimportant minority! :-)
We are all of us Linux users. Whatever the badge on the phone/tv/router.
That too. And some of us also use Linux-like environments on otherwise
broken OSs (see User-Agent: header)! :-)
Java Jive
2023-07-02 15:09:45 UTC
Permalink
More info now available
Post by Java Jive
Post by Java Jive
Deliberate X-Post for reasons that will become apparent.
Back in February 2019 in uk.telecom.broadband I began a thread entitled
'Routers' asking for advice about what routers would match a given list
of criteria, the result of which was that it was suggested to me, by
Andy Burns I think, that I should flash OpenWRT onto a BT Home Hub 5a.
This I did, and have been using it satisfactorily since with a mobile
dongle plugged into the USB port, so, if you're reading this, thanks
again Andy.
I have also a BT 4G Assure dongle, which a rebadged Huawei E3372h (h =
'HiLink' type).  I appear to have managed to unlock it, and have had it
working in a PC, where I was also able to access its control page at
192.168.8.1, but I can't get it to work with the BTHH5a.
So my first question is:  Can anyone help me get the BT-Badged Huawei
E3372h working?
Instead of ... [Theo's advice moved to later in this post]
Thanks, I'll have a go at this next time the ZTE breaks down, which it
may well do this afternoon during the hottest part of the day.
Well, the weather's been cooler, and the ZTE has been working alright,
but given I had some free time this weekend, I decided to have another
go at this problem. Following are the results of my work, including
working through Theo's advice, which correspondingly has been moved down
there ...

First, the dongle is definitely unlocked. Inserting it into a PC for a
second-time with a SIM does not cause a repetition of the unlock page
that came up first time. Immediately the admin page came up in the
browser and it just worked.
Post by Java Jive
Unless you can find someone who has already got it to work and written up
the exact instructions what to do, which is possible I suppose.
I have found some instructions as below but they didn't work for me ...
https://protyposis.net/blog/using-the-huawei-e3372-hi-link-lte-dongle-with-openwrt/
https://gist.github.com/bjoern-r/1345e8a17f4acf41006330e688af1441
 :-(  I have a number of other modules installed from using the router
with other devices, and one of these, most probably the one that works
with an E3372s, is interfering with the E3372h.
This is not the cause of the problem. I tried returning both the
modules and the configuration back to OpenWRT's 'factory' state,
installed the minimum modules specified by various sources - 2 in the
ones above, 4 in another - and tried again. In both cases, the result
was the same as the first attempt already described, some activity on
the connection in the router admin, but pings to the dongle's IP
192.168.8.1 don't answer and the web admin at that address doesn't load.
Post by Java Jive
 :-(  There are different generations of the E3372h and only some of them
work.
I suspect now that this at least part of the problem. Certainly, there
is historical talk online about some of these Huawei E3372h dongles
remaining in storage mode, showing that modeswitch is not working
correctly with them, though the dmesg excerpts below suggest that that
is not the problem here.

So then it seemed time to try Theo's advice ...
Post by Java Jive
Instead of randomly fiddling with the router config, I'd first see if you
can get a link up on the device. For this you'll need to know how to use
https://en.wikipedia.org/wiki/Iproute2
Here are the anonymised results of Theo's suggested work, the dongle is
eth1 ...

***@OpenWrt:~# ping 192.168.8.1
PING 192.168.8.1 (192.168.8.1): 56 data bytes
ping: sendto: Network unreachable

***@OpenWrt:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state
UP qlen 1000
link/ether [BT HH5a's MAC Address] brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state
UP qlen 1000
link/ether [Dongle's MAC Address] brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether [BT HH5a's WiFi 1 MAC Address] brd ff:ff:ff:ff:ff:ff
5: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether [BT HH5a's WiFi 2 MAC Address] brd ff:ff:ff:ff:ff:ff
6: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether [BT HH5a's Switch Address] brd ff:ff:ff:ff:ff:ff
7: ***@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master br-lan state UP qlen 1000
link/ether [BT HH5a's Switch Address] brd ff:ff:ff:ff:ff:ff

***@OpenWrt:~# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state
UP qlen 1000
link/ether [BT HH5a's MAC Address] brd ff:ff:ff:ff:ff:ff
inet6 [IP6 Address] scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state
UP qlen 1000
link/ether [Dongle's MAC Address] brd ff:ff:ff:ff:ff:ff
inet6 [IP6 Address] scope link
valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether [BT HH5a's WiFi 1 MAC Address] brd ff:ff:ff:ff:ff:ff
5: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether [BT HH5a's WiFi 2 MAC Address] brd ff:ff:ff:ff:ff:ff
6: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether [BT HH5a's Switch Address] brd ff:ff:ff:ff:ff:ff
inet 192.168.7.1/24 brd 192.168.7.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 [IP6 Address] scope global
valid_lft forever preferred_lft forever
inet6 [IP6 Address] scope link
valid_lft forever preferred_lft forever
7: ***@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
master br-lan state UP qlen 1000
link/ether [BT HH5a's Switch Address] brd ff:ff:ff:ff:ff:ff

***@OpenWrt:~# udhcpc eth1
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]

***@OpenWrt:~# ip route show
192.168.7.0/24 dev br-lan scope link src 192.168.7.1

***@OpenWrt:~# ip route show
192.168.7.0/24 dev br-lan scope link src 192.168.7.1
Post by Java Jive
If your suggestions above don't yield an answer, I'll try and
include some tail from dmesg as I unplug and plug back in the dongle.
So here goes ...

***@OpenWrt:~# dmesg | grep -i usb
[ 0.486079] usbcore: registered new interface driver usbfs
[ 0.486229] usbcore: registered new interface driver hub
[ 0.486369] usbcore: registered new device driver usb
[ 4.020739] dwc2 1e101000.ifxhcd: new USB bus registered, assigned
bus number 1
[ 4.048552] hub 1-0:1.0: USB hub found
[ 10.637233] usbcore: registered new interface driver cdc_wdm
[ 10.815229] usbcore: registered new interface driver cdc_ether
[ 10.823643] usbcore: registered new interface driver cdc_ncm
[ 10.849024] usbcore: registered new interface driver huawei_cdc_ncm
[ 11.829053] usb 1-1: new high-speed USB device number 2 using dwc2
[ 13.034951] usb 1-1: USB disconnect, device number 2
[ 13.455742] usb 1-1: new high-speed USB device number 3 using dwc2
[ 13.927632] cdc_ether 1-1:1.0 eth1: register 'cdc_ether' at
usb-1e101000.ifxhcd-1, CDC Ethernet Device, [valid MAC Address]

Noticing the messages about dwc2, I wondered if that was all that was
needed to make the dongle work, so I tried uninstalling the cdc modules,
leaving just the dwc2 module, but actually that made things worse, I
didn't even get the physical device eth1

In case the above is insufficient, the full dmesg log is as follows:

***@OpenWrt:~# dmesg
[ 0.000000] Linux version 4.9.120
(***@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt
GCC 7.3.0 r7102-3f3a2c9) ) #0 SMP Thu Aug 16 07:51:15 2018
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is BT Home Hub 5A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Detected 1 available secondary CPU(s)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 80542640, node_mem_map
81009560
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] percpu: Embedded 12 pages/cpu @8110c000 s17488 r8192
d23472 u49152
[ 0.000000] pcpu-alloc: s17488 r8192 d23472 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=0000aa12
[ 0.000000] Readback ErrCtl register=0000aa12
[ 0.000000] Memory: 122860K/131072K available (4305K kernel code,
173K rwdata, 900K rodata, 1260K init, 244K bss, 8212K reserved, 0K
cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] Setting up vectored interrupts
[ 0.000000] Setting up IPI vectored interrupts
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps
every 8589934590ns
[ 0.007884] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042381] pid_max: default: 32768 minimum: 301
[ 0.047258] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.053796] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.065582] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
[ 0.065594] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[ 0.065782] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.116509] Synchronize counters for CPU 1:
[ 0.116511] done.
[ 0.123013] Brought up 2 CPUs
[ 0.130710] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.140374] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.146601] pinctrl core: initialized pinctrl subsystem
[ 0.153098] NET: Registered protocol family 16
[ 0.165952] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.171945] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7,
channels: 28
[ 0.284676] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.290482] Can't analyze schedule() prologue at 8043158c
[ 0.317221] PCI host bridge /***@10000000/***@E105400 ranges:
[ 0.322903] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.328172] IO 0x000000001ae00000..0x000000001affffff
[ 0.452204] PCI host bridge /***@10000000/***@d900000 ranges:
[ 0.484574] random: fast init done
[ 0.486079] usbcore: registered new interface driver usbfs
[ 0.486229] usbcore: registered new interface driver hub
[ 0.486369] usbcore: registered new device driver usb
[ 0.486844] PCI host bridge to bus 0000:00
[ 0.486873] pci_bus 0000:00: root bus resource [mem
0x18000000-0x19ffffff]
[ 0.486891] pci_bus 0000:00: root bus resource [io
0x1ae00000-0x1affffff]
[ 0.486908] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.486926] pci_bus 0000:00: No busn resource found for root bus,
will use [bus 00-ff]
[ 0.487039] pci 0000:00:0e.0: [168c:ff1d] type 00 class 0x020000
[ 0.487088] pci 0000:00:0e.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 0.487588] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.487629] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.487884] PCI host bridge to bus 0000:01
[ 0.487909] pci_bus 0000:01: root bus resource [mem
0x1c000000-0x1cffffff]
[ 0.487926] pci_bus 0000:01: root bus resource [io
0x1d800000-0x1d8fffff]
[ 0.487943] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 0.487960] pci_bus 0000:01: No busn resource found for root bus,
will use [bus 01-ff]
[ 0.488033] pci 0000:01:00.0: [1bef:0011] type 01 class 0x060000
[ 0.488052] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to
pci-pci bridge
[ 0.499634] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 0.500015] pci 0000:01:00.0: bridge configuration invalid ([bus
02-00]), reconfiguring
[ 0.500355] pci 0000:02:00.0: [168c:003c] type 00 class 0x028000
[ 0.500427] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.500511] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.500676] pci 0000:02:00.0: supports D1 D2
[ 0.501022] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 0.501058] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 02
[ 0.501117] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[ 0.501144] pci 0000:01:00.0: BAR 9: assigned [mem
0x1c200000-0x1c2fffff pref]
[ 0.501176] pci 0000:02:00.0: BAR 0: assigned [mem
0x1c000000-0x1c1fffff 64bit]
[ 0.501225] pci 0000:02:00.0: BAR 6: assigned [mem
0x1c200000-0x1c20ffff pref]
[ 0.501242] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 0.501269] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff]
[ 0.501293] pci 0000:01:00.0: bridge window [mem
0x1c200000-0x1c2fffff pref]
[ 0.501420] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.501431] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.501473] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 0.501482] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 0.668491] clocksource: Switched to clocksource MIPS
[ 0.674950] NET: Registered protocol family 2
[ 0.680339] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.687179] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.693590] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.700108] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.705975] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.712591] NET: Registered protocol family 1
[ 0.716934] PCI: CLS 0 bytes, default 32
[ 0.720513] gptu: totally 6 16-bit timers/counters
[ 0.725390] gptu: misc_register on minor 63
[ 0.729695] gptu: succeeded to request irq 126
[ 0.734080] gptu: succeeded to request irq 127
[ 0.738619] gptu: succeeded to request irq 128
[ 0.743124] gptu: succeeded to request irq 129
[ 0.747617] gptu: succeeded to request irq 130
[ 0.752155] gptu: succeeded to request irq 131
[ 0.757011] phy-xrx200 gphy-xrx200: requesting
lantiq/xrx200_phy11g_a22.bin
[ 0.764559] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7E60000
[ 0.770925] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7E60000
[ 0.878386] No VPEs reserved for AP/SP, not initialize VPE loader
[ 0.878386] Pass maxvpes=<n> argument as kernel argument
[ 0.889764] No TCs reserved for AP/SP, not initializing RTLX.
[ 0.889764] Pass maxtcs=<n> argument as kernel argument
[ 0.902583] Crashlog allocated RAM at address 0x3f00000
[ 0.908307] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.931203] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.936964] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.952498] io scheduler noop registered
[ 0.956337] io scheduler deadline registered (default)
[ 0.962857] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112,
base_baud = 0) is a lantiq,asc
[ 0.971784] console [ttyLTQ0] enabled
[ 0.979109] bootconsole [early0] disabled
[ 0.990439] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.995414] nand: AMD/Spansion S34ML01G1
[ 0.999380] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048,
OOB size: 64
[ 1.007518] Bad block table found at page 65472, version 0x01
[ 1.013520] Bad block table found at page 65408, version 0x01
[ 1.018664] 4 fixed-partitions partitions found on MTD device
14000000.nand-parts
[ 1.025854] Creating 4 MTD partitions on "14000000.nand-parts":
[ 1.031782] 0x000000000000-0x0000000a0000 : "u-boot"
[ 1.038841] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[ 1.044942] 0x0000000c0000-0x000000100000 : "unused"
[ 1.050854] 0x000000100000-0x000007f80000 : "ubi"
[ 1.061518] libphy: Fixed MDIO Bus: probed
[ 1.169052] libphy: lantiq,xrx200-mdio: probed
[ 1.177117] net-xrx200: invalid MAC, using random
[ 1.251188] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 0:00:
attached PHY driver [Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6]
(mii_bus:phy_addr=0:00, irq=-1)
[ 1.335167] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 0:01:
attached PHY driver [Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6]
(mii_bus:phy_addr=0:01, irq=-1)
[ 1.419151] Intel XWAY PHY11G (xRX v1.2 integrated) 0:11: attached
PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)]
(mii_bus:phy_addr=0:11, irq=-1)
[ 1.503151] Intel XWAY PHY11G (xRX v1.2 integrated) 0:13: attached
PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)]
(mii_bus:phy_addr=0:13, irq=-1)
[ 1.587166] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 0:05:
attached PHY driver [Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6]
(mii_bus:phy_addr=0:05, irq=-1)
[ 1.704762] ltq-cputemp ***@0: Current CPU die temperature: 25.0 °C
[ 1.710420] wdt 1f8803f0.watchdog: Init done
[ 1.720616] NET: Registered protocol family 10
[ 1.725866] NET: Registered protocol family 17
[ 1.729060] bridge: filtering via arp/ip/ip6tables is no longer
available by default. Update your scripts to load br_netfilter if you
need this.
[ 1.741885] 8021q: 802.1Q VLAN Support v1.8
[ 1.750189] UBI: auto-attach mtd3
[ 1.752159] ubi0: attaching mtd3
[ 1.894890] ubi0: scanning is finished
[ 1.911805] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[ 1.915895] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024
bytes
[ 1.922768] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 1.929440] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[ 1.936236] ubi0: good PEBs: 1012, bad PEBs: 0, corrupted PEBs: 0
[ 1.942343] ubi0: user volume: 4, internal volumes: 1, max. volumes
count: 128
[ 1.949571] ubi0: max/mean erase counter: 1244/923, WL threshold:
4096, image sequence number: 918029805
[ 1.959043] ubi0: available PEBs: 0, total reserved PEBs: 1012, PEBs
reserved for bad PEB handling: 20
[ 1.968410] ubi0: background thread "ubi_bgt0d" started, PID 375
[ 1.970296] block ubiblock0_1: created from ubi0:1(rootfs)
[ 1.970309] ubiblock: device ubiblock0_1 (rootfs) set to be root
filesystem
[ 1.992825] VFS: Mounted root (squashfs filesystem) readonly on
device 254:0.
[ 2.002423] Freeing unused kernel memory: 1260K
[ 2.005572] This architecture does not have kernel memory protection.
[ 2.601946] init: Console is alive
[ 2.604401] init: - watchdog -
[ 3.793803] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.912116] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 4.017031] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 4.020739] dwc2 1e101000.ifxhcd: new USB bus registered, assigned
bus number 1
[ 4.027969] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 4.033492] dwc2 1e101000.ifxhcd: Hardware does not support
descriptor DMA mode -
[ 4.040925] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 4.048552] hub 1-0:1.0: USB hub found
[ 4.051072] hub 1-0:1.0: 1 port detected
[ 4.056298] kmodloader: done loading kernel modules from
/etc/modules-boot.d/*
[ 4.072713] init: - preinit -
[ 5.114676] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.119445] lantiq,xrx200-net 1e108000.eth eth0: port 1 got link
[ 5.125537] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 5.151604] random: procd: uninitialized urandom read (4 bytes read)
[ 8.398729] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started,
PID 439
[ 8.436958] UBIFS (ubi0:2): recovery needed
[ 8.531834] UBIFS (ubi0:2): recovery completed
[ 8.535079] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2,
name "rootfs_data"
[ 8.542727] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB),
min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 8.552644] UBIFS (ubi0:2): FS size: 120508416 bytes (114 MiB, 934
LEBs), journal size 6064128 bytes (5 MiB, 47 LEBs)
[ 8.563240] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[ 8.569889] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0),
UUID 98C9272D-95B9-4EAE-AD17-96AB8413C967, small LPT model
[ 8.584080] mount_root: switching to ubifs overlay
[ 8.621506] urandom-seed: Seeding with /etc/urandom.seed
[ 8.859074] procd: - early -
[ 8.860670] procd: - watchdog -
[ 9.226743] lantiq,xrx200-net 1e108000.eth eth0: port 1 lost link
[ 9.541523] procd: - watchdog -
[ 9.543849] procd: - ubus -
[ 9.797070] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.821109] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.913675] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.921948] procd: - init -
[ 10.533835] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.542827] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq
Deutschland GmbH
[ 10.553648] NET: Registered protocol family 8
[ 10.556662] NET: Registered protocol family 20
[ 10.566881] PPP generic driver version 2.4.2
[ 10.575842] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.598237] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c)
2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[ 10.615669]
[ 10.615669]
[ 10.615669] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[ 10.623376]
[ 10.623376] Predefined debug level: 3
[ 10.637233] usbcore: registered new interface driver cdc_wdm
[ 10.643248] Loading modules backported from Linux version
wt-2017-11-01-0-gfe248fc2c180
[ 10.649886] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.659457] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.668257] Infineon Technologies DEU driver version 2.0.0
[ 10.674454] IFX DEU DES initialized (multiblock).
[ 10.679295] IFX DEU AES initialized (multiblock).
[ 10.683219] IFX DEU ARC4 initialized (multiblock).
[ 10.687709] IFX DEU SHA1 initialized.
[ 10.691358] IFX DEU MD5 initialized.
[ 10.694912] IFX DEU SHA1_HMAC initialized.
[ 10.699005] IFX DEU MD5_HMAC initialized.
[ 10.710384] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 10.761868] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 10.771851] owl-loader 0000:00:0e.0: fixup device configuration
[ 10.776527] NET: Registered protocol family 24
[ 10.778793] pci 0000:00:0e.0: [168c:002d] type 00 class 0x028000
[ 10.778849] pci 0000:00:0e.0: reg 0x10: [mem 0x18000000-0x1800ffff]
[ 10.778975] pci 0000:00:0e.0: PME# supported from D0 D3hot
[ 10.779421] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 10.810502] xt_time: kernel timezone is -0000
[ 10.815229] usbcore: registered new interface driver cdc_ether
[ 10.823643] usbcore: registered new interface driver cdc_ncm
[ 10.849024] usbcore: registered new interface driver huawei_cdc_ncm
[ 10.937185] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 10.941585] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[ 10.947444] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1
irq_mode 0 reset_mode 0
[ 11.168749] ath10k_pci 0000:02:00.0: Direct firmware load for
ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 11.178103] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 11.308953] firmware ath10k!pre-cal-pci-0000:02:00.0.bin:
firmware_loading_store: map pages failed
[ 11.318499] ath10k_pci 0000:02:00.0: Direct firmware load for
ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 11.327909] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 11.580110] firmware ath10k!QCA988X!hw2.0!firmware-6.bin:
firmware_loading_store: map pages failed
[ 11.829053] usb 1-1: new high-speed USB device number 2 using dwc2
[ 11.835902] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c
chip_id 0x043202ff sub 0000:0000
[ 11.843797] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1
tracing 0 dfs 1 testmode 1
[ 11.859242] ath10k_pci 0000:02:00.0: firmware ver 10.2.4-1.0-00033
api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
[ 11.902808] ath10k_pci 0000:02:00.0: Direct firmware load for
ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 11.911919] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 12.044265] firmware ath10k!QCA988X!hw2.0!board-2.bin:
firmware_loading_store: map pages failed
[ 12.052681] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A
crc32 bebc7c08
[ 12.882000] dwc2 1e101000.ifxhcd: Not connected
[ 13.034951] usb 1-1: USB disconnect, device number 2
[ 13.254083] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2
cal file max-sta 128 raw 0 hwcrypto 1
[ 13.378469] ath: EEPROM regdomain: 0x833a
[ 13.378567] ath: EEPROM indicates we should expect a country code
[ 13.378589] ath: doing EEPROM country->regdmn map search
[ 13.378605] ath: country maps to regdmn code: 0x37
[ 13.378617] ath: Country alpha2 being used: GB
[ 13.378624] ath: Regpair used: 0x37
[ 13.455742] usb 1-1: new high-speed USB device number 3 using dwc2
[ 13.499103] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 13.516767] ath: phy1: Ignoring endianness difference in EEPROM magic
bytes.
[ 13.524362] ath: EEPROM regdomain: 0x833a
[ 13.524376] ath: EEPROM indicates we should expect a country code
[ 13.524396] ath: doing EEPROM country->regdmn map search
[ 13.524408] ath: country maps to regdmn code: 0x37
[ 13.524418] ath: Country alpha2 being used: GB
[ 13.524426] ath: Regpair used: 0x37
[ 13.543655] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 13.549867] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30
[ 13.563114] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.927632] cdc_ether 1-1:1.0 eth1: register 'cdc_ether' at
usb-1e101000.ifxhcd-1, CDC Ethernet Device, [valid MAC Address]
[ 20.706646] random: crng init done
[ 20.708597] random: 6 urandom warning(s) missed due to ratelimiting
[ 27.211945] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.238391] device eth0 entered promiscuous mode
[ 27.250751] br-lan: port 1(eth0.1) entered blocking state
[ 27.254867] br-lan: port 1(eth0.1) entered disabled state
[ 27.261029] device eth0.1 entered promiscuous mode
[ 27.279744] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 27.323307] cdc_ether 1-1:1.0 eth1: kevent 12 may have been dropped
[ 30.408492] lantiq,xrx200-net 1e108000.eth eth0: port 1 got link
[ 30.422852] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 30.429123] br-lan: port 1(eth0.1) entered blocking state
[ 30.433250] br-lan: port 1(eth0.1) entered forwarding state
[ 30.443061] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-02 16:28:25 UTC
Permalink
Post by Java Jive
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]
That suggests it's not responding to DHCP.

It seems that it's possible to disable DHCP on the stick. Does it get an
address if you plug it into a PC? If not, maybe you need to work out how to
enable it.
Post by Java Jive
Noticing the messages about dwc2, I wondered if that was all that was
needed to make the dongle work, so I tried uninstalling the cdc modules,
leaving just the dwc2 module, but actually that made things worse, I
didn't even get the physical device eth1
dwc2 is the driver for the USB controller, so messing with that is likely to
break things. cdc_ether is the driver for USB ethernet, which the stick
pretends to be.

It sounds like the ethernet device is coming up, so I don't think you need
any shenanigans with usb_modeswitch, which is used for some sticks which
first pretend to be DVD devices with the Windows software on them.

If you have a Linux PC, I'd see if you can get it to work from there, as
that will give confidence that everything is in order. I think on some of
them there's a web interface where you set the APN, and it would make sense
if that can be set up from a PC.

Theo
Andy Burns
2023-07-02 16:34:16 UTC
Permalink
Post by Theo
Post by Java Jive
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]
That suggests it's not responding to DHCP.
These "NIC-on-a-stick" models fake it, the DHCP server that they appear
to talk to is internal to the stick, not on the far side of the 4G radio
Theo
2023-07-02 16:36:59 UTC
Permalink
Post by Andy Burns
Post by Theo
Post by Java Jive
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]
That suggests it's not responding to DHCP.
These "NIC-on-a-stick" models fake it, the DHCP server that they appear
to talk to is internal to the stick, not on the far side of the 4G radio
Indeed, so a lack of DHCP means there's something wrong with the stick or
its config, rather than anything to do with the network. In particular you
need DHCP working to get to the settings web page for the mobile network.

Theo
Carlos E.R.
2023-07-02 18:00:56 UTC
Permalink
Post by Theo
Post by Andy Burns
Post by Theo
Post by Java Jive
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]
That suggests it's not responding to DHCP.
These "NIC-on-a-stick" models fake it, the DHCP server that they appear
to talk to is internal to the stick, not on the far side of the 4G radio
Indeed, so a lack of DHCP means there's something wrong with the stick or
its config, rather than anything to do with the network. In particular you
need DHCP working to get to the settings web page for the mobile network.
Or, you could manually setup that internal "fake" lan assigning IP
addresses manually, same as when you configure a computer to access a
new gadget with network interface before connecting it for real.
--
Cheers, Carlos.
Theo
2023-07-02 20:27:31 UTC
Permalink
Post by Carlos E.R.
Post by Theo
Post by Andy Burns
Post by Theo
Post by Java Jive
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]
That suggests it's not responding to DHCP.
These "NIC-on-a-stick" models fake it, the DHCP server that they appear
to talk to is internal to the stick, not on the far side of the 4G radio
Indeed, so a lack of DHCP means there's something wrong with the stick or
its config, rather than anything to do with the network. In particular you
need DHCP working to get to the settings web page for the mobile network.
Or, you could manually setup that internal "fake" lan assigning IP
addresses manually, same as when you configure a computer to access a
new gadget with network interface before connecting it for real.
We'd need to know what IP address the dongle is listening at, which is
something the OP will have to find out. Once we know that we can configure
one in the same subnet to the PC and try to get into the dongle
configuration web pages. Once we're in, there should be a toggle for DHCP.
There isn't much to be gained by using a static IP here apart from the
initial setup.

If it's not clear what the default IP of the dongle is, or it doesn't work,
then there may be a factory reset procedure.

The main thing is this dongle behaves much like a home router, except with
the Ethernet over USB and the WAN being wireless. So you need to think like
you're configuring a router.

Theo
Java Jive
2023-07-03 01:30:10 UTC
Permalink
Post by Theo
Post by Java Jive
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover [Ctrl-C pressed after some delay]
That suggests it's not responding to DHCP.
No, actually it's the stick that's not booting its networking, because
knowing what subnet it should be using I tried Carlos' suggestion
downthread of using a fixed IP, without any change. But see below for
the good news ...
Post by Theo
It seems that it's possible to disable DHCP on the stick. Does it get an
address if you plug it into a PC? If not, maybe you need to work out how to
enable it.
It just works if I plug it into a W7 PC.
Post by Theo
It sounds like the ethernet device is coming up, so I don't think you need
any shenanigans with usb_modeswitch, which is used for some sticks which
first pretend to be DVD devices with the Windows software on them.
No, it's definitely getting that far alright, the dmesg output shows that.
Post by Theo
If you have a Linux PC, I'd see if you can get it to work from there, as
that will give confidence that everything is in order. I think on some of
them there's a web interface where you set the APN, and it would make sense
if that can be set up from a PC.
Think I've solved it, but have yet to test with the SIM ...

After various searches long into the night finding nothing that fixed
it, in desperation I wondered whether an updated image would help, so I
flashed OpenWRT 18.0.6 r7808-ef686b7292 which has been fixed for an
OpenWRT problem specific to certain routers (not the same as my problem
that has been the subject of this thread) ...

https://forum.openwrt.org/t/18-06-4-speed-fix-for-bt-homehub-5a/23643
https://bit.ly/2xypJqv

... and now I get the dongle admin page come up at 192.168.8.1, so I'm
reasonably certain that when I put the SIM in the dongle it should work.
Too late for that now, though, a job for tomorrow maybe.

Thanks with much appreciation to everyone who has given advice and help.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-03 12:19:58 UTC
Permalink
Post by Java Jive
After various searches long into the night finding nothing that fixed
it, in desperation I wondered whether an updated image would help, so I
flashed OpenWRT 18.0.6 r7808-ef686b7292 which has been fixed for an
OpenWRT problem specific to certain routers (not the same as my problem
that has been the subject of this thread) ...
https://forum.openwrt.org/t/18-06-4-speed-fix-for-bt-homehub-5a/23643
https://bit.ly/2xypJqv
... and now I get the dongle admin page come up at 192.168.8.1, so I'm
reasonably certain that when I put the SIM in the dongle it should work.
Too late for that now, though, a job for tomorrow maybe.
Oh, that's really old. Were you on something even older?

The current stable release is 22.03 and there's an 23.05-rc2 available.
I'm using 22.03 reliably on a HH5a with no problems (although not using USB
though). 23.05-rc1 has also been working fine for me on a Fritzbox 7530.

Download links from here:
https://openwrt.org/

Theo
Java Jive
2023-07-03 15:39:53 UTC
Permalink
Post by Theo
Post by Java Jive
After various searches long into the night finding nothing that fixed
it, in desperation I wondered whether an updated image would help, so I
flashed OpenWRT 18.0.6 r7808-ef686b7292 which has been fixed for an
OpenWRT problem specific to certain routers (not the same as my problem
that has been the subject of this thread) ...
https://forum.openwrt.org/t/18-06-4-speed-fix-for-bt-homehub-5a/23643
https://bit.ly/2xypJqv
... and now I get the dongle admin page come up at 192.168.8.1, so I'm
reasonably certain that when I put the SIM in the dongle it should work.
Too late for that now, though, a job for tomorrow maybe.
Oh, that's really old.
I know, but ...
Post by Theo
Were you on something even older?
18-06-1
Post by Theo
The current stable release is 22.03 and there's an 23.05-rc2 available.
I'm using 22.03 reliably on a HH5a with no problems (although not using USB
though). 23.05-rc1 has also been working fine for me on a Fritzbox 7530.
https://openwrt.org/
I tried the current 22 and got a message that the file was in the wrong
format.

Currently I'm trying to create a single configuration that will work
with any of my dongles and my mobile. I think I'm nearly there, but my
original dongle, a Huawei E3372s, worked at first and then did not. The
only significant thing that I did in between the successful and the
unsuccessful attempt was to try altering the IP6 connections. Something
about doing this altered the way the E3372s came up, connecting the
interface thereafter produced an OpenWRT constructed virtual IP4
interface, which at first I couldn't assign to a firewall zone - the
vinterface only appeared when the dongle was connected and then it
wasn't editable. I got round this by hacking /etc/config/firewall and
rebooting, but even though the vinterface was now in the correct
firewall zone, I still couldn't connect to the internet. So I've just
gone back to factory defaults and started again.

I'm not very well up on IP6, so expect a question about that soon!
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-03 16:46:38 UTC
Permalink
Post by Java Jive
I tried the current 22 and got a message that the file was in the wrong
format.
There is typically a 'first install' kernel.bin, and a sysupgrade.bin for
upgrading a router that already has OpenWRT:

https://firmware-selector.openwrt.org/?version=22.03.5&target=lantiq%2Fxrx200&id=bt_homehub-v5a

You want the latter. I normally upgrade by something like:

$ scp sysupgrade.bin ***@192.168.1.1:/tmp
$ ssh ***@192.168.1.1
...
# sysupgrade /tmp/sysupgrade.bin

but you can also do it from the GUI.
Post by Java Jive
Currently I'm trying to create a single configuration that will work
with any of my dongles and my mobile. I think I'm nearly there, but my
original dongle, a Huawei E3372s, worked at first and then did not. The
only significant thing that I did in between the successful and the
unsuccessful attempt was to try altering the IP6 connections. Something
about doing this altered the way the E3372s came up, connecting the
interface thereafter produced an OpenWRT constructed virtual IP4
interface, which at first I couldn't assign to a firewall zone - the
vinterface only appeared when the dongle was connected and then it
wasn't editable. I got round this by hacking /etc/config/firewall and
rebooting, but even though the vinterface was now in the correct
firewall zone, I still couldn't connect to the internet. So I've just
gone back to factory defaults and started again.
I'm not sure I follow what's going on there, but just to say that
onemarcfifty on YouTube has a number of videos on configuring OpenWRT, and
you might find them helpful in understanding what's going on:

https://www.youtube.com/@OneMarcFifty/playlists

(in particular they changed the VLAN config in v21 and I found his video on
that useful in understanding what the differences were so I could port my
config to the new setup)
Post by Java Jive
I'm not very well up on IP6, so expect a question about that soon!
Fire away :-)

Theo
Java Jive
2023-07-03 21:33:13 UTC
Permalink
Post by Theo
Post by Java Jive
I tried the current 22 and got a message that the file was in the wrong
format.
There is typically a 'first install' kernel.bin, and a sysupgrade.bin for
https://firmware-selector.openwrt.org/?version=22.03.5&target=lantiq%2Fxrx200&id=bt_homehub-v5a
Thanks, I've just tried that, but unfortunately now I can't get the
admin interface to load. I can only ssh into it. Struggling to roll it
back.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-03 21:45:53 UTC
Permalink
Post by Java Jive
Post by Theo
Post by Java Jive
I tried the current 22 and got a message that the file was in the wrong
format.
There is typically a 'first install' kernel.bin, and a sysupgrade.bin for
https://firmware-selector.openwrt.org/?version=22.03.5&target=lantiq%2Fxrx200&id=bt_homehub-v5a
Thanks, I've just tried that, but unfortunately now I can't get the
admin interface to load. I can only ssh into it. Struggling to roll it
back.
It may be the Luci GUI isn't installed, as on some low memory images. You
may need to install it by hand:
https://openwrt.org/docs/guide-user/luci/luci.essentials

Theo
Java Jive
2023-07-04 13:28:01 UTC
Permalink
Post by Theo
Post by Java Jive
Post by Theo
Post by Java Jive
I tried the current 22 and got a message that the file was in the wrong
format.
There is typically a 'first install' kernel.bin, and a sysupgrade.bin for
https://firmware-selector.openwrt.org/?version=22.03.5&target=lantiq%2Fxrx200&id=bt_homehub-v5a
Thanks, I've just tried that, but unfortunately now I can't get the
admin interface to load. I can only ssh into it. Struggling to roll it
back.
It may be the Luci GUI isn't installed, as on some low memory images. You
https://openwrt.org/docs/guide-user/luci/luci.essentials
Last night I didn't seem able to even communicate with it via the LAN,
so I put it aside as potentially bricked, and concentrated on the other
two (three in total because I keep a spare as backup, and an old one was
out-of-use as possibly flaky). I managed to reconfigure both the other
two to use any of my dongles and/or my mobile phone. One of these is in
use ATM, but it's the potentially flaky one. However, as currently it's
downloading Wimbledon, I'll wait until either that's complete or the
router gives problems and loses the connection before swapping back the
one that was in use before, now also reconfigured as above.

I'll probably make a new thread to post exactly how I've accomplished
this reconfiguration, so that any information that may potentially be
useful to others can be found in one post, rather than trawling through
this entire thread.

Returning this lunchtime to the one partially bricked by installing 22,
I can now connect to it and ssh into it, but that's about all. I'm
getting consistent errors on trying to install luci or do anything else
useful with it:

***@OpenWrt:~# opkg update && opkg install luci
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/Packages.sig
Signature check passed.
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
*** Failed to download the package list from
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
~
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Collected errors:
* opkg_download: Failed to download
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364d
a2397b9f1b7fd3b92933663f5d/Packages.gz, wget returned 8.

If I try to install luci regardless of the above error, I get ...

***@OpenWrt:~# opkg install luci
Installing luci (git-23.051.66410-a505bb1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/luci_git-23.051.66410-a505bb1_all.ipk
Installing luci-proto-ipv6 (git-21.148.48881-79947af) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/luci-proto-ipv6_git-21.148.48881-79947af_all.ipk
Installing luci-app-firewall (git-23.174.36228-fbe1875) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/luci-app-firewall_git-23.174.36228-fbe1875_all.ipk
Installing libubox20230523 (2023-05-23-75a3b870-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libubox20230523_2023-05-23-75a3b870-1_mips_24kc.ipk
Installing libubus20220615 (2022-06-15-9913aa61-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libubus20220615_2022-06-15-9913aa61-1_mips_24kc.ipk
Installing libjson-c5 (0.16-3) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libjson-c5_0.16-3_mips_24kc.ipk
Installing libblobmsg-json20230523 (2023-05-23-75a3b870-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libblobmsg-json20230523_2023-05-23-75a3b870-1_mips_24kc.ipk
Installing rpcd (2023-07-01-c07ab2f9-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/rpcd_2023-07-01-c07ab2f9-1_mips_24kc.ipk
Installing rpcd-mod-file (2023-07-01-c07ab2f9-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/rpcd-mod-file_2023-07-01-c07ab2f9-1_mips_24kc.ipk
Installing libnl-tiny2023-07-01 (2023-07-01-d433990c-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libnl-tiny2023-07-01_2023-07-01-d433990c-1_mi
ps_24kc.ipk
Configuring libjson-c5.
Configuring libubox20230523.
Configuring libblobmsg-json20230523.
Configuring libubus20220615.
Configuring rpcd.
Configuring luci-app-firewall.
Configuring rpcd-mod-file.
Command failed: Not found
Configuring luci-proto-ipv6.
Collected errors:
* check_data_file_clashes: Package libnl-tiny2023-07-01 wants to
install file /usr/lib/libnl-tiny.so
But that file is already provided by package * libnl-tiny
* opkg_install_cmd: Cannot install package luci.

So now I'm trying to roll it back to a build that I know works, the
question is how? Particularly, how to get a retro image onto it?

I've tried ssh-ing in and mounting an NFS share on my NAS, which for
certain I can do from a Linux PC without any problem, but the router
gives a message along the lines of "device not available", which, as the
device clearly is available, probably means that the NFS networking
client is not installed by default. So I looked up how to install it,
but I get an error with that too:

***@OpenWrt:~# opkg install kmod-fs-nfs kmod-fs-nfs-common nfs-utils
Installing kmod-fs-nfs (5.15.111-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/kmod-fs-nfs_5.15.111-1_mips_24kc.ipk
Installing kmod-fs-nfs-common (5.15.111-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/kmod-fs-nfs-common_5.15.111-1_mips_24kc.ipk
Installing nfs-utils (2.6.2-3) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/nfs-utils_2.6.2-3_mips_24kc.ipk
Multiple packages (libpthread and libpthread) providing same name marked
HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked
HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or
PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked
HOLD or PREFER. Using latest.
Configuring kmod-fs-nfs-common.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-fs-nfs:
* kernel (= 5.15.111-1-cf66ca0b201d986f9127dda1b9bbc526)
* opkg_install_cmd: Cannot install package kmod-fs-nfs.
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for nfs-utils:
* kernel (= 5.15.111-1-cf66ca0b201d986f9127dda1b9bbc526)
* opkg_install_cmd: Cannot install package nfs-utils.

So then I tried installing the packages for mounting a USB stick, but
that fails too, some of the errors being the same:

***@OpenWrt:~# opkg install block-mount e2fsprogs kmod-fs-vfat
kmod-usb2 kmod-usb3
Installing block-mount (2023-02-28-bfe882d5-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/block-mount_2023-02-28-bfe882d5-1_mips
_24kc.ipk
Installing e2fsprogs (1.47.0-2) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/e2fsprogs_1.47.0-2_mips_24kc.ipk
Multiple packages (librt and librt) providing same name marked HOLD or
PREFER. Using latest.
Installing libuuid1 (2.39-2) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libuuid1_2.39-2_mips_24kc.ipk
Installing libblkid1 (2.39-2) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libblkid1_2.39-2_mips_24kc.ipk
Installing libcomerr0 (1.47.0-2) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libcomerr0_1.47.0-2_mips_24kc.ipk
Installing libss2 (1.47.0-2) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libss2_1.47.0-2_mips_24kc.ipk
Installing libext2fs2 (1.47.0-2) to root...
Downloading
http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libext2fs2_1.47.0-2_mips_24kc.ipk
Installing kmod-fs-vfat (5.15.111-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/kmod-fs-vfat_5.15.111-1_mips_24kc.ipk
Installing kmod-usb2 (5.15.111-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/kmod-usb2_5.15.111-1_mips_24kc.ipk
Installing kmod-usb3 (5.15.111-1) to root...
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages/kmod-usb3_5.15.111-1_mips_24kc.ipk
Configuring libuuid1.
Configuring libblkid1.
Configuring libcomerr0.
Configuring libss2.
Configuring libext2fs2.
Configuring e2fsprogs.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for block-mount:
* libubox20220927
* libblobmsg-json20220927
* opkg_install_cmd: Cannot install package block-mount.
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-fs-vfat:
* kernel (= 5.15.111-1-cf66ca0b201d986f9127dda1b9bbc526)
* opkg_install_cmd: Cannot install package kmod-fs-vfat.
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-usb2:
* kernel (= 5.15.111-1-cf66ca0b201d986f9127dda1b9bbc526)
* opkg_install_cmd: Cannot install package kmod-usb2.
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-usb3:
* kernel (= 5.15.111-1-cf66ca0b201d986f9127dda1b9bbc526)
* opkg_install_cmd: Cannot install package kmod-usb3.

Last night, when it had seemed to be totally bricked, I tried
reconnecting the serial lead that originally I had used to reflash it
with OpenWRT, but I think that perhaps the lead has developed a fault,
because keystrokes to break into the boot process were ignored.

I have a TUMPA as an alternative, but have completely forgotten how to
use it!

That's all I have time for ATM. Thanks & regards for the help so far.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Andy Burns
2023-07-04 16:19:34 UTC
Permalink
Post by Java Jive
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
*** Failed to download the package list from
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
Looks as though you may have installed a daily snapshot version, not a
release version?

IME the corresponding snapshot packages are only available for 24 hours,
after which you need to install a new snapshot and get the packages
while they're "hot"
Java Jive
2023-07-04 19:58:24 UTC
Permalink
Post by Andy Burns
Post by Java Jive
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
*** Failed to download the package list from
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
Looks as though you may have installed a daily snapshot version, not a
release version?
IME the corresponding snapshot packages are only available for 24 hours,
after which you need to install a new snapshot and get the packages
while they're "hot"
Possibly, I followed Theo's link, but I may have clicked the wrong
download. I managed to get my USB-Serial lead working again, and now
have rolled it back to the same 18.06.4 version and configuration that
worked with the others.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-08 15:42:00 UTC
Permalink
Post by Java Jive
Post by Andy Burns
Post by Java Jive
Downloading
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
*** Failed to download the package list from
http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/kmods/4.14.99-1-e1364da2397b9f1b7fd3b92933663f5d/Packages.gz
Looks as though you may have installed a daily snapshot version, not a
release version?
IME the corresponding snapshot packages are only available for 24 hours,
after which you need to install a new snapshot and get the packages
while they're "hot"
Possibly, I followed Theo's link, but I may have clicked the wrong
download. I managed to get my USB-Serial lead working again, and now
have rolled it back to the same 18.06.4 version and configuration that
worked with the others.
For the record, I've just done this with a Homehub 5a.

Currently they're not offering a 23.05 release candidate because of a
blocking bug:
https://patchwork.kernel.org/project/netdevbpf/patch/20220630212703.3280485-1-***@googlemail.com/
via
https://github.com/openwrt/openwrt/issues/10672

which as I understand is quite harmless - it spews a message in the
dmesg:

gswip 1e108000.switch: port 0 failed to add [mac address] vid 1 to fdb: -22

but that's easy to ignore. So I installed the snapshot build anyway.
That preserved config but wiped my packages, so I had to reinstall them.
For whatever reason the snapshot builds don't include luci by default.

First of all, connect the router to the internet. We need to install luci
via opkg, so opkg needs some networking. In the default config the WAN
ethernet port will work as an internet connection which would be sufficient.
If you have a different setup you'll need to set it up to get a route via
one of the ethernet ports - it may require use of 'ip addr add' and 'ip route
add' commands, and setting the DNS server in /etc/resolv.conf. I did
something like:

First udhcpd so the router doesn't offer DHCP responses
# ps
look for the process ID of udhcpd and kill it
# kill 12345

Then configure the interface with a temporary IP:
# ip addr add 192.168.99.245/24 dev br-lan
# ip route add default via 192.168.99.1 # (LAN IP of my internet-facing router)
# vi /etc/resolv.conf
(changed 'nameserver 127.0.0.1' to 'nameserver 8.8.8.8')
# ping 8.8.8.8
# ping example.com

Once it has internet, we need to set the time otherwise TLS certificates
will fail (your error above):

# ntpd -p pool.ntp.org

Then we can fetch luci:

# opkg update
# opkg install luci luci-ssl

and now Luci is available for further config on the GUI.

The HH5a looks to be working with the snapshot version, but I have yet to
test it thoroughly. I'm on:

Target Platform lantiq/xrx200
Firmware Version OpenWrt SNAPSHOT r22888-0779c47be6 / LuCI Master git-23.158.78004-23a246e
Kernel Version 5.15.111

Theo
Java Jive
2023-07-08 21:02:09 UTC
Permalink
Post by Java Jive
Deliberate X-Post for reasons that will become apparent.
[Big snip]
I now have the BT Home Hub 5a running 18.6.4 working with:
Alcatel_IK40 4G(?) dongle *
BT Assure/Huawei E3372h 4G dongle
Huawei E3372s 4G dongle
Samsung Galaxy Tab S2 model SM-T719 tablet/mobile phone
ZTE MF823 4G dongle

* Not actually tested with this build, because I didn't want the bother
of pushing out the centre of the SIM to make a mini/micro-SIM and then
having to re-insert back to make up the full SIM card again. However,
it should work, because it takes the same settings as the mobile phone
and the ZTE.

As promised, I am preparing a document with how to get all these dongles
working, but have decided that I will make it a webpage rather than a
post here, but, also as promised, I have some questions about IP6

The original OpenWRT build for the BTHH5a has the following three
sections relating to the WAN in /etc/config/network ...

config interface 'wan'
option ifname 'dsl0'
option proto 'pppoe'
option username 'username'
option password 'password'
option ipv6 '1'

config device 'wan_dev'
option name 'dsl0'
option macaddr '<MAC Address>'

config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'

... which, to get the above USB-attached devices working, I have
replaced with ...

config interface 'WAN_DSL'
option proto 'pppoa'
option encaps 'vc'
option atmdev '0'
option vci '38'
option vpi '0'
option macaddr '<MAC Address>'
option ipv6 'auto'
option metric '2'
option auto '0'

config interface 'WAN_Ethernet'
option proto 'dhcp'
option ifname 'eth0.2'
option macaddr '<MAC Address>'
option auto '0'

config interface 'WAN_Huawei_E3372h'
option proto 'dhcp'
option ifname 'eth1'

config interface 'WAN_Huawei_E3372s'
option proto 'ncm'
option pdptype 'IP'
option apn '3internet'
option ipv6 'auto'
option device '/dev/ttyUSB0'
option delay '20'
option auto '0'

config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'
option auto '0'

... where the WAN_Huawei_E3372h section covers also a BT Assure 4G
unlocked dongle and the generic WAN_USB section covers the Alcatel and
ZTE dongles, and a Samsung mobile phone in USB Tethering mode.

The modules needed are as follows:
chat
comgt
comgt-ncm
kmod-mii
kmod-usb-net
kmod-usb-net-cdc-ether
kmod-usb-net-cdc-ncm
kmod-usb-net-huawei-cdc-ncm
kmod-usb-net-qmi-wwan
kmod-usb-net-rndis
kmod-usb-serial
kmod-usb-serial-option
kmod-usb-serial-wwan
kmod-usb-wdm
luci-app-mwan3
luci-app-sqm
luci-app-wol
luci-proto-3g
luci-proto-ncm
mwan3
procps-ng-ps
uqmi
usb-modeswitch
usbutils
wwan

The above all works fine in IP4, but I'm concerned that I have removed
the original WAN6 section. Following the pattern of that, I could
define a WAN6 section for each of the above, as per the following
example ...

config interface 'WAN_Huawei_E3372h'
option ifname 'eth1'
option proto 'dhcp'


config interface 'WAN_Huawei_E3372h_6'
option ifname '@WAN_Huawei_E3372h'
option proto 'dhcpv6'

... and similarly for the others, but this seems somewhat clumsy because
to swap dongles, I'd have to stop two connections and start two others,
instead of just the one as at present, and further I have no idea if it
will work - ATM the BT Assure 4G dongle is in use and is working well
downloading Wimbledon, so I'm not inclined to fiddle about testing just
now ...


How can I test whether IP6 is being supported properly?

Noting the lan_dev and wan_dev devices, is there a way, for example by
defining different devices rather than different interfaces for the
different dongles, that I can switch the system over to a different
dongle by just a single configuration change instead of the present two
or potentially four with IP6?

Note, I have searched about devices in /etc/config/network, but didn't
find much useful info.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-08 21:45:01 UTC
Permalink
Post by Java Jive
config interface 'WAN_Huawei_E3372h'
option proto 'dhcp'
option ifname 'eth1'
config interface 'WAN_Huawei_E3372s'
option proto 'ncm'
option pdptype 'IP'
option apn '3internet'
option ipv6 'auto'
option device '/dev/ttyUSB0'
option delay '20'
option auto '0'
config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'
option auto '0'
... where the WAN_Huawei_E3372h section covers also a BT Assure 4G
unlocked dongle and the generic WAN_USB section covers the Alcatel and
ZTE dongles, and a Samsung mobile phone in USB Tethering mode.
OK, so one group of dongles are pretend-ethernet cards and another
pretend-dialup modems.
Post by Java Jive
The above all works fine in IP4, but I'm concerned that I have removed
the original WAN6 section. Following the pattern of that, I could
define a WAN6 section for each of the above, as per the following
example ...
config interface 'WAN_Huawei_E3372h'
option ifname 'eth1'
option proto 'dhcp'
config interface 'WAN_Huawei_E3372h_6'
option proto 'dhcpv6'
... and similarly for the others, but this seems somewhat clumsy because
to swap dongles, I'd have to stop two connections and start two others,
instead of just the one as at present, and further I have no idea if it
will work - ATM the BT Assure 4G dongle is in use and is working well
downloading Wimbledon, so I'm not inclined to fiddle about testing just
now ...
I think the reason for the above is IPv4 and IPv6 have different ways of
getting addresses. For IPv4 over ethernet it's DHCP, but for IPv4 over
dialup modems it's PPP. For IPv6 over ethernet it could be SLAAC
(stateless autoconfiguration) or DHCPv6. For IPv6 over modem I think it's
also PPP (not sure if SLAAC is also an option here).

So you would need multiple interface blocks defined depending on what each
protocol needs, and I think you'd need four interface blocks.

But what I'd do is keep everything set up, and just pick routing based on
which interface is up. ie if only one dongle is plugged in, only one
configuration block is going to be active. I think if only one is plugged
in, without any special config you'll get a default route and that's where
packets will go. If both are plugged in, one default route will win -
although fancier routing config is possible.

I think if you just configure both interfaces as appropriate and see if they
work if one or other dongle is plugged in.

I think you may need to put all your WAN_* interfaces in the WAN firewall
zone, so they're all treated as 'outside' your network. The defaults are
mostly there - on my Firewall setup I have in the 'wan' zone:

wan wan6 EthWAN EthWAN6

('wan' is the DSL interface in my settings, 'EthWAN' is the red ethernet port)

So I'd just create _6 versions of your interfaces and add them to this
zone.
Post by Java Jive
How can I test whether IP6 is being supported properly?
$ host example.com
example.com has address 93.184.216.34
example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946
example.com mail is handled by 0 .

$ ping6 2606:2800:220:1:248:1893:25c8:1946
[should answer]

and then try an IPv6 test website:
https://ipv6test.google.com/
http://testmyipv6.com/
and plenty of others if you google for them
Post by Java Jive
Noting the lan_dev and wan_dev devices, is there a way, for example by
defining different devices rather than different interfaces for the
different dongles, that I can switch the system over to a different
dongle by just a single configuration change instead of the present two
or potentially four with IP6?
You should be able to just run the two devices completely in parallel,
without any config changes. At worst you'd need to adjust the default route
if both were plugged in together.
Post by Java Jive
Note, I have searched about devices in /etc/config/network, but didn't
find much useful info.
OneMarcFifty has a video on using IPv6 in his OpenWRT playlist. I haven't
watched it, but it may be helpful:


- although bear in mind this is mostly focused on ethernet which is more
straightforward and has fewer quirks generated by whatever dongle you have.

On the 'Wifi, networking...' playlist he also has some introductory videos
on IPv6 concepts which may be useful for understand what's happening:



Theo
Theo
2023-07-08 22:33:20 UTC
Permalink
Post by Theo
OneMarcFifty has a video on using IPv6 in his OpenWRT playlist. I haven't
http://youtu.be/LJPXz8eA3b8
- although bear in mind this is mostly focused on ethernet which is more
straightforward and has fewer quirks generated by whatever dongle you have.
That reminds me of something. It's one thing for the interface to get an
address for the router, but what you want is to be able to get a block of
addresses for the rest of the network. Each local network takes up 2^64
addresses, so if your ISP gives you a /56 bit prefix meaning you have 2^8
networks each containing 2^64 addresses (128-64-8=56).

So it depends what you mobile network gives you. You hope it will issue you
a /64 or larger, which means you have a prefix for your network (the ISP
gives you the public 64 bits, machines on the network use the remaining 64
bits). SLAAC autoconfiguration works with at least a 64 bit local part.

But there's a risk the ISP will give you fewer bits. If you get a /128
they've only given you a single IP address so you'd have to do NAT. If they
give you something smaller like a /112 you can't use SLAAC to assign local
addresses, you'd have to use DHCPv6 like you would with v4.

That means your network configuration will depend on how your ISP configures
things. Regular ISPs do predictable things with IPv6 so you'd get a /64 or
bigger, but mobile networks may do something strange. You'll only find out
by connecting and seeing what address blocks you get given.

Theo
Andy Burns
2023-07-09 09:30:21 UTC
Permalink
Each local network takes up 2^64 addresses, so if your ISP gives you
a /56 bit prefix meaning you have 2^8 networks each containing 2^64
addresses (128-64-8=56).
I've never understood why ISPs are *SO* profligate with IPv6 addrs, yes
I understand 128bits is very big, and billions of IP addrs per grain of
sand yada-yada, but 640KB was big once, and 4GB was big once ...
Theo
2023-07-09 13:42:23 UTC
Permalink
Post by Andy Burns
Each local network takes up 2^64 addresses, so if your ISP gives you
a /56 bit prefix meaning you have 2^8 networks each containing 2^64
addresses (128-64-8=56).
I've never understood why ISPs are *SO* profligate with IPv6 addrs, yes
I understand 128bits is very big, and billions of IP addrs per grain of
sand yada-yada, but 640KB was big once, and 4GB was big once ...
It's because autoconfiguration works if you have a large enough namespace.
MAC addresses are 48 bits, so providing a namespace of 2^48+1 addresses
to ensures that any machine is able to generate its own unique IP (but
predictable) from its MAC.

Actually there are some other things you might want to use as local
addresses that don't clash with the MAC namespace (eg randomly changing IPs
for privacy purposes) so you need a few more than 48 bits. The next block up
is 64 so that's what you get.

That's basic IPv6: 64 bits of local addresses = one subnet. Measly
ISPs can give you a /64, but better ones give you a /56 or larger (256
subnets), which allows multiple globally-routable subnets without needing to
NAT.

Basically you need to change mindset from the ideas that IPs are handed out
one by one and need a central authority to manage clashes. It just gets
easier if everything is able to figure out its own IP without the central
authority managing a database.

(of course there are other reasons why you might want to a central authority
- eg in a business scenario - so you can have that if you want)

Theo
Andy Burns
2023-07-09 15:20:06 UTC
Permalink
Post by Theo
Actually there are some other things you might want to use as local
addresses that don't clash with the MAC namespace (eg randomly changing IPs
for privacy purposes) so you need a few more than 48 bits.
I thought they were already planning for 64bit MAC addrs, instead of 48bit
NY
2023-07-09 20:41:54 UTC
Permalink
Post by Andy Burns
Each local network takes up 2^64 addresses, so if your ISP gives you
a /56 bit prefix meaning you have 2^8 networks each containing 2^64
addresses (128-64-8=56).
I've never understood why ISPs are *SO* profligate with IPv6 addrs, yes
I understand 128bits is very big, and billions of IP addrs per grain of
sand yada-yada, but 640KB was big once, and 4GB was big once ...
I still can't get my brain around why IPv6 addresses present the large
number of device addresses to the internet. I can see that the world is
running out of public IP (WAN) addresses for routers. But why do we need
so many private addresses? What is wrong with a 6-byte rather than
4-byte WAN address, with a private LAN of 256 addresses - or for larger
organisations, maybe 512, 1024, 2048 etc addresses - all multiplexed
onto the same WAN address by the power of NAT as we do with IPv4.

If private addresses are propagated onto the WAN, that places the onus
on every single device, even cheap security cameras etc, having its own
secure firewall, rather than the router being the thing with the
firewall, behind which there are devices that don't have and and don't
need their own firewalls.
Theo
2023-07-09 21:11:41 UTC
Permalink
[dropping the crosspost]
Post by NY
I still can't get my brain around why IPv6 addresses present the large
number of device addresses to the internet. I can see that the world is
running out of public IP (WAN) addresses for routers. But why do we need
so many private addresses? What is wrong with a 6-byte rather than
4-byte WAN address, with a private LAN of 256 addresses - or for larger
organisations, maybe 512, 1024, 2048 etc addresses - all multiplexed
onto the same WAN address by the power of NAT as we do with IPv4.
Because we don't have enough addresses for purely WAN-facing ones. We're
already NATted up to the hilt and v4 addresses are exhausted, so we're
having to go around scrounging tiny blocks of a few addresses at a time and
paying their sellers a big premium to do that. The only 'solution' is CGNAT
where the thousands of ISP customers live behind a single public IPv4 and
that's a world of trouble (eg if one of those customers gets the IP banned
by a site, so are all the others). Also if you're running a server you need
a public-facing IP and CGNAT doesn't help you.

Secondly, there aren't enough private addresses either. There's only three
RFC1918 subnets, offering 2^16+2^20+2^24 = about 18 million private
addresses. Some ISPs have more customers than this, and reissuing the same
private IP to multiple customers gets awkward too (eg now we can't tell from
a website log which customer it was).

There's no way to change the system in a backwards compatible way, so if
you're going to have a breaking change you might as well give yourself more
address space than you could possibly want, rather than be miserly and have
to do the whole thing again in 20 years.

While the default v6 address assignment is fairly profligate, the system
allows for tighter allocation of space should giving a whole /64 to a subnet
turn out to be a problem down the line. The internet backbone isn't fussy
how you set up your local network, it can deliver the packets there without
another multi-decade change process like the v4->v6 transition.
Post by NY
If private addresses are propagated onto the WAN, that places the onus
on every single device, even cheap security cameras etc, having its own
secure firewall, rather than the router being the thing with the
firewall, behind which there are devices that don't have and and don't
need their own firewalls.
IPv6 works exactly the same as v4 in this respect. You still have a
firewall between devices and the internet, and by default the internet can't
get at your device. v6 just simplifies the firewall because it no longer
needs to do NAT.

Theo
NY
2023-07-09 22:32:49 UTC
Permalink
Post by Theo
[dropping the crosspost]
Post by NY
I still can't get my brain around why IPv6 addresses present the large
number of device addresses to the internet.
Secondly, there aren't enough private addresses either. There's only three
RFC1918 subnets, offering 2^16+2^20+2^24 = about 18 million private
addresses. Some ISPs have more customers than this, and reissuing the same
private IP to multiple customers gets awkward too (eg now we can't tell from
a website log which customer it was).
It doesn't matter that there are only about 18 million private addresses
(10.x.x.x, 172.x.x.x and 192.168.x.x). I would imagine almost every LAN
in the world has a device with private IP 192.168.1.1. But unless a PC
on one LAN needs to talk directly to one on another LAN, that
duplication is irrelevant - as long as every router in the world is
given (by the customer's ISP) a unique public IP. It is public IPs which
are in short supply and that is the addressing space that needs to be
increased.
Post by Theo
There's no way to change the system in a backwards compatible way, so if
you're going to have a breaking change you might as well give yourself more
address space than you could possibly want, rather than be miserly and have
to do the whole thing again in 20 years.
I agree. At present (and for the foreseeable future) any LAN won't have
more than a few hundred devices (for a domestic LAN) and allocating a
whole /56 or /64 block seems a waste.
Post by Theo
While the default v6 address assignment is fairly profligate, the system
allows for tighter allocation of space should giving a whole /64 to a subnet
turn out to be a problem down the line. The internet backbone isn't fussy
how you set up your local network, it can deliver the packets there without
another multi-decade change process like the v4->v6 transition.
Post by NY
If private addresses are propagated onto the WAN, that places the onus
on every single device, even cheap security cameras etc, having its own
secure firewall, rather than the router being the thing with the
firewall, behind which there are devices that don't have and and don't
need their own firewalls.
IPv6 works exactly the same as v4 in this respect. You still have a
firewall between devices and the internet, and by default the internet can't
get at your device. v6 just simplifies the firewall because it no longer
needs to do NAT.
Within a LAN, do all the bytes of an IPv6 address need to be specified
in things like a ping command or a local URL (eg to access an Internet
of Things device that has a web interface)? Or can you get away with
omitting the bytes which are the same for all devices on your LAN?

I presume port forwarding with IPv6 becomes much simpler because you are
just opening up a specific port so someone from outside can access
PC1_IP:80 whereas normally the firewall would block it; in contrast with
IPv4 you have to map WAN_IP:80 to PC1_IP:80 and you have to use another
WAN port number if you want to make PC2_IP:80 accessible.


Are IPv6 addresses always fixed? Does a given device (identified by its
MAC) always get the same address, or is it still necessary (as it is
with IPv4) to use dynamic DNS services such as no-ip so port-forwarded
PCs keep a fixed public URL even though the ISP may from time to time
change your router's public IP (the common bytes within your IPv6 address)?

What handles MAC-to-IP mapping with IPv6? Once you've been given your
/56 block of IPv6 addresses, do you have any control over what IP within
that block a specific device gets, eg using DHCP at the router? I tend
to use DHCP address-reservation so each Windows/Linux PC gets a fixed IP
from one block of local addresses, each mobile phones or tablet gets a
fixed one from another block, and (very important) my printer gets a
fixed IP because many printer drivers for LAN-connected printers can't
handle the printer's IP changing. Apart from the printer, it's just for
reasons of keeping things tidy and OCD-like :-)



Part of the problem is that until ISPs (well, mine specifically) start
using IPv6, there's no opportunity to experiment and investigate, and
gain the knowledge.



(I'm old enough to remember the days before DHCP when all computers at
work had to use the same copy of a HOSTS file, and every new computer
has to be given a new address that has been checked against this HOSTS
file. DHCP and star Ethernet topology rather than daisy-chained toplogy
with T pieces and terminators have got to be the two of the biggest
innovations in LANs in the last 30 years.)
Theo
2023-07-09 23:10:14 UTC
Permalink
Post by NY
Post by Theo
[dropping the crosspost]
Post by NY
I still can't get my brain around why IPv6 addresses present the large
number of device addresses to the internet.
Secondly, there aren't enough private addresses either. There's only three
RFC1918 subnets, offering 2^16+2^20+2^24 = about 18 million private
addresses. Some ISPs have more customers than this, and reissuing the same
private IP to multiple customers gets awkward too (eg now we can't tell from
a website log which customer it was).
It doesn't matter that there are only about 18 million private addresses
(10.x.x.x, 172.x.x.x and 192.168.x.x). I would imagine almost every LAN
in the world has a device with private IP 192.168.1.1. But unless a PC
on one LAN needs to talk directly to one on another LAN, that
duplication is irrelevant - as long as every router in the world is
given (by the customer's ISP) a unique public IP. It is public IPs which
are in short supply and that is the addressing space that needs to be
increased.
It does matter. Comcast has 32.3 million broadband customers. There are
not enough private IPv4 addresses to give each one a unique private IP.
This is a problem for Comcast because now they can't run servers that are
accessible by every customer, they have to run NAT *inside* their network.
It also complicates law enforcement because having that internal IP is no
longer enough to identify a specific customer.
Post by NY
Post by Theo
There's no way to change the system in a backwards compatible way, so if
you're going to have a breaking change you might as well give yourself more
address space than you could possibly want, rather than be miserly and have
to do the whole thing again in 20 years.
I agree. At present (and for the foreseeable future) any LAN won't have
more than a few hundred devices (for a domestic LAN) and allocating a
whole /56 or /64 block seems a waste.
When there are more addresses than atoms in the universe, why is wasting a
problem?

Which is not to say we can't use a different allocation policy later if it
turns out to be so. It doesn't change anything about how the internet
functions, it's just a local decision.
Post by NY
Within a LAN, do all the bytes of an IPv6 address need to be specified
in things like a ping command or a local URL (eg to access an Internet
of Things device that has a web interface)? Or can you get away with
omitting the bytes which are the same for all devices on your LAN?
You can skip leading zeroes and omit consecutive 16-bit chunks which are
zero with a double colon.

In other words, if your ISP gives you 1234:5678:0bcd as a 48-bit prefix,
you can allocate
1234:5678:bcd:0:0:0:0:1
as an address and that can be shortened to:
1234:5678:bcd::1

If you're concerned about the length of written addresses, that would be a
way to allocate them to keep them short.

You can't omit bytes that 'everyone knows' because devices have multiple
addresses in different scopes (localhost, link-local, private, global) so
the device needs to know to which of those you refer.

Devices have at least one address in each scope, and often more than one
(since addresses are so cheap, remember?)
Post by NY
I presume port forwarding with IPv6 becomes much simpler because you are
just opening up a specific port so someone from outside can access
PC1_IP:80 whereas normally the firewall would block it; in contrast with
IPv4 you have to map WAN_IP:80 to PC1_IP:80 and you have to use another
WAN port number if you want to make PC2_IP:80 accessible.
Yes, it doesn't need to translate the IP address and port as it does for
NAT.

You can do 1:1 NAT if you like though - keep the local part the same and
swap the network part at the router. There are times you want to do that,
eg if you're have multiple upstream ISP connections where the public IP is
only known when you know which connection the packet going to take.
Post by NY
Are IPv6 addresses always fixed? Does a given device (identified by its
MAC) always get the same address, or is it still necessary (as it is
with IPv4) to use dynamic DNS services such as no-ip so port-forwarded
PCs keep a fixed public URL even though the ISP may from time to time
change your router's public IP (the common bytes within your IPv6 address)?
It depends on local policy. Typically a device will have multiple IPs: one
stable one generated from the MAC address, which is what you'd use for
incoming traffic (connections to services running on it), and maybe others
it uses for initiating connections - for privacy reasons these can be
changed at regular intervals so a particular device can't be tracked.
Post by NY
What handles MAC-to-IP mapping with IPv6? Once you've been given your
/56 block of IPv6 addresses, do you have any control over what IP within
that block a specific device gets, eg using DHCP at the router? I tend
to use DHCP address-reservation so each Windows/Linux PC gets a fixed IP
from one block of local addresses, each mobile phones or tablet gets a
fixed one from another block, and (very important) my printer gets a
fixed IP because many printer drivers for LAN-connected printers can't
handle the printer's IP changing. Apart from the printer, it's just for
reasons of keeping things tidy and OCD-like :-)
You can have devices work out their own IP if you want - just send router
advertisements with the prefix in them and devices will configure
themselves. Or don't send RAs and expect devices to do DHCPv6. Up to you.

Autoconfiguration is based on the MAC address so those addresses won't
change unless the MAC changes. Effectively it's just the same as that
IP<->MAC table when setting up static DHCPv4 in your router, only it happens
automatically for every device. If you want to OCD which address gets
allocated, that might be a job for DHCPv6.
Post by NY
Part of the problem is that until ISPs (well, mine specifically) start
using IPv6, there's no opportunity to experiment and investigate, and
gain the knowledge.
Some ISPs are particular laggards. I name and shame Virgin Media as a
special example - there's been a thread on their forum asking 'when will VM
get IPv6?' for 13 years now.
Post by NY
(I'm old enough to remember the days before DHCP when all computers at
work had to use the same copy of a HOSTS file, and every new computer
has to be given a new address that has been checked against this HOSTS
file. DHCP and star Ethernet topology rather than daisy-chained toplogy
with T pieces and terminators have got to be the two of the biggest
innovations in LANs in the last 30 years.)
You can still allocate addresses statically too if you want. For example
you could give every device a private address (in the fc00:: to fdff::
range) - this could be useful for eg printers where you're only
communicating with them locally. They'll get a globally routable address
too (eg if they need to download firmware updates or whatever), but if you
want to access devices via easy to remember IPs then this is one way - the
printer could be fd00::2 or something.

Theo
NY
2023-07-10 08:39:04 UTC
Permalink
Post by Theo
Post by NY
Post by Theo
Secondly, there aren't enough private addresses either. There's only three
RFC1918 subnets, offering 2^16+2^20+2^24 = about 18 million private
addresses. Some ISPs have more customers than this, and reissuing the same
private IP to multiple customers gets awkward too (eg now we can't tell from
a website log which customer it was).
It doesn't matter that there are only about 18 million private addresses
(10.x.x.x, 172.x.x.x and 192.168.x.x). I would imagine almost every LAN
in the world has a device with private IP 192.168.1.1. But unless a PC
on one LAN needs to talk directly to one on another LAN, that
duplication is irrelevant - as long as every router in the world is
given (by the customer's ISP) a unique public IP. It is public IPs which
are in short supply and that is the addressing space that needs to be
increased.
It does matter. Comcast has 32.3 million broadband customers. There are
not enough private IPv4 addresses to give each one a unique private IP.
This is a problem for Comcast because now they can't run servers that are
accessible by every customer, they have to run NAT *inside* their network.
It also complicates law enforcement because having that internal IP is no
longer enough to identify a specific customer.
But Comcast's customers need *public* (routable) IP addresses, and only one
per household/router. The number of PCs, tablets etc behind each router on a
customer's private LAN, with private (non-routable) addresses, is
immaterial.

I can accept that Comcast etc have insufficient public IP addresses to give
each of their customers a static public address, and that they have to
allocate dynamically from a smaller pool on the assumption that not all
their customers will be online at the same time. But that assumption is
probably false now that people use routers which are switched on and
connected to the internet 24/7; it was probably only true 30 years ago when
people used simple modems which are only powered on and connected to the
internet while the PC is turned on. I suppose it is still true in the case
of cellphone mobile internet where each phone has its own public address,
rather than a private address that is NATted behind a router's public
address.

So you need to increase the number of public (routable) addresses. I can see
that this is a benefit of going to IPv6. But I don't see why they chose to
allocate individual routable addresses to all the PCs behind the routers,
rather than doing NAT from public IPv6 to private IPv4.

Having said that, if they think that more and more LAN devices will need to
be accessed from the internet, rather than hiding behind NAT, then it makes
sense to make one very big change now, rather than several smaller changes
each time more address space is needed. It also allows accountability in log
files down to the granularity of an individual PC/tablet, rather than only
to the level of the router and therefore the customer (with the identity of
the specific device behind that router being unavailable).
Tim+
2023-07-10 09:25:55 UTC
Permalink
Post by Theo
It does matter. Comcast has 32.3 million broadband customers. There are
not enough private IPv4 addresses to give each one a unique private IP.
This is a problem for Comcast because now they can't run servers that are
accessible by every customer, they have to run NAT *inside* their network.
It also complicates law enforcement because having that internal IP is no
longer enough to identify a specific customer.
This is all way over my head but it makes me wonder if it’s the reason that
Netflix keeps talking about stopping account/password sharing but never
actually takes action to stop it?


Tim
--
Please don't feed the trolls
Abandoned_Trolley
2023-07-10 09:35:59 UTC
Permalink
Post by Tim+
This is all way over my head but it makes me wonder if it’s the reason that
Netflix keeps talking about stopping account/password sharing but never
actually takes action to stop it?
Tim
I share a single "4 user" Netflix account with 3 other people.

If Netflix wanted to stop it, then they would discontinue the product
--
random signature text inserted here
Chris
2023-07-10 11:37:20 UTC
Permalink
Post by Abandoned_Trolley
Post by Tim+
This is all way over my head but it makes me wonder if it’s the reason that
Netflix keeps talking about stopping account/password sharing but never
actually takes action to stop it?
Tim
I share a single "4 user" Netflix account with 3 other people.
If Netflix wanted to stop it, then they would discontinue the product
Have you not received the notification from them?

I got it a few weeks ago on my TV asking me to set which is my "home/main"
devices/network.
Abandoned_Trolley
2023-07-10 12:18:28 UTC
Permalink
Post by Chris
Have you not received the notification from them?
I got it a few weeks ago on my TV asking me to set which is my "home/main"
devices/network.
I am not the account holder
--
random signature text inserted here
Chris
2023-07-10 17:48:25 UTC
Permalink
Post by Abandoned_Trolley
Post by Chris
Have you not received the notification from them?
I got it a few weeks ago on my TV asking me to set which is my "home/main"
devices/network.
I am not the account holder
I guess you'll find out soon enough, if you've been noticed.
Abandoned_Trolley
2023-07-10 19:13:56 UTC
Permalink
Post by Chris
Post by Abandoned_Trolley
I am not the account holder
I guess you'll find out soon enough, if you've been noticed.
It's hard to know what Netflix can do about it.

I don't see that they can make wholesale demands on ISPs in order to
identify the individual user of any given IP address at any time -
whether on a fixed or mobile network. And theres any number of reasons
for the legitimate use of a "foreign" IP address

If the ISP passes on that data to Netflix without a warrant then they
might run in to the legal minefield of the Data Protection Act.
--
random signature text inserted here
Andy Burns
2023-07-10 19:34:26 UTC
Permalink
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
Look for the same account being used simultaneously from different IP
addrs, and block one or all of them with a big red warning?
Abandoned_Trolley
2023-07-10 19:50:30 UTC
Permalink
Post by Andy Burns
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
Look for the same account being used simultaneously from different IP
addrs, and block one or all of them with a big red warning?
"I share a single "4 user" Netflix account with 3 other people"


One of the unusual (and baffling) features of this Netflix arrangement
is that all 4 users have the same login credentials, and can see the
viewing habits of the other 3 users.

In reality its just a way of organising 4 directories of programmes /
films / whatever so that each user can easily find what they want - and
you have to trust people to not screw up your list.

In practical terms you could have all four account holders in the same
house legitimately using the service at the same time but using 4
different IP addresses. Theres plenty of student house shares out there
with no landline or wifi at all - they just live on mobile data
--
random signature text inserted here
Andy Burns
2023-07-11 01:50:21 UTC
Permalink
Post by Abandoned_Trolley
Post by Andy Burns
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
Look for the same account being used simultaneously from different IP
addrs, and block one or all of them with a big red warning?
"I share a single "4 user" Netflix account with 3 other people"
Is this a legacy account? I can't see any such beast on their website.
Post by Abandoned_Trolley
One of the unusual (and baffling) features of this Netflix arrangement
is that all 4 users have the same login credentials, and can see the
viewing habits of the other 3 users.
They discuss plans which allow 1 or 2 "extra members" who can live apart
from you, but they say these members get their own account with a
separate password.
Post by Abandoned_Trolley
In reality its just a way of organising 4 directories of programmes /
films / whatever so that each user can easily find what they want - and
you have to trust people to not screw up your list.
Are you sure you're not [ab]using a premium account which allows
watching on four devices simultaneously, which should theoretically all
be in the same household?
Post by Abandoned_Trolley
In practical terms you could have all four account holders in the same
house legitimately using the service at the same time but using 4
different IP addresses. Theres plenty of student house shares out there
with no landline or wifi at all - they just live on mobile data
Maybe they allow, or disallow that through ToS?
Abandoned_Trolley
2023-07-11 07:37:22 UTC
Permalink
Post by Andy Burns
Post by Abandoned_Trolley
Post by Andy Burns
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
Look for the same account being used simultaneously from different IP
addrs, and block one or all of them with a big red warning?
"I share a single "4 user" Netflix account with 3 other people"
Is this a legacy account? I can't see any such beast on their website.
Not sure about "legacy" - but its not a new account
Post by Andy Burns
Post by Abandoned_Trolley
One of the unusual (and baffling) features of this Netflix arrangement
is that all 4 users have the same login credentials, and can see the
viewing habits of the other 3 users.
They discuss plans which allow 1 or 2 "extra members" who can live apart
from you, but they say these members get their own account with a
separate password.
Post by Abandoned_Trolley
In reality its just a way of organising 4 directories of programmes /
films / whatever so that each user can easily find what they want -
and you have to trust people to not screw up your list.
Are you sure you're not [ab]using a premium account which allows
watching on four devices simultaneously, which should theoretically all
be in the same household?
"theoretically"
Post by Andy Burns
Post by Abandoned_Trolley
In practical terms you could have all four account holders in the same
house legitimately using the service at the same time but using 4
different IP addresses. Theres plenty of student house shares out
there with no landline or wifi at all - they just live on mobile data
Maybe they allow, or disallow that through ToS?
maybe a load of maybes ... but this has definitely drifted off topic
--
random signature text inserted here
Andy Burns
2023-07-11 07:40:50 UTC
Permalink
maybe a load of maybes  ... but this has definitely drifted off topic
Maybe you should get ready for that big red warning!
Chris
2023-07-11 06:38:10 UTC
Permalink
Post by Abandoned_Trolley
Post by Chris
Post by Abandoned_Trolley
I am not the account holder
I guess you'll find out soon enough, if you've been noticed.
It's hard to know what Netflix can do about it.
This has been documented. They make you choose which is your home network
and then they require every device that uses the same account be on that
network while using Netflix at least once every 30 days.
Post by Abandoned_Trolley
I don't see that they can make wholesale demands on ISPs in order to
identify the individual user of any given IP address at any time -
whether on a fixed or mobile network. And theres any number of reasons
for the legitimate use of a "foreign" IP address
If the ISP passes on that data to Netflix without a warrant then they
might run in to the legal minefield of the Data Protection Act.
There's no need for ISPs to do anything.
Mark Undrill
2023-07-11 09:40:38 UTC
Permalink
Post by Chris
Post by Abandoned_Trolley
Post by Chris
Post by Abandoned_Trolley
I am not the account holder
I guess you'll find out soon enough, if you've been noticed.
It's hard to know what Netflix can do about it.
This has been documented. They make you choose which is your home network
and then they require every device that uses the same account be on that
network while using Netflix at least once every 30 days.
That's the question. How do they know it's your home network?
Post by Chris
Post by Abandoned_Trolley
I don't see that they can make wholesale demands on ISPs in order to
identify the individual user of any given IP address at any time -
whether on a fixed or mobile network. And theres any number of reasons
for the legitimate use of a "foreign" IP address
If the ISP passes on that data to Netflix without a warrant then they
might run in to the legal minefield of the Data Protection Act.
There's no need for ISPs to do anything.
Abandoned_Trolley
2023-07-11 15:20:00 UTC
Permalink
Post by Mark Undrill
Post by Chris
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
This has been documented. They make you choose which is your home network
and then they require every device that uses the same account be on that
network while using Netflix at least once every 30 days.
That's the question. How do they know it's your home network?
No idea. If you use a mobile device and only ever connect by mobile
data because you have no broadband in the home ?
--
random signature text inserted here
Theo
2023-07-11 15:57:16 UTC
Permalink
Post by Mark Undrill
Post by Chris
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
This has been documented. They make you choose which is your home network
and then they require every device that uses the same account be on that
network while using Netflix at least once every 30 days.
That's the question. How do they know it's your home network?
I think they use logins to TVs or TV-equipment (Fire Sticks etc) to get an
idea of where you primary location is. I'm not sure they're paying
attention so much to phones and tablets. If they see you're watching TVs in
multiple locations for an extended period (ie not just going on holiday)
then that might be a red flag.

They probably throw all the traffic data in a big machine learning model and
ask it to identify anomalies. Whether they're accurate, and how to appeal
if they aren't, I couldn't say.

Theo
Tim+
2023-07-11 16:31:28 UTC
Permalink
Post by Theo
Post by Mark Undrill
Post by Chris
Post by Abandoned_Trolley
It's hard to know what Netflix can do about it.
This has been documented. They make you choose which is your home network
and then they require every device that uses the same account be on that
network while using Netflix at least once every 30 days.
That's the question. How do they know it's your home network?
I think they use logins to TVs or TV-equipment (Fire Sticks etc) to get an
idea of where you primary location is. I'm not sure they're paying
attention so much to phones and tablets. If they see you're watching TVs in
multiple locations for an extended period (ie not just going on holiday)
then that might be a red flag.
They probably throw all the traffic data in a big machine learning model and
ask it to identify anomalies. Whether they're accurate, and how to appeal
if they aren't, I couldn't say.
Theo
My two daughters have been sharing one “4 device” account with us for
years. The account holder get the occasional email telling her how sharing
between households is wrong, but nothing ever happens. This has been
happening for quite some time now.

I get the impression that if Netflix were at all serious (or capable) of
doing something about it they would have done so by now.

Tim
--
Please don't feed the trolls
Andy Burns
2023-07-11 16:38:28 UTC
Permalink
Post by Tim+
I get the impression that if Netflix were at all serious (or capable) of
doing something about it they would have done so by now.
They announced mid-May they were going to start clamping down.

John
2023-07-09 21:21:47 UTC
Permalink
Post by NY
If private addresses are propagated onto the WAN, that places the onus
on every single device, even cheap security cameras etc, having its
own secure firewall, rather than the router being the thing with the
firewall, behind which there are devices that don't have and and don't
need their own firewalls.
There's no reason you can't have routable IPs on your internal network
and still implement a firewall at the border.

It's what I do at home: every device on my LAN gets a routable IPv6
address, but my router (a Linux box) has a firewall configured to block
incoming connections.

john
Carlos E.R.
2023-07-10 11:38:27 UTC
Permalink
Post by John
Post by NY
If private addresses are propagated onto the WAN, that places the onus
on every single device, even cheap security cameras etc, having its
own secure firewall, rather than the router being the thing with the
firewall, behind which there are devices that don't have and and don't
need their own firewalls.
There's no reason you can't have routable IPs on your internal network
and still implement a firewall at the border.
It's what I do at home: every device on my LAN gets a routable IPv6
address, but my router (a Linux box) has a firewall configured to block
incoming connections.
My ISP is betatesting IPv6, and I volunteered, so I got IPv6. To my
surprise, all IPv6 hosts inside my lan became accessible from Internet.
Despite the (ISP suplied) router saying that the firewall was active and
blocking all incoming connections on IPv6, it was not happening.


I told them, they did not answer, but days later the incoming connection
to IPv6 stopped connecting. They had silently done something. However,
they messed with the "virtual server" IPv4 config, so that the incoming
external connections that I had allowed stopped working as well. I have
to periodically enable them back.


So beware, routers may fail to work properly on IPv6.
--
Cheers, Carlos.
Graham J
2023-07-10 11:43:00 UTC
Permalink
Carlos E.R. wrote:

[snip]
Post by Carlos E.R.
My ISP is betatesting IPv6, and I volunteered, so I got IPv6. To my
surprise, all IPv6 hosts inside my lan became accessible from Internet.
Despite the (ISP suplied) router saying that the firewall was active and
blocking all incoming connections on IPv6, it was not happening.
I told them, they did not answer, but days later the incoming connection
to IPv6 stopped connecting. They had silently done something. However,
they messed with the "virtual server" IPv4 config, so that the incoming
external connections that I had allowed stopped working as well. I have
to periodically enable them back.
So beware, routers may fail to work properly on IPv6.
I suspect lots of cheap routers have a very primitive firewall, and
effectively they only block incoming connections by virtue of NAT.
--
Graham J
Carlos E.R.
2023-07-10 12:03:06 UTC
Permalink
Post by Graham J
[snip]
Post by Carlos E.R.
My ISP is betatesting IPv6, and I volunteered, so I got IPv6. To my
surprise, all IPv6 hosts inside my lan became accessible from
Internet. Despite the (ISP suplied) router saying that the firewall
was active and blocking all incoming connections on IPv6, it was not
happening.
I told them, they did not answer, but days later the incoming
connection to IPv6 stopped connecting. They had silently done
something. However, they messed with the "virtual server" IPv4 config,
so that the incoming external connections that I had allowed stopped
working as well. I have to periodically enable them back.
So beware, routers may fail to work properly on IPv6.
I suspect lots of cheap routers have a very primitive firewall, and
effectively they only block incoming connections by virtue of NAT.
It doesn't seem the case, but rather a bug. This telco uses customized
routers to their specs, and as they haven't deployed IPv6 no one was
actually testing IPv6 related features. Now they appear with betatesting.
--
Cheers, Carlos.
Java Jive
2023-07-09 13:06:59 UTC
Permalink
Many thanks for your continuing help, Theo ...
Post by Theo
Post by Java Jive
config interface 'WAN_Huawei_E3372h'
option proto 'dhcp'
option ifname 'eth1'
config interface 'WAN_Huawei_E3372s'
option proto 'ncm'
option pdptype 'IP'
option apn '3internet'
option ipv6 'auto'
option device '/dev/ttyUSB0'
option delay '20'
option auto '0'
config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'
option auto '0'
... where the WAN_Huawei_E3372h section covers also a BT Assure 4G
unlocked dongle and the generic WAN_USB section covers the Alcatel and
ZTE dongles, and a Samsung mobile phone in USB Tethering mode.
OK, so one group of dongles are pretend-ethernet cards and another
pretend-dialup modems.
Post by Java Jive
The above all works fine in IP4, but I'm concerned that I have removed
the original WAN6 section. Following the pattern of that, I could
define a WAN6 section for each of the above, as per the following
example ...
config interface 'WAN_Huawei_E3372h'
option ifname 'eth1'
option proto 'dhcp'
config interface 'WAN_Huawei_E3372h_6'
option proto 'dhcpv6'
... and similarly for the others, but this seems somewhat clumsy because
to swap dongles, I'd have to stop two connections and start two others,
instead of just the one as at present, and further I have no idea if it
will work - ATM the BT Assure 4G dongle is in use and is working well
downloading Wimbledon, so I'm not inclined to fiddle about testing just
now ...
I think the reason for the above is IPv4 and IPv6 have different ways of
getting addresses. For IPv4 over ethernet it's DHCP, but for IPv4 over
dialup modems it's PPP. For IPv6 over ethernet it could be SLAAC
(stateless autoconfiguration) or DHCPv6. For IPv6 over modem I think it's
also PPP (not sure if SLAAC is also an option here).
So you would need multiple interface blocks defined depending on what each
protocol needs, and I think you'd need four interface blocks.
But what I'd do is keep everything set up, and just pick routing based on
which interface is up. ie if only one dongle is plugged in, only one
configuration block is going to be active. I think if only one is plugged
in, without any special config you'll get a default route and that's where
packets will go. If both are plugged in, one default route will win -
although fancier routing config is possible.
I think if you just configure both interfaces as appropriate and see if they
work if one or other dongle is plugged in.
I think you may need to put all your WAN_* interfaces in the WAN firewall
zone, so they're all treated as 'outside' your network. The defaults are
wan wan6 EthWAN EthWAN6
Yes, currently, without '_6' interfaces the relevant section in
/etc/config/firewall reads:

config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'WAN_DSL WAN_Ethernet WAN_Huawei_E3372h
WAN_Huawei_E3372s WAN_Huawei_E3372s_4 WAN_USB'
Post by Theo
('wan' is the DSL interface in my settings, 'EthWAN' is the red ethernet port)
So I'd just create _6 versions of your interfaces and add them to this
zone.
Post by Java Jive
How can I test whether IP6 is being supported properly?
$ host example.com
example.com has address 93.184.216.34
example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946
example.com mail is handled by 0 .
$ ping6 2606:2800:220:1:248:1893:25c8:1946
[should answer]
So, as feared, I don't have IP6 support. From a Windows PC:

23:54:15 D:\Temp>ping -6 2606:2800:220:1:248:1893:25c8:1946

Pinging 2606:2800:220:1:248:1893:25c8:1946 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.

Ping statistics for 2606:2800:220:1:248:1893:25c8:1946:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

23:54:25 D:\Temp>ping -4 93.184.216.34

Pinging 93.184.216.34 with 32 bytes of data:
Reply from 93.184.216.34: bytes=32 time=152ms TTL=49
Reply from 93.184.216.34: bytes=32 time=141ms TTL=49
Reply from 93.184.216.34: bytes=32 time=157ms TTL=49
Reply from 93.184.216.34: bytes=32 time=138ms TTL=49

Ping statistics for 93.184.216.34:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 138ms, Maximum = 157ms, Average = 147ms
Post by Theo
https://ipv6test.google.com/
http://testmyipv6.com/
and plenty of others if you google for them
Thanks, but for now, given the results above, I'll have to note those
for later.

As Wimbledon is still ongoing and therefore still downloading, I'll wait
until either it's over or until there's another problem before trying to
fix IP6.
Post by Theo
Post by Java Jive
Noting the lan_dev and wan_dev devices, is there a way, for example by
defining different devices rather than different interfaces for the
different dongles, that I can switch the system over to a different
dongle by just a single configuration change instead of the present two
or potentially four with IP6?
You should be able to just run the two devices completely in parallel,
without any config changes. At worst you'd need to adjust the default route
if both were plugged in together.
Post by Java Jive
Note, I have searched about devices in /etc/config/network, but didn't
find much useful info.
OneMarcFifty has a video on using IPv6 in his OpenWRT playlist. I haven't
http://youtu.be/LJPXz8eA3b8
- although bear in mind this is mostly focused on ethernet which is more
straightforward and has fewer quirks generated by whatever dongle you have.
On the 'Wifi, networking...' playlist he also has some introductory videos
http://youtu.be/oItwDXraK1M
http://youtu.be/jlG_nrCOmJc
I'll try and take a look at these over the next few days.

Thanks again.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Java Jive
2023-07-10 15:14:14 UTC
Permalink
Post by Java Jive
Many thanks for your continuing help, Theo ...
Post by Graham J
Post by Java Jive
config interface 'WAN_Huawei_E3372h'
         option proto 'dhcp'
         option ifname 'eth1'
[snip]
The above all works fine in IP4, but I'm concerned that I have removed
the original WAN6 section.  Following the pattern of that, I could
define a WAN6 section for each of the above, as per the following
example ...
config interface 'WAN_Huawei_E3372h'
         option ifname 'eth1'
         option proto 'dhcp'
config interface 'WAN_Huawei_E3372h_6'
          option proto 'dhcpv6'
... and similarly for the others, but this seems somewhat clumsy because
to swap dongles, I'd have to stop two connections and start two others,
instead of just the one as at present, and further I have no idea if it
will work  -  ATM the BT Assure 4G dongle is in use and is working well
downloading Wimbledon, so I'm not inclined to fiddle about testing just
now ...
[snip]
But what I'd do is keep everything set up, and just pick routing based on
which interface is up.  ie if only one dongle is plugged in, only one
configuration block is going to be active.  I think if only one is
plugged in, without any special config you'll get a default route and that's
where packets will go.  If both are plugged in, one default route will win -
although fancier routing config is possible.
I think if you just configure both interfaces as appropriate and see
if they work if one or other dongle is plugged in.
I think you may need to put all your WAN_* interfaces in the WAN firewall
zone, so they're all treated as 'outside' your network.  The defaults are
Today I turned off and disconnected from the mains all my electronic kit
to protect it while some thunderstorms passed, so on bringing it back up
I've just had a go at this. The relevant sections from the config files
now read:

/etc/config/network:

config interface 'WAN_DSL'
option proto 'pppoa'
option encaps 'vc'
option atmdev '0'
option vci '38'
option vpi '0'
option macaddr '<MAC Address>'
option ipv6 'auto'
option metric '2'
option auto '0'

config interface 'WAN_DSL_6'
option ifname '@WAN_DSL'
option proto 'dhcpv6'
option auto '0'

config interface 'WAN_Ethernet'
option proto 'dhcp'
option ifname 'eth0.2'
option hostname 'MacFH-HH5a-T3'
option macaddr '<MAC Address>'
option auto '0'

config interface 'WAN_Ethernet_6'
option ifname '@WAN_Ethernet'
option proto 'dhcpv6'
option auto '0'

config interface 'WAN_Huawei_E3372h'
option proto 'dhcp'
option ifname 'eth1'

config interface 'WAN_Huawei_E3372h_6'
option ifname '@WAN_Huawei_E3372h'
option proto 'dhcpv6'

config interface 'WAN_Huawei_E3372s'
option proto 'ncm'
option pdptype 'IP'
option apn '3internet'
option ipv6 'auto'
option device '/dev/ttyUSB0'
option delay '20'
option auto '0'

config interface 'WAN_Huawei_E3372s_6'
option ifname '@WAN_Huawei_E3372s'
option proto 'dhcpv6'
option auto '0'

config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'
option auto '0'

config interface 'WAN_USB_6'
option ifname '@WAN_USB'
option proto 'dhcpv6'
option auto '0'

/etc/config/network:

config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'WAN_DSL WAN_DSL_6 WAN_Ethernet WAN_Ethernet_6
WAN_Huawei_E3372h WAN_Huawei_E3372h_6 WAN_Huawei_E3372s
WAN_Huawei_E3372s_6 WAN_USB WAN_USB_6'

[no line wrap in original]

In the admin pages each IP6 interfaces come up as an alias of its
corresponding IP4 interface, as one might expect. If the corresponding
IP4 is not connected, but the IP6 is, then there is a message saying
'Device not present', which again makes sense.

Concerning behaviour, the first thing of note is that unfortunately I
have to have the '_6' devices that aren't being used
stopped/disconnected, otherwise nothing works, not even IP4.

So currently I have just the WAN_Huawei_E3372h & WAN_Huawei_E3372h_6
interfaces connected, but the results are as the same as before ...
Post by Java Jive
Post by Graham J
Post by Java Jive
How can I test whether IP6 is being supported properly?
$ host example.com
example.com has address 93.184.216.34
example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946
example.com mail is handled by 0 .
$ ping6 2606:2800:220:1:248:1893:25c8:1946
[should answer]
15:57:26 D:\Temp>ping -4 93.184.216.34

Pinging 93.184.216.34 with 32 bytes of data:
Reply from 93.184.216.34: bytes=32 time=132ms TTL=49
Reply from 93.184.216.34: bytes=32 time=139ms TTL=49
Reply from 93.184.216.34: bytes=32 time=137ms TTL=49
Reply from 93.184.216.34: bytes=32 time=132ms TTL=49

Ping statistics for 93.184.216.34:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 132ms, Maximum = 139ms, Average = 135ms

15:57:33 D:\Temp>ping -6 2606:2800:220:1:248:1893:25c8:1946

Pinging 2606:2800:220:1:248:1893:25c8:1946 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.

Ping statistics for 2606:2800:220:1:248:1893:25c8:1946:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

15:58:58 D:\Temp>ping -4 bbc.co.uk

Pinging bbc.co.uk [151.101.128.81] with 32 bytes of data:
Reply from 151.101.128.81: bytes=32 time=72ms TTL=54
Reply from 151.101.128.81: bytes=32 time=86ms TTL=54
Reply from 151.101.128.81: bytes=32 time=81ms TTL=54
Reply from 151.101.128.81: bytes=32 time=64ms TTL=54

Ping statistics for 151.101.128.81:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 64ms, Maximum = 86ms, Average = 75ms

15:57:58 D:\Temp>ping -6 bbc.co.uk
Ping request could not find host bbc.co.uk. Please check the name and
try again.
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Theo
2023-07-10 16:58:32 UTC
Permalink
Post by Java Jive
Today I turned off and disconnected from the mains all my electronic kit
to protect it while some thunderstorms passed, so on bringing it back up
I've just had a go at this. The relevant sections from the config files
config interface 'WAN_DSL'
option proto 'pppoa'
option encaps 'vc'
option atmdev '0'
option vci '38'
option vpi '0'
option macaddr '<MAC Address>'
option ipv6 'auto'
option metric '2'
option auto '0'
config interface 'WAN_DSL_6'
option proto 'dhcpv6'
option auto '0'
config interface 'WAN_Ethernet'
option proto 'dhcp'
option ifname 'eth0.2'
option hostname 'MacFH-HH5a-T3'
option macaddr '<MAC Address>'
option auto '0'
config interface 'WAN_Ethernet_6'
option proto 'dhcpv6'
option auto '0'
config interface 'WAN_Huawei_E3372h'
option proto 'dhcp'
option ifname 'eth1'
config interface 'WAN_Huawei_E3372h_6'
option proto 'dhcpv6'
config interface 'WAN_Huawei_E3372s'
option proto 'ncm'
option pdptype 'IP'
option apn '3internet'
option ipv6 'auto'
option device '/dev/ttyUSB0'
option delay '20'
option auto '0'
config interface 'WAN_Huawei_E3372s_6'
option proto 'dhcpv6'
option auto '0'
config interface 'WAN_USB'
option proto 'dhcp'
option ifname 'usb0'
option auto '0'
config interface 'WAN_USB_6'
option proto 'dhcpv6'
option auto '0'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'WAN_DSL WAN_DSL_6 WAN_Ethernet WAN_Ethernet_6
WAN_Huawei_E3372h WAN_Huawei_E3372h_6 WAN_Huawei_E3372s
WAN_Huawei_E3372s_6 WAN_USB WAN_USB_6'
[no line wrap in original]
In the admin pages each IP6 interfaces come up as an alias of its
corresponding IP4 interface, as one might expect. If the corresponding
IP4 is not connected, but the IP6 is, then there is a message saying
'Device not present', which again makes sense.
Concerning behaviour, the first thing of note is that unfortunately I
have to have the '_6' devices that aren't being used
stopped/disconnected, otherwise nothing works, not even IP4.
So currently I have just the WAN_Huawei_E3372h & WAN_Huawei_E3372h_6
interfaces connected, but the results are as the same as before ...
I think we're missing a lot of details:

1. Does the mobile network support IPv6?
2. How are addresses handed out?
3. What address ranges do they allocate you?
4. Does the stick support IPv6?
5. How does the stick convey those addresses to the host?
6. Is the network addressing different from the address for the router

For a traditional wired ISP the answers would be:
1. Yes or no, depending on the ISP
2. Depends on the connection to the modem, eg ethernet (DHCPv6 or SLAAC) or
PPPoE (PPP address allocation)
3. At least a /64 for the router, and an additional /56 or larger range is
common
4. Most modern routers have IPv6 support
5. Either SLAAC or DHCPv6
6. Often the router gets its own IP via SLAAC and then is able to DHCPv6 to
get the subnet range(s)

But I have no idea of the answers for specific mobile networks, and I have
even less of an idea how random LTE sticks choose to mangle them, with their
own kinds of weird implementations like pretending to be a dialup modem or
pretending to be an ethernet card or whatever - which may and often are
buggy and broken.

If it 'doesn't work' then we don't have anything to go on, and some analysis
of logs and interaction with the connection is going to be needed to
understand what is actually going on.

As a first step, I'd be looking to make sure the stick's interface on the
router can get a global IPv6 address, as if that isn't working there is no
v6 connectivity and nothing will work. Once there is a global address, then
you need to find out whether there is a prefix being delegated (and if so,
you can apply that to the LAN), or doing something else if you only get a
single address.

Theo
Java Jive
2023-07-10 21:43:58 UTC
Permalink
Fair point, I was in a bit of a hurry earlier ...
Post by Theo
1. Does the mobile network support IPv6?
Can't find a definitive pronouncement, but I'm beginning to suspect not,
at least not here out in the sticks, for example this report dates from
2020 ...

https://www.ispreview.co.uk/talk/threads/three-ipv6-rollout.36873/

"We’ve started to migrate traffic onto our new core network. These
customers are currently using our new core network intermittently
resulting in some browsing occurring on IPv6. This will gradually
increase as we migrate more traffic"

... and when I was first on Three here in early 2021 I could barely get
4G, connections usually defaulted to 3G. However, for some while now
they have been and are nearly always 4G, and one might have thought that
upgrading to 4G might be the obvious time to upgrade to IP6 as well.

However, against that supposition, in support of 'No IP6':

:-( The mobile phone is Android 7.0, several versions later than the
beginning of IP6 support, but it doesn't have an IP6 address listed
alongside its IP4 address.

:-( I don't know if the dongle supports IP6 or not, but in its web
interface it too has no IP6 address listed with its IP4 address.

:-( Ditto in the interfaces section of the router, the IP4 connection
shows an IP4 address, but the IP6 connection shows no IP6 address.

So I guess that's it, unless I can find a test SIM from another network
that supports IP6 in this area.
Post by Theo
2. How are addresses handed out?
3. What address ranges do they allocate you?
4. Does the stick support IPv6?
5. How does the stick convey those addresses to the host?
6. Is the network addressing different from the address for the router
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Java Jive
2023-07-10 21:58:14 UTC
Permalink
Post by Java Jive
Fair point, I was in a bit of a hurry earlier ...
Post by Theo
1. Does the mobile network support IPv6?
Can't find a definitive pronouncement, but I'm beginning to suspect not,
at least not here out in the sticks, for example this report dates from
2020 ...
https://www.ispreview.co.uk/talk/threads/three-ipv6-rollout.36873/
"We’ve started to migrate traffic onto our new core network. These
customers are currently using our new core network intermittently
resulting in some browsing occurring on IPv6. This will gradually
increase as we migrate more traffic"
... and when I was first on Three here in early 2021 I could barely get
4G, connections usually defaulted to 3G.  However, for some while now
they have been and are nearly always 4G, and one might have thought that
upgrading to 4G might be the obvious time to upgrade to IP6 as well.
 :-( The mobile phone is Android 7.0, several versions later than the
beginning of IP6 support, but it doesn't have an IP6 address listed
alongside its IP4 address.
 :-( I don't know if the dongle supports IP6 or not, but in its web
interface it too has no IP6 address listed with its IP4 address.
Apparently it does (in apparently machine translated in English):

https://consumer.huawei.com/en/community/details/E3372h-320-IPV6-support-4gLTE-access-and-issues-with-microsoft-KB5003637/topicId_157767/

"Regarding your inquiry, please be informed 4G LTE and IPV6 do supported
by it. Besides, IPV6 will be supported by default and you are not
required to enable it manually."
Post by Java Jive
 :-( Ditto in the interfaces section of the router, the IP4 connection
shows an IP4 address, but the IP6 connection shows no IP6 address.
So I guess that's it, unless I can find a test SIM from another network
that supports IP6 in this area.
Post by Theo
2. How are addresses handed out?
3. What address ranges do they allocate you?
4. Does the stick support IPv6?
5. How does the stick convey those addresses to the host?
6. Is the network addressing different from the address for the router
--
Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk
Loading...