OpenWrt Forum Archive

Topic: TL-MR3020 Usb-Device /dev/tty...

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everybody i crosscompiled an C-File "Tunslip6" and installed it on my TL-MR3020. That all works. If I run this C-File i need to run am Command like this:

 tunslip6 -s /dev/ttyUSB0 aaaa::1/64

!
But if i plug an USB-Device to my USB-Port i didn't get any ttyFile under /dev/!
If I plug my USB-Device to USB, i only git under /dev/1-1 and this following message:

root@OpenWrt:/# [  371.680000] usb 1-1: new high-speed USB device number 5 using ath79-ehci

Under normal Ubuntu i could plug my USB-Device trough USB-Port and i see under /dev/ttyUSB0. After that i could run

 tunslip6 -s /dev/ttyUSB0 aaaa::1/64

and my Tunnel will start but under Openwrt i had some Problems!

if I run #dmesg i see this following:

[   10.130000] usbcore: registered new interface driver usbfs
[   10.140000] usbcore: registered new interface driver hub
[   10.140000] usbcore: registered new device driver usb
[   11.470000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.480000] ath79-ehci ar933x-ehci: Atheros built-in EHCI controller
[   11.480000] ath79-ehci ar933x-ehci: new USB bus registered, assigned bus number 1
[   11.520000] ath79-ehci ar933x-ehci: irq 3, io mem 0x1b000000
[   11.540000] ath79-ehci ar933x-ehci: USB 2.0 started, EHCI 1.00
[   11.540000] hub 1-0:1.0: USB hub found
[   11.540000] hub 1-0:1.0: 1 port detected
[   11.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   11.660000] uhci_hcd: USB Universal Host Controller Interface driver
[   11.810000] Initializing USB Mass Storage driver...
[   11.810000] usbcore: registered new interface driver usb-storage
[   11.820000] USB Mass Storage support registered.
[   11.880000] usb 1-1: new high-speed USB device number 2 using ath79-ehci

Did I have to edit some Config or what should I do ? Did somebody please had an Idea what i could do ?

Greetz
Patrick

(Last edited by Patrick_85 on 11 Apr 2012, 14:12)

If I install

opkg  install kmod-usb-serial-ftdi

i got /dev/ttyUSB0 but if i wnat to start tunslip6 with this command:

tunslip6 -s /dev/ttyUSB0 aaaa::1/64

i got that problem:

********SLIP started on ``/dev/ttyUSB0''
tunslip6: main: open: No such file or directory

Hi Patrick,
have you solved the issue about the tunslip6 and openwrt to make it working properly?

Because I'm trying to integrate a contiki border-router on openwrt in order to upload data through the USB serial interface.

But I'm having problem to install the right packages in openwrt.

I'm using a HG655b router with the 15.05 openwrt version. The packages that I would have to install are:
- kmod-usb-serial-ftdi_3.18.20-1_brcm63xx
- kmod-slip_3.18.20-1_brcm63xx
- tunslip6_2.5_brcm63xx

I don't know why but I got a problem about dependencies installing kmod-slip package (dependencies about linux kernel). Anyway it's strange because the package comes from the official repository of openwrt.

Let me know if you have any suggestions

Thanks in advance

The discussion might have continued from here.