good day Matthijs, have the two dmesg logs for the ubuntu machine and the fonera. after some noise caused by the device initially appearing as a cdrom, ubuntu loads cdc_ether being used by usbnet.
on the Fonera the device also looks like a cdrom, but it stays like that. I can insmod usbnet on the fonera, but cdc_ether is not there. ubuntu-connect: [ 802.840173] usb 1-3: new high-speed USB device number 5 using ehci_hcd [ 802.972984] usb 1-3: New USB device found, idVendor=12d1, idProduct=1f01 [ 802.972999] usb 1-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [ 802.973009] usb 1-3: Product: HUAWEI HiLink [ 802.973017] usb 1-3: Manufacturer: HUAWEI [ 802.975610] scsi5 : usb-storage 1-3:1.0 [ 803.973299] scsi 5:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 [ 803.977647] sr0: scsi-1 drive [ 803.982375] sr 5:0:0:0: Attached scsi CD-ROM sr0 [ 803.983066] sr 5:0:0:0: Attached scsi generic sg1 type 5 [ 804.661349] quiet_error: 66 callbacks suppressed [ 804.661360] Buffer I/O error on device sr0, logical block 7 [ 804.661377] Buffer I/O error on device sr0, logical block 7 [ 804.813592] usb 1-3: USB disconnect, device number 5 [ 805.956172] usb 1-3: new high-speed USB device number 6 using ehci_hcd [ 806.089689] usb 1-3: New USB device found, idVendor=12d1, idProduct=14db [ 806.089701] usb 1-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [ 806.089709] usb 1-3: Product: HUAWEI HiLink [ 806.089716] usb 1-3: Manufacturer: HUAWEI [ 806.094437] cdc_ether 1-3:1.0: eth1: register 'cdc_ether' at usb-0000:00:1d.7-3, CDC Ethernet Device, 58:2c:80:13:92:63 Fonera-connect: hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 usb 1-1: new high speed USB device using dwc_otg and address 2 usb 1-1: default language 0x0409 usb 1-1: new device strings: Mfr=2, Product=1, SerialNumber=0 usb 1-1: Product: HUAWEI HiLink usb 1-1: Manufacturer: HUAWEI usb 1-1: uevent usb 1-1: usb_probe_device usb 1-1: configuration #1 chosen from 1 choice usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: uevent usb-storage 1-1:1.0: usb_probe_interface usb-storage 1-1:1.0: usb_probe_interface - got id scsi0 : SCSI emulation for USB Mass Storage devices drivers/usb/core/inode.c: creating file '002' hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 hub 1-0:1.0: port 1 enable change, status 00000503 usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning scsi 0:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 usb-storage: device scan complete root@Fonera:~# insmod usbnet root@Fonera:~# insmod cdc_ether insmod: Loading module failed: No such file or directory root@Fonera:~# On Mon, 10 Dec 2012 11:22:17 +0100 Matthijs Kooijman <[email protected]> wrote: > Hi guys, > > > sí, this is my pen, and I confirm that the ubuntu machine sees it > > as a wired connection. so this does not fall in the scope of the > > umts/3G configuration, does it? > Nope, the current 3G support is intended for dial-up style modems > using a "serial" connection. > > > does the Fonera support usb-to-lan (already)? > Not right now. > > If the kernel supports this device, this shouldn't be too hard to get > this working in a crude way for you (though supporting it properly and > officially is more complicated). > > I looked through the kernel driver list for USB network cards (run > "make kernel_menuconfig" from the "openwrt" directory of the source > tree and head over to USB Support -> USB Network Adapters) and it > seems most of the drivers are already included in the firmware. > > If one of these drivers in fact supports this device, then plugging it > in on your Fonera should give some output in dmesg / logread that > shows a network device is created. Perhaps it helps to compare the > dmesg output to the same output on your Ubuntu machine to find out > which driver is needed. > > If there is indeed a USB net device created, I think it should be as > simple as changing the /lib/fon/config.sh script to change the line: > wan_ifname="eth0.2" > to use the usb net device name instead of the eth0.2 device name. > Setting up something to automatically switch between wired and 3G is a > bit more complicated, of course. > > Gr. > > Matthijs _______________________________________________ Development mailing list [email protected] http://fonosfera.org/mailman/listinfo/development
