How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?
Manish Jain
bourne.identity at hotmail.com
Sat Jul 21 12:29:01 UTC 2012
Hello Erich/Matthias,
Thanks for your responses.
I do not have the usbdump command on my system. usbconfig gives the
following output :
ugen0.1: <OHCI root HUB ATI> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen1.1: <OHCI root HUB ATI> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen2.1: <EHCI root HUB ATI> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen3.1: <OHCI root HUB ATI> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen4.1: <OHCI root HUB ATI> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen5.1: <EHCI root HUB ATI> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen6.1: <OHCI root HUB ATI> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen0.2: <Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power
Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen1.2: <HUAWEI Mobile HUAWEI TECHNOLOGIES> at usbus1, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON
ugen2.2: <USB2.0 Hub vendor 0x05e3> at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE
PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0
being an invalid file. But the output of 'ls -l' shows the contrary :
crw-r----- 1 root operator 0, 96 Jul 21 17:38 acd0
crw-r----- 1 root operator 0, 97 Jul 21 17:38 acd1
crw-r--r-- 1 root wheel 0, 36 Jul 21 17:38 acpi
crw-r----- 1 root operator 0, 98 Jul 21 17:38 ad8
crw-r----- 1 root operator 0, 103 Jul 21 17:38 ad8s1
crw-r----- 1 root operator 0, 104 Jul 21 17:38 ad8s2
crw-r----- 1 root operator 0, 108 Jul 21 23:08 ad8s2a
crw-r----- 1 root operator 0, 109 Jul 21 17:38 ad8s2b
crw-r----- 1 root operator 0, 105 Jul 21 17:38 ad8s3
crw-r----- 1 root operator 0, 106 Jul 21 17:38 ad8s4
crw-r----- 1 root operator 0, 111 Jul 21 17:38 ad8s5
crw------- 1 root operator 0, 35 Jul 21 17:38 ata
crw------- 1 root wheel 0, 50 Jul 21 17:38 atkbd0
crw------- 1 root kmem 0, 16 Jul 21 17:38 audit
crw------- 1 root wheel 0, 12 Jul 21 17:38 bpf
lrwxr-xr-x 1 root wheel 3 Jul 21 17:38 bpf0 -> bpf
crw-rw-rw- 1 root wheel 0, 53 Jul 21 17:38 bpsm0
crw-r----- 1 root operator 0, 135 Jul 21 23:08 cd0
crw------- 1 root wheel 0, 5 Jul 21 17:39 console
crw------- 1 root wheel 0, 70 Jul 21 17:38 consolectl
crw-rw-rw- 1 root wheel 0, 10 Jul 21 17:38 ctty
crw-rw---- 1 uucp dialer 0, 143 Jul 21 17:38 cuaU0.0
crw-rw---- 1 uucp dialer 0, 144 Jul 21 17:38 cuaU0.0.init
crw-rw---- 1 uucp dialer 0, 145 Jul 21 17:38 cuaU0.0.lock
crw-rw---- 1 uucp dialer 0, 149 Jul 21 17:38 cuaU0.1
crw-rw---- 1 uucp dialer 0, 150 Jul 21 17:38 cuaU0.1.init
crw-rw---- 1 uucp dialer 0, 151 Jul 21 17:38 cuaU0.1.lock
crw-rw---- 1 uucp dialer 0, 155 Jul 21 17:38 cuaU0.2
crw-rw---- 1 uucp dialer 0, 156 Jul 21 17:38 cuaU0.2.init
crw-rw---- 1 uucp dialer 0, 157 Jul 21 17:38 cuaU0.2.lock
crw-rw---- 1 uucp dialer 0, 44 Jul 21 17:38 cuau0
crw-rw---- 1 uucp dialer 0, 45 Jul 21 17:38 cuau0.init
crw-rw---- 1 uucp dialer 0, 46 Jul 21 17:38 cuau0.lock
crw-r----- 1 root operator 0, 137 Jul 21 23:08 da0
crw------- 1 root wheel 0, 32 Jul 21 17:38 dcons
crw------- 1 root wheel 0, 3 Jul 21 17:38 devctl
cr-------- 1 root wheel 0, 95 Jul 21 17:38 devstat
crw------- 1 root wheel 0, 33 Jul 21 17:38 dgdb
crw-rw-rw- 1 root wheel 0, 162 Jul 21 17:39 dsp0.0
crw-rw-rw- 1 root wheel 0, 161 Jul 21 17:39 dsp1.0
crw-rw-rw- 1 root wheel 0, 160 Jul 21 17:39 dsp2.0
crw-rw-rw- 1 root wheel 0, 159 Jul 21 17:39 dsp3.0
dr-xr-xr-x 2 root wheel 512 Jul 21 17:38 ext2fs
dr-xr-xr-x 2 root wheel 512 Jul 21 17:38 fd
crw------- 1 root wheel 0, 14 Jul 21 17:38 fido
lrwxr-xr-x 1 root wheel 5 Jul 21 17:38 fw0 -> fw0.0
crw-rw---- 1 root operator 0, 37 Jul 21 17:38 fw0.0
lrwxr-xr-x 1 root wheel 8 Jul 21 17:38 fwmem0 -> fwmem0.0
crw-rw---- 1 root operator 0, 38 Jul 21 17:38 fwmem0.0
crw-r----- 1 root operator 0, 4 Jul 21 17:38 geom.ctl
crw------- 1 root wheel 0, 27 Jul 21 17:38 io
dr-xr-xr-x 2 root wheel 512 Jul 21 23:08 iso9660
lrwxr-xr-x 1 root wheel 6 Jul 21 17:38 kbd0 -> atkbd0
lrwxr-xr-x 1 root wheel 7 Jul 21 17:38 kbd1 -> kbdmux0
crw------- 1 root wheel 0, 23 Jul 21 17:38 kbdmux0
crw------- 1 root wheel 0, 31 Jul 21 17:38 klog
crw-r----- 1 root kmem 0, 26 Jul 21 17:38 kmem
lrwxr-xr-x 1 root wheel 12 Jul 21 17:38 log -> /var/run/log
crw------- 1 root wheel 0, 47 Jul 21 17:38 lpt0
crw------- 1 root wheel 0, 48 Jul 21 17:38 lpt0.ctl
crw------- 1 root wheel 0, 73 Jul 21 17:38 mdctl
crw-r----- 1 root kmem 0, 25 Jul 21 17:38 mem
crw-rw-rw- 1 root wheel 0, 34 Jul 21 17:38 midistat
crw-rw-rw- 1 root wheel 0, 99 Jul 21 17:38 mixer0
crw-rw-rw- 1 root wheel 0, 100 Jul 21 17:38 mixer1
crw-rw-rw- 1 root wheel 0, 101 Jul 21 17:38 mixer2
crw-rw-rw- 1 root wheel 0, 102 Jul 21 17:38 mixer3
lrwxr-xr-x 1 root wheel 7 Jul 21 17:38 modem -> cuaU0.0
crw------- 1 root kmem 0, 15 Jul 21 17:38 nfslock
dr-xr-xr-x 2 root wheel 512 Jul 21 17:38 ntfs
crw-rw-rw- 1 root wheel 0, 28 Jul 21 17:44 null
crw------- 1 root operator 0, 133 Jul 21 23:08 pass0
crw------- 1 root operator 0, 134 Jul 21 23:08 pass1
crw-r--r-- 1 root wheel 0, 30 Jul 21 17:38 pci
crw------- 1 root wheel 0, 49 Jul 21 17:38 ppi0
crw-rw-rw- 1 root wheel 0, 52 Jul 21 17:38 psm0
crw-rw-rw- 1 root wheel 0, 9 Jul 21 17:38 ptmx
crw-rw-rw- 1 root wheel 0, 7 Jul 21 23:08 random
cr--r--r-- 1 root wheel 0, 6 Jul 21 17:38 sndstat
lrwxr-xr-x 1 root wheel 4 Jul 21 17:38 stderr -> fd/2
lrwxr-xr-x 1 root wheel 4 Jul 21 17:38 stdin -> fd/0
lrwxr-xr-x 1 root wheel 4 Jul 21 17:38 stdout -> fd/1
crw------- 1 root wheel 0, 11 Jul 21 17:38 sysmouse
crw------- 1 root wheel 0, 140 Jul 21 17:38 ttyU0.0
crw------- 1 root wheel 0, 141 Jul 21 17:38 ttyU0.0.init
crw------- 1 root wheel 0, 142 Jul 21 17:38 ttyU0.0.lock
crw------- 1 root wheel 0, 146 Jul 21 17:38 ttyU0.1
crw------- 1 root wheel 0, 147 Jul 21 17:38 ttyU0.1.init
crw------- 1 root wheel 0, 148 Jul 21 17:38 ttyU0.1.lock
crw------- 1 root wheel 0, 152 Jul 21 17:38 ttyU0.2
crw------- 1 root wheel 0, 153 Jul 21 17:38 ttyU0.2.init
crw------- 1 root wheel 0, 154 Jul 21 17:38 ttyU0.2.lock
crw------- 1 root wheel 0, 41 Jul 21 17:38 ttyu0
crw------- 1 root wheel 0, 42 Jul 21 17:38 ttyu0.init
crw------- 1 root wheel 0, 43 Jul 21 17:38 ttyu0.lock
crw------- 1 root tty 0, 54 Jul 21 17:45 ttyv0
crw------- 1 root wheel 0, 55 Jul 21 17:38 ttyv1
crw------- 1 root wheel 0, 56 Jul 21 17:38 ttyv2
crw------- 1 root wheel 0, 57 Jul 21 17:38 ttyv3
crw------- 1 root wheel 0, 58 Jul 21 17:38 ttyv4
crw------- 1 root wheel 0, 59 Jul 21 17:38 ttyv5
crw------- 1 root wheel 0, 60 Jul 21 17:38 ttyv6
crw------- 1 root wheel 0, 61 Jul 21 17:38 ttyv7
crw------- 1 root wheel 0, 62 Jul 21 17:38 ttyv8
crw------- 1 root wheel 0, 63 Jul 21 17:38 ttyv9
crw------- 1 root wheel 0, 64 Jul 21 17:38 ttyva
crw------- 1 root wheel 0, 65 Jul 21 17:38 ttyvb
crw------- 1 root wheel 0, 66 Jul 21 17:38 ttyvc
crw------- 1 root wheel 0, 67 Jul 21 17:38 ttyvd
crw------- 1 root wheel 0, 68 Jul 21 17:38 ttyve
crw------- 1 root wheel 0, 69 Jul 21 17:38 ttyvf
crw------- 1 uucp dialer 0, 158 Jul 21 17:38 tun0
dr-xr-xr-x 2 root wheel 512 Jul 21 17:38 ufsid
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen0.1 -> usb/0.1.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen0.2 -> usb/0.2.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen1.1 -> usb/1.1.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen1.2 -> usb/1.2.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen2.1 -> usb/2.1.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen2.2 -> usb/2.2.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen3.1 -> usb/3.1.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen4.1 -> usb/4.1.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen5.1 -> usb/5.1.0
lrwxr-xr-x 1 root wheel 9 Jul 21 17:38 ugen6.1 -> usb/6.1.0
lrwxr-xr-x 1 root wheel 6 Jul 21 17:38 urandom -> random
dr-xr-xr-x 2 root wheel 512 Jul 21 17:38 usb
crw-r--r-- 1 root operator 0, 71 Jul 21 17:38 usbctl
lrwxr-xr-x 1 root wheel 7 Jul 21 17:38 usv -> ugen0.2
crw------- 1 root operator 0, 72 Jul 21 17:38 xpt0
crw-rw-rw- 1 root wheel 0, 29 Jul 21 17:38 zero
Thanks for any tips/help. Which port do I need to install to get usbdump ?
Regards,
Manish Jain
+91-99620-10329
On 21-Jul-12 07:10, Erich Dollansky wrote:
> Hi,
>
> On Friday 20 July 2012 19:25:21 Manish Jain wrote:
>> I earlier had a Huawei EC1261-based USB modem which used to connect
>> smoothly to the internet under FreeBSD 8.2 using the u3g module. For
>> some reasons, I have had to switch to another provider (MTS) who swapped
>> the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem.
>> And my FreeBSD system cannot connect to the internet anymore.
>>
> both modems are not officially supported by FreeBSD.
>
> You might get some help from the list if you provide the output of usbconfig and usbdump.
>
> You run usbconfig first to find out the device numbers of the modem and then dump with usbdump the description of the modem.
>
>> Here are the contents of my ppp.conf (I assume authkey means password) :
> There should nothing to be done here as the modem is not recognised.
>
> Erich
>
>
More information about the freebsd-questions
mailing list