Jump to content

Recommended Posts

Posted

Hi All,

 

I would like to connect a lanturtle to the USB 2.0 host port on the nano. I want to have ethernet internet connection and keep both wifi radios available. when I plug the lanturtle into the nano I see the lanturtle with lsusb.

Bus 001 Device 006: ID 0bda:8152 Realtek Semiconductor Corp.

This is as far as I get. ifconfig does not indicate that I have an eth1.

dmesg show this:

usb 1-1.3: new high-speed USB device number 6 using ehci-platform

Could anyone share how to get from lsusb and dmesg seeing the lanturtel to having a working ethernet port.?

 

Posted

I can confirm this problem. Maybe there is a driver missing ?

dmesg output with turtle:

[ 2605.870000] usb 1-1.3: USB disconnect, device number 5
[ 2609.690000] usb 1-1.3: new high-speed USB device number 6 using ehci-platform
[ 2693.930000] usb 1-1.3: USB disconnect, device number 6
[ 2704.160000] usb 1-1.3: new high-speed USB device number 7 using ehci-platform

Added AXIS Adapter sucessfully to compare:

[ 2705.130000] asix 1-1.3:1.0 eth1: register 'asix' at usb-ehci-platform-1.3, ASIX AX88772 USB 2.0 Ethernet, 00:14:d1:XX:XX:XX
[ 2734.310000] asix 1-1.3:1.0 eth1: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 2734.510000] asix 1-1.3:1.0 eth1: link up, 100Mbps, full-duplex, lpa 0xC5E1
root@Nano:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:14:D1:XX:XX:XX
          inet addr:172.16.17.133  Bcast:172.16.17.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:225906 (220.6 KiB)  TX bytes:92 (92.0 B)

I´m sure seb or darren can fix this with a new firmware.

Posted

Installed kmod-usb-net without any luck

root@Nano:~# opkg list kmod-usb-net
kmod-usb-net - 3.18.23-1
If the above errors were only about a kernel version missmatch, please ignore them. The package was installed successfully.
root@Nano:~#

no new eth interface:

root@Nano:~# ifconfig -a eth0
eth0      Link encap:Ethernet  HWaddr 00:C0:CA:90:XX:XX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4

root@Nano:~# ifconfig -a eth1
ifconfig: eth1: error fetching interface information: Device not found

here is the dmesg output:

[  413.510000] usb 1-1.3.1: USB disconnect, device number 6
[  416.070000] usb 1-1.3.2: new high-speed USB device number 9 using ehci-platform

However, thanks for your help and ideas @Foxtrot

Posted

BeNE. Thanks you for being kind enough to let everyone know that operating systems from different sources are not the same. Troubleshooting 101. Lanturtle does not work with Nano. First make sure Lanturtle works. Have you tried Lantutle on a different host? Yes I have. Lanturtle works fine on another host. Good. Now we can rule defective Lanturtle out. 

Posted

I don't know if this info is useful in trying to make the Lanturtle work with the Nano.

$ opkg install kmod-usb-net-asix-ax88179 $> data.txt

$ cat data.txt

 

modprobe: can't change directory to '': No such file or directory

Collected errors:

 * pkg_run_script: package "kmod-usb-net-asix-ax88179" postinst script returned status 1.

 * opkg_configure: kmod-usb-net-asix-ax88179.postinst returned 1.

Package kmod-usb-net-asix-ax88179 (3.18.20-1) installed in root is up to date.

Configuring kmod-usb-net-asix-ax88179.

If the above errors were only about a kernel version missmatch, please ignore them. The package was installed successfully.

Posted

$ opkg status kmod-usb-net-asix-ax88179 $> data1.txt

$ cat data1.txt

 

Package: kmod-usb-net-asix-ax88179

Version: 3.18.20-1

Depends: kernel (= 3.18.20-1-7bed08fa9c06eb8089e82c200340ec66), kmod-libphy, kmod-usb-net

Status: install hold,user unpacked

Architecture: ar71xx

Installed-Time: 1471180925

 

If the above errors were only about a kernel version missmatch, please ignore them. The package was installed successfully.

Posted

I think there is a version mismatch with the ax88179_178a module.

when I did a opkg install kmod-usb-net-asix-ax88179 the module got downloaded to /lib/module/3.18.20

The rest of the modules on the Nano are in /lib/modules/3.18.23.

I tried cp ax88179_179a.ko from 3.18.20 to 3.18.23. restated the Nano and had lots of messages in dmesg telling me that was a bad idea. del ax88179_179a.ko from 3.18.23.

 

Does anyone know how I can get a 3.18.23 version of the ax88179_179a.ko module?

  • Foxtrot changed the title to lanturtle+on+USB+2.0+Host+port
  • 5 months later...
Posted

I'm having the exact same issue with a few other modules. All recently installed kmods have landed in this older "3.18.20" directory, and those modules won't load

root@PineappleVI:/lib/modules# pwd
/lib/modules
root@PineappleVI:/lib/modules# ls
3.18.20  3.18.36
root@PineappleVI:/lib/modules# ls 3.18.20
i2c-dev.ko            input-core.ko         uvcvideo.ko           v4l2-common.ko        videobuf2-core.ko     videobuf2-memops.ko   videobuf2-vmalloc.ko  videodev.ko
root@PineappleVI:/lib/modules# ls 3.18.36
aead.ko                    eeprom_93cx6.ko            mii.ko                     ohci-hcd.ko                scsi_mod.ko                usb-storage.ko             xt_hl.ko
arc4.ko                    ehci-hcd.ko                nf_conntrack.ko            ohci-platform.ko           sd_mod.ko                  usb_wwan.ko                xt_id.ko
asix.ko                    ehci-platform.ko           nf_conntrack_ftp.ko        option.ko                  sg.ko                      usbcore.ko                 xt_length.ko
ath.ko                     ext4.ko                    nf_conntrack_ipv4.ko       pl2303.ko                  sierra_net.ko              usbnet.ko                  xt_limit.ko
ath9k.ko                   fat.ko                     nf_conntrack_rtcache.ko    ppp_async.ko               slhc.ko                    usbserial.ko               xt_mac.ko
ath9k_common.ko            gpio-button-hotplug.ko     nf_defrag_ipv4.ko          ppp_generic.ko             sunrpc.ko                  vfat.ko                    xt_mark.ko
ath9k_htc.ko               grace.ko                   nf_log_common.ko           pppoe.ko                   tun.ko                     x_tables.ko                xt_multiport.ko
ath9k_hw.ko                ip_tables.ko               nf_log_ipv4.ko             pppox.ko                   uhci-hcd.ko                xt_CLASSIFY.ko             xt_nat.ko
ax88179_178a.ko            ipt_ECN.ko                 nf_nat.ko                  qmi_wwan.ko                ums-alauda.ko              xt_CT.ko                   xt_state.ko
cdc-acm.ko                 ipt_MASQUERADE.ko          nf_nat_ftp.ko              rndis_host.ko              ums-cypress.ko             xt_DSCP.ko                 xt_statistic.ko
cdc-wdm.ko                 ipt_REJECT.ko              nf_nat_ipv4.ko             rt2800lib.ko               ums-datafab.ko             xt_HL.ko                   xt_tcpmss.ko
cdc_ether.ko               iptable_filter.ko          nf_nat_masquerade_ipv4.ko  rt2800usb.ko               ums-freecom.ko             xt_LOG.ko                  xt_tcpudp.ko
cfg80211.ko                iptable_mangle.ko          nf_reject_ipv4.ko          rt2x00lib.ko               ums-isd200.ko              xt_NETMAP.ko               xt_time.ko
compat.ko                  iptable_nat.ko             nfs.ko                     rt2x00usb.ko               ums-jumpshot.ko            xt_REDIRECT.ko
crc-ccitt.ko               iptable_raw.ko             nfsv3.ko                   rtl8187.ko                 ums-karma.ko               xt_TCPMSS.ko
crc-itu-t.ko               jbd2.ko                    nls_base.ko                rtl8192c-common.ko         ums-sddr09.ko              xt_comment.ko
crc16.ko                   lockd.ko                   nls_cp437.ko               rtl8192cu.ko               ums-sddr55.ko              xt_conntrack.ko
crypto_blkcipher.ko        mac80211.ko                nls_iso8859-1.ko           rtl_usb.ko                 ums-usbat.ko               xt_dscp.ko
crypto_hash.ko             mbcache.ko                 nls_utf8.ko                rtlwifi.ko                 usb-common.ko              xt_ecn.ko
root@PineappleVI:/lib/modules# modprobe input-core
modprobe: can't change directory to '': No such file or directory

I assume this is because those modules are for an older kernel:

# uname -r
3.18.36

It looks like http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/ has slightly newer package versions (at 3.18.23) than the 15.05 repo that the nano defaults to, and the current development snapshot is way newer, at 4.4.14  http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/, but I don't see anything in between the two on official openwrt repos.

Seb, do you know of any repo versions from the 3.18.36 snapshot? Or are we on our own to compile for this custom kernel version?

  • Foxtrot changed the title to lanturtle on USB 2.0 Host port

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...