ubuntu-users Digest, Vol 208, Issue 34
Prasanna Karunarathna
prabahk at gmail.com
Thu Dec 23 10:49:20 UTC 2021
stop e mails
On Wed, 22 Dec 2021 at 17:30, <ubuntu-users-request at lists.ubuntu.com> wrote:
> Send ubuntu-users mailing list submissions to
> ubuntu-users at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> or, via email, send a message with subject or body 'help' to
> ubuntu-users-request at lists.ubuntu.com
>
> You can reach the person managing the list at
> ubuntu-users-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-users digest..."
>
>
> Today's Topics:
>
> 1. Re: How to use Huawei mobile broadband moden E3372 on Ubuntu
> 20.04.3 Server? (Bo Berglund)
> 2. Re: How to use Huawei mobile broadband moden E3372 on Ubuntu
> 20.04.3 Server? (Oliver Grawert)
> 3. Help with TFTP (Jerry Geis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 21 Dec 2021 13:57:02 +0100
> From: Bo Berglund <bo.berglund at gmail.com>
> To: ubuntu-users at lists.ubuntu.com
> Subject: Re: How to use Huawei mobile broadband moden E3372 on Ubuntu
> 20.04.3 Server?
> Message-ID: <2ri3sg56ibi0sf1dnvpvvsgo7894d5b8vk at 4ax.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Sun, 19 Dec 2021 08:55:31 +0000, Chris Green <cl at isbd.net> wrote:
>
> >On Sun, Dec 19, 2021 at 12:07:50AM +0100, Bo Berglund wrote:
> >> On Fri, 17 Dec 2021 17:53:18 +0100, Bo Berglund <bo.berglund at gmail.com>
> wrote:
> >>
> >> >I do not know if I am "using" network manager. I have surely never
> used a
> >> >command nmcli...
> >> >And it seems not to exist on my *server* (maybe it is a desktop kind
> of tool?):
> >>
> >> In fact after googling more I found that networkmanager is a Desktop
> thingie and
> >> does not exist on server installations...
> >>
> >> So what is then my possibility to get this going?
> >>
> >> It seems like the server uses somethiong named "netplan" instead, but I
> am not
> >> the wiser for that.
> >>
> >You can use NetworkManager from the command line with nmcli. It's
> >part of Network Manager so just install network-manager and you can
> >use the command line to configure it.
> >
>
> So I tried that but I did not get to a solution anyway...
> Did not know what to do with the command line client.
>
> Then I decided to try the E3372 on another Ubuntu 20, my Linux laptop
> which runs
> 20.04.3.
>
> First I plugged it into a USB charger to power it up and see if it would
> connect
> "standalone", but that failed. It just sits there blinking the blue light.
>
> So I just plugged it into the USB3 socket on the laptop and then after a
> short
> period it connected (lamp turned blue).
>
> This time I get these responses from a few commands:
>
> $ dmesg
> usb 3-1: new high-speed USB device number 2 using xhci_hcd
> usb 3-1: New USB device found, idVendor=12d1, idProduct=1f01, bcdDevice=
> 1.02
> usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 3-1: Product: HUAWEI_MOBILE
> usb 3-1: Manufacturer: HUAWEI_MOBILE
> usb 3-1: SerialNumber: 0123456789ABCDEF
> usb-storage 3-1:1.0: USB Mass Storage device detected
> scsi host6: usb-storage 3-1:1.0
> usbcore: registered new interface driver usb-storage
> usbcore: registered new interface driver uas
> usb 3-1: USB disconnect, device number 2
> usb 3-1: new high-speed USB device number 3 using xhci_hcd
> usb 3-1: New USB device found, idVendor=12d1, idProduct=14db, bcdDevice=
> 1.02
> usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> usb 3-1: Product: HUAWEI_MOBILE
> usb 3-1: Manufacturer: HUAWEI_MOBILE
> cdc_ether 3-1:1.0 eth0: register 'cdc_ether' at usb-0000:26:00.0-1, CDC
> Ethernet
> Device, 00:1e:10:1f:00:00
> usbcore: registered new interface driver cdc_ether
> cdc_ether 3-1:1.0 enx001e101f0000: renamed from eth0
>
> $ifconfig
> #removed unrelated information
> enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.119.241 netmask 255.255.255.0 broadcast
> 192.168.119.255
> inet6 fe80::5563:40d3:9d8e:2689 prefixlen 64 scopeid 0x20<link>
> ether ec:9a:74:fb:b9:cf txqueuelen 1000 (Ethernet)
> ...
> enx001e101f0000: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.8.107 netmask 255.255.255.0 broadcast 192.168.8.255
> inet6 2a02:aa1:1022:ee57:77a2:c1af:7efd:9a78 prefixlen 64 scopeid
> 0x0<global>
> inet6 2a02:aa1:1022:ee57:10:2030:4050:2 prefixlen 128 scopeid
> 0x0<global>
> inet6 fe80::5af8:89eb:9702:4ab prefixlen 64 scopeid 0x20<link>
> inet6 2a02:aa1:1022:ee57:8d6e:bcb4:2019:df47 prefixlen 64 scopeid
> 0x0<global>
> ether 00:1e:10:1f:00:00 txqueuelen 1000 (Ethernet)
> RX packets 1010 bytes 218837 (218.8 KB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 1282 bytes 179158 (179.1 KB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.119.184 netmask 255.255.255.0 broadcast
> 192.168.119.255
> inet6 fe80::c164:cdcb:8e7b:ad4c prefixlen 64 scopeid 0x20<link>
> ether 08:11:96:6f:63:4c txqueuelen 1000 (Ethernet)
> ...
>
> $ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> default router.asus.com 0.0.0.0 UG 100 0 0
> enp0s25
> default www.huaweimobil 0.0.0.0 UG 101 0 0
> enx001e101f0000
> default router.asus.com 0.0.0.0 UG 600 0 0
> wlo1
> link-local 0.0.0.0 255.255.0.0 U 1000 0 0
> enp0s25
> 192.168.8.0 0.0.0.0 255.255.255.0 U 101 0 0
> enx001e101f0000
> 192.168.119.0 0.0.0.0 255.255.255.0 U 100 0 0
> enp0s25
> 192.168.119.0 0.0.0.0 255.255.255.0 U 600 0 0
> wlo1
>
>
>
> So the E3372 now appears as device "enx001e101f0000" which has address
> 192.168.8.107 (why Ubuntu decided to replace the easy to understand named
> eth0,
> eth1 etc with this junk is beyond me).
>
> So now I need to find a way to check if it is actually operating, how can
> I do
> this?
> If I try to check internet connectivity the packets will use enp0s25 most
> likely, how do I force the use of a certain device?
> FGor example using wget or curl, can a specific interface be forced?
>
> I still do not know if the connection actually works....
>
> If it does, then can I somehow copy some config data from somewhere on this
> laptop over to the server I really want it for?
> If so, what should I look at to copy?
>
>
> --
> Bo Berglund
> Developer in Sweden
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 21 Dec 2021 14:40:23 +0100
> From: Oliver Grawert <ogra at ubuntu.com>
> To: ubuntu-users at lists.ubuntu.com
> Subject: Re: How to use Huawei mobile broadband moden E3372 on Ubuntu
> 20.04.3 Server?
> Message-ID:
> <e1d3cbcafa9afb41fee8e3063a635f8334519880.camel at ubuntu.com>
> Content-Type: text/plain; charset="utf-8"
>
> hi,
> Am Dienstag, dem 21.12.2021 um 13:57 +0100 schrieb Bo Berglund:
> >
> > why Ubuntu decided to replace the easy to understand
> > named eth0,
> > eth1 etc with this junk is beyond me
>
> this has not been a choice by Ubuntu/Canonical but was introduced as
> "more predictable names" by the systemd developers [1].
>
> In fact Ubuntu used the old naming scheme for several releases by
> disabling the described udev rules file ... but more and more userspace
> tools have been adjusted for this new naming and nowadays Ubuntu
> follows suit.
>
> ciao
> oli
>
>
> [1]
>
> https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 195 bytes
> Desc: This is a digitally signed message part
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211221/1d39bf5f/attachment-0001.sig
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 21 Dec 2021 15:58:01 -0500
> From: Jerry Geis <jerry.geis at gmail.com>
> To: "Ubuntu user technical support, not for general discussions"
> <ubuntu-users at lists.ubuntu.com>
> Subject: Help with TFTP
> Message-ID:
> <CABr8-B61uD+EtywuNF9h=
> ZLF+cbCj_Z7TridphVM8-HwdfYCrA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I am using tftpd - on 20.04.
>
> This is my config:
> more /etc/xinetd.d/tftp
> # default: off
> # description: The tftp server serves files using the trivial file transfer
> \
> # protocol. The tftp protocol is often used to boot diskless \
> # workstations, download configuration files to network-aware printers, \
> # and to start the installation process for some operating systems.
> service tftp
> {
> socket_type = dgram
> protocol = udp
> wait = yes
> user = root
> server = /usr/sbin/in.tftpd
> server_args = -s /tftpboot
> disable = no
> per_source = 11
> cps = 100 2
> flags = IPv4
> }
>
>
> my connection is timing out and the file does not transfer.
>
> my firewall is allowing it: - but I dont think its real.
>
> more /etc/firewalld/zones/public.xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <zone>
> <short>Public</short>
> <description>For use in public areas. You do not trust the other
> computers on networks to not harm your computer. Only selected incoming
> connections are accepted.</description>
> <service name="ssh"/>
> <service name="dhcpv6-client"/>
> <port port="67" protocol="udp"/>
> <port port="67" protocol="tcp"/>
> <port port="68" protocol="udp"/>
> <port port="68" protocol="tcp"/>
> <port port="25" protocol="tcp"/>
> <port port="22" protocol="tcp"/>
> <port port="69" protocol="tcp"/>
> <port port="69" protocol="udp"/>
>
> I'm not seeing what I'm missing.
>
> Thanks
>
> Jerry
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211221/7fc38b8f/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> ------------------------------
>
> End of ubuntu-users Digest, Vol 208, Issue 34
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211223/97dd7ea3/attachment.html>
More information about the ubuntu-users
mailing list