Loading ...
Sorry, an error occurred while loading the content.

Re: zd1211 on slugOS be: posted to wrong group reposting

Expand Messages
  • prupertplum
    ... that would help anyone determine what the problem might really be! sorry, all that info was included in my other post to nslu2-general, I should have
    Message 1 of 6 , Dec 6, 2008
    • 0 Attachment
      --- In nslu2-linux@yahoogroups.com, "Mike (mwester)" <mwester@...> wrote:

      > I see a lot of conclusions that you've come to, but no information >
      that would help anyone determine what the problem might really be!
      sorry, all that info was included in my other post to nslu2-general, I
      should have repeated here.

      > Let's start with the driver. What's the output from the "lsmod" command
      > after you do the "insmod zd1211rw" command?

      Ok, first, inorder to insmod zd12211rw, I first have to indmod a
      number of other modules, all realted to ieee802111. After doing these,
      I can finally insmod zd1211rw (but only by doing insmod zd1211rw.ko in
      the correct directory). After doing this, this is what lsmod shows:

      Module Size Used by
      zd1211rw 41380 0
      ieee80211softmac 21728 1 zd1211rw
      ieee80211 26180 2 zd1211rw,ieee80211softmac
      ieee80211_crypt_tkip 9536 0
      ieee80211_crypt 3040 2 ieee80211,ieee80211_crypt_tkip
      ixp4xx_mac 14612 0
      ixp4xx_qmgr 5388 5 ixp4xx_mac
      mii 3424 1 ixp4xx_mac
      ext3 110504 2
      jbd 47784 1 ext3
      mbcache 5604 1 ext3
      ohci_hcd 16804 0
      ehci_hcd 30252 0


      After that, plug in the
      > wireless dongle, wait a few seconds, then use the "dmesg" command to get
      > the kernel messages -- what are the last 100 lines or so of that?

      This is what dmesg shows after doing the insmod and lsmod and then
      plugging in the usb adaptor and waiting a few seconds:

      <6>usb 1-2: USB disconnect, address 3
      <4>zd1211rw: Unknown symbol ieee80211_wx_get_encodeext
      <4>zd1211rw: Unknown symbol ieee80211_wx_set_encode
      <4>zd1211rw: Unknown symbol ieee80211_wx_get_encode
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_set_rate
      <4>zd1211rw: Unknown symbol ieee80211_txb_free
      <4>zd1211rw: Unknown symbol ieee80211_wx_set_auth
      <4>zd1211rw: Unknown symbol ieee80211_wx_set_encodeext
      <4>zd1211rw: Unknown symbol alloc_ieee80211softmac
      <4>zd1211rw: Unknown symbol ieee80211softmac_highest_supported_rate
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_trigger_scan
      <4>zd1211rw: Unknown symbol ieee80211_wx_get_auth
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_get_scan_results
      <4>zd1211rw: Unknown symbol ieee80211_set_geo
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_get_genie
      <4>zd1211rw: Unknown symbol ieee80211softmac_start
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_set_essid
      <4>zd1211rw: Unknown symbol ieee80211_rx
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_get_wap
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_get_rate
      <4>zd1211rw: Unknown symbol ieee80211_rx_mgt
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_get_essid
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_set_wap
      <4>zd1211rw: Unknown symbol free_ieee80211
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_set_mlme
      <4>zd1211rw: Unknown symbol ieee80211softmac_wx_set_genie
      <4>zd1211rw: Unknown symbol ieee80211softmac_stop
      <4>ieee80211: Unknown symbol ieee80211_get_crypto_ops
      <4>ieee80211: Unknown symbol ieee80211_crypt_deinit_entries
      <4>ieee80211: Unknown symbol ieee80211_crypt_delayed_deinit
      <4>ieee80211: Unknown symbol ieee80211_crypt_deinit_handler
      <4>ieee80211: Unknown symbol ieee80211_crypt_quiescing
      <7>ieee80211_crypt: registered algorithm 'NULL'
      <7>ieee80211_crypt: registered algorithm 'TKIP'
      <6>ieee80211: 802.11 data/management/control stack, git-1.1.13
      <6>ieee80211: Copyright (C) 2004-2005 Intel Corporation
      <jketreno@...>
      <6>usbcore: registered new interface driver zd1211rw
      <6>usb 1-2: new high speed USB device using ehci_hcd and address 4
      <6>usb 1-2: configuration #1 chosen from 1 choice

      This shows when I first disconnected the adaptor before conducting
      your instructions, then what happened when I first did insmod zd1211rw
      - it fails and why I needed to insmod all the other ieee80211 modules,
      and then what it registers when the adaptor is plugged back in,
      essentially, only two lines. They don't mean much to me, but it seems
      that it is not registering the device as a wireless adaptor and not
      sure what configuration it is choosing....

      Here are the results of various ifconfig commands after plugging in
      the device:

      root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
      ifup wlan0SIOCGIFFLAGS: No such device
      root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
      ifup eth1 SIOCGIFFLAGS: No such device
      root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
      ifconfig wlan0
      ifconfig: wlan0: error fetching interface information: Device not found
      root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$


      > Basically, this will help determine if your device is seen at all, and
      > what the USB ids would be for it. Let's start with that for the moment.
      >
      > (Regarding your other emails, yes, SlugOS is a fine place to start, it
      > does support wireless devices with the correct drivers, and there is no
      > easy way to provide information on what ethernet dongles may or may not
      > work since the vendors market completely different chipsets in the same
      > packaging -- however, most of the common ones on the market will work.)
      >
      > Mike (mwester)
      >

      Ok, thanks for your views on this - I have bought a couple of USB
      dongles from eBay that seem most common (and hence most popular) and
      will try em out and update the wiki if they seem to work - my problem
      is that I don't know how to work out what chipset these dongles use,
      and hence wont know what driver to install, but I will see how I manage.

      Thanks for taking the time to answer my posts and I look forward to
      progressing this - sorry for not giving usefull info earlier ;)
    • Mike (mwester)
      prupertplum wrote:... ... ifconfig -a will list all the interfaces present on the systems - what is the output from that command? Also, what is the output
      Message 2 of 6 , Dec 6, 2008
      • 0 Attachment
        prupertplum wrote:...
        > Here are the results of various ifconfig commands after plugging in
        > the device:
        >
        > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
        > ifup wlan0SIOCGIFFLAGS: No such device
        > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
        > ifup eth1 SIOCGIFFLAGS: No such device
        > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
        > ifconfig wlan0
        > ifconfig: wlan0: error fetching interface information: Device not found
        > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$

        "ifconfig -a" will list all the interfaces present on the systems - what
        is the output from that command? Also, what is the output from
        "iwconfig" (you may have to install wireless-tools to get that command)?

        Mike (mwester)
      • prupertplum
        Hi root@snug:~$ ifconfig -a eth0 Link encap:Ethernet HWaddr 00:1D:7E:B4:3D:39 inet addr:192.168.1.129 Bcast:192.168.1.255 Mask:255.255.255.0 UP
        Message 3 of 6 , Dec 7, 2008
        • 0 Attachment
          Hi

          root@snug:~$ ifconfig -a
          eth0 Link encap:Ethernet HWaddr 00:1D:7E:B4:3D:39
          inet addr:192.168.1.129 Bcast:192.168.1.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1394617 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2791 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:318927883 (304.1 MiB) TX bytes:400115 (390.7 KiB)

          lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12240 (11.9 KiB) TX bytes:12240 (11.9 KiB)

          root@snug:~$ iwconfig
          lo no wireless extensions.

          eth0 no wireless extensions.

          and /etc/network/interfaces shows:

          # /etc/network/interfaces
          # configuration file for ifup(8), ifdown(8)
          #
          # The loopback interface
          auto lo
          iface lo inet loopback
          #
          # The interface used by default during boot
          auto eth0
          # Automatically generated from /etc/default/sysconf
          # address, netmask and gateway are ignored for 'dhcp'
          # but required for 'static'
          iface eth0 inet dhcp
          address 192.168.1.77

          iface wlan0 inet dhcp
          pre-up /sbin/ifconfig $IFACE up
          pre-up cp /etc/resolv.conf /tmp/r
          wpa-conf /etc/wpa_supplicant.conf
          wpa-driver wext
          wireless-key secret
          wireless-essid plumternet
          up cp /tmp/r /etc/resolv.conf


          auto eth1
          iface eth1 inet dhcp
          pre-up /sbin/ifconfig $IFACE up
          pre-up cp /etc/resolv.conf /tmp/r
          wpa-conf /etc/wpa_supplicant.conf
          wpa-driver wext
          wireless-key secret
          wireless-essid plumternet
          up cp /tmp/r /etc/resolv.conf

          so, device isn't being registered correctly maybe?

          --- In nslu2-linux@yahoogroups.com, "Mike (mwester)" <mwester@...> wrote:
          >
          > prupertplum wrote:...
          > > Here are the results of various ifconfig commands after plugging in
          > > the device:
          > >
          > > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
          > > ifup wlan0SIOCGIFFLAGS: No such device
          > > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
          > > ifup eth1 SIOCGIFFLAGS: No such device
          > > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
          > > ifconfig wlan0
          > > ifconfig: wlan0: error fetching interface information: Device not
          found
          > > root@snug:/lib/modules/2.6.21.7/kernel/drivers/net/wireless/zd1211rw$
          >
          > "ifconfig -a" will list all the interfaces present on the systems - what
          > is the output from that command? Also, what is the output from
          > "iwconfig" (you may have to install wireless-tools to get that command)?
          >
          > Mike (mwester)
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.