Find the answer to your Linux question:
Results 1 to 9 of 9
My computer is Datron aero Tw7a, and using WinBond Qcom wireless(using usb). Here is my lsusb output: Code: Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    5

    Wireless card cant see infrastructure connections


    My computer is Datron aero Tw7a, and using WinBond Qcom wireless(using usb).

    Here is my lsusb output:
    Code:
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 15d9:0a33 Unknown
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 002: ID 18e8:6217 Qcom
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 064e:a111 Suyin Corp.
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 007 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    iwlist wlan0 scan output:

    Code:
    iwlist wlan0 scan
    wlan0     Scan completed :
              Cell 01 - Address: 02:E0:9F:D3:A6:C4
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality:0  Signal level:0  Noise level:0
                        Encryption key:on
                        ESSID:"ANY"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                        Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                                  36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Ad-Hoc
                        Extra:tsf=00000000911b656c
                        Extra: Last beacon: 189ms ago
                        IE: Unknown: 0003414E59
                        IE: Unknown: 010482848B96
                        IE: Unknown: 030101
                        IE: Unknown: 06020000
                        IE: Unknown: 3000
                        IE: Unknown: 2A0100
                        IE: Unknown: 32088C129824B048606C
                        IE: Unknown: 5A700906000000000000000000000000000000000000000000000000000000000000000000
    and my iwconfig wlan0 result:
    Code:
    iwconfig wlan0
    wlan0     IEEE 802.11b  ESSID:"F-UST"
              Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
              Tx-Power=20 dBm
              Retry min limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    My wireless card sees ad-hoc connections but not infrastructure ones. I cant solve this problem pls help
    thanks

  2. #2
    Linux Newbie the bassinvader's Avatar
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    168
    hi silent_enigma

    I've had similar problems to this with my wireless connectivity. I'm sure somebody else will have a proper solution for you but I've found that the order in which I enable/disable things has an effect. For example, on my machine I have to disable eth0 in order to use a wireless connection. If I disable eth0 and then enable wlan0 I will encounter a similar problem to you, however if I start wlan0 first and then disable eth0 I have no problems at all ( dont want to hijack but does anybody know why this may be?).

    Hope this helps
    " I didn't know it was a picture of his wife! I thought it was a publicity shot form Planet Of the Apes."

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    5
    i think i cant disable eth0? Which command should i use?

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by silent_enigma View Post
    i think i cant disable eth0? Which command should i use?
    Depends on your distro really, and how you set it up. On my machine, as root the command is:

    Code:
    /etc/init.d/net.eth0 stop
    Or the universal way:
    Code:
    ifconfig eth0 down
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  5. #5
    Just Joined!
    Join Date
    Dec 2005
    Posts
    5
    i am using PARDUS 2009

    i had used:
    Code:
    ifconfig eth0 down
    but my wireless still cant find infrastructure connections

  6. #6
    Just Joined!
    Join Date
    Dec 2005
    Posts
    5
    i have downloaded the hxxp://winbondport.googlecode.com/files/winbondport-030408-trunk.tgzdriver file for my notebook. But i get this error in my linux distro:Pardus

    Code:
    make -C /lib/modules/2.6.30.5-126/build M=/home/SilentEnigma/İndirilenler/trunk/linux modules
    make[1]:`/usr/src/linux-headers-2.6.30.5-126' dizinine giriliyor                             
      CC [M]  /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.o                         
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_scan':     
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:62: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_scan':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:82: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_freq':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:222: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_range':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:273: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_mode':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:413: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_mode':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:445: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_rate':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:479: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_rate':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:530: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_rts':                              
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:541: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_rts':                              
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:552: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_frag':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:565: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_frag':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:576: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_txpow':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:590: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_txpow':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:600: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_essid':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:619: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_essid':                            
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:708: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_sens':                             
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:722: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_encode':                           
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:748: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_encode':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:821: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_encodeext':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:864: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_wap':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1056: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_wap':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1076: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_region':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1091: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_region':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1121: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_ibss_freq':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1166: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_ibss_freq':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1188: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_ibss_mode':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1210: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_ibss_mode':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1230: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_scanning':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1252: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_pwd':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1270: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_ie':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1289: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_get_ssid_info':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1354: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_genie':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1374: error: 'struct net_device' has no member named 'priv'
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c: In function 'test_set_auth':
    /home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.c:1485: error: 'struct net_device' has no member named 'priv'
    
    *** 34 errors, 0 warnings
    make[2]: *** [/home/SilentEnigma/İndirilenler/trunk/linux/new_wireless.o] Hata 1
    make[1]: *** [_module_/home/SilentEnigma/İndirilenler/trunk/linux] Hata 2
    make[1]: `/usr/src/linux-headers-2.6.30.5-126' dizininden ıkılıyor
    make: *** [all] Hata 2
    But i used the same file and commands in Damn Vulnerable Liux and i didnt get any errors:

    Code:
    bt ~ # cd trunk/linux/
    bt linux # make
    make -C /lib/modules/2.6.20-BT-PwnSauce-NOSMP/build M=/root/trunk/linux modules
    make[1]: Entering directory `/usr/src/linux-2.6.20'
      CC [M]  /root/trunk/linux/new_wireless.o
      CC [M]  /root/trunk/linux/wbusb.o
      CC [M]  /root/trunk/linux/wb35reg.o
      CC [M]  /root/trunk/linux/wb35rx.o
      CC [M]  /root/trunk/linux/wb35tx.o
      CC [M]  /root/trunk/linux/../bssdbase.o
      CC [M]  /root/trunk/linux/../ds_tkip.o
      CC [M]  /root/trunk/linux/../knl.o
      CC [M]  /root/trunk/linux/../mds.o
      CC [M]  /root/trunk/linux/../mlme_assoc.o
      CC [M]  /root/trunk/linux/../mlme_auth.o
      CC [M]  /root/trunk/linux/../mlmetask.o
      CC [M]  /root/trunk/linux/../mlmetxrx.o
      CC [M]  /root/trunk/linux/../mto.o
      CC [M]  /root/trunk/linux/../phy_calibration.o
      CC [M]  /root/trunk/linux/../reg.o
      CC [M]  /root/trunk/linux/../roamtask.o
      CC [M]  /root/trunk/linux/../rxisr.o
      CC [M]  /root/trunk/linux/../scan_probe.o
      CC [M]  /root/trunk/linux/../scantask.o
      CC [M]  /root/trunk/linux/../sme_api.o
      CC [M]  /root/trunk/linux/../smetask.o
      CC [M]  /root/trunk/linux/../wbhal.o
      CC [M]  /root/trunk/linux/../wblinux.o
      CC [M]  /root/trunk/linux/../wpa/eap.o
      CC [M]  /root/trunk/linux/../wpa/4Way.o
      CC [M]  /root/trunk/linux/../wpa/Adapter_Bridge.o
      CC [M]  /root/trunk/linux/../wpa/STLFunction.o
      CC [M]  /root/trunk/linux/../wpa/passphrase.o
      CC [M]  /root/trunk/linux/../wpa/prf.o
      CC [M]  /root/trunk/linux/../wpa/rc4.o
      CC [M]  /root/trunk/linux/../wpa/sha1.o
      CC [M]  /root/trunk/linux/../wpa/hmac_sha1.o
      CC [M]  /root/trunk/linux/../wpa/hmac_md5.o
      CC [M]  /root/trunk/linux/../wpa/md5.o
      CC [M]  /root/trunk/linux/../wpa/aes.o
      CC [M]  /root/trunk/linux/../wpa/aes_wrap.o
      LD [M]  /root/trunk/linux/w35und.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /root/trunk/linux/w35und.mod.o
      LD [M]  /root/trunk/linux/w35und.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.20'
    
    
    bt linux # make install
    cp w35und.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
    bt linux # depmod -ae
    bt linux # modprobe w35und
    
    bt linux # iwconfig wlan0
    wlan0     IEEE IOCTL TEST  ESSID:""  Nickname:"IS89C35"
              Mode:Auto  Frequency=2.412 GHz  Bit Rate=1 Mb/s   Tx-Power:12 dBm
              Sensitivity=18/3
              RTS thr=2347 B   Fragment thr:2346 B
              Encryption key:off
              Power Management:off
    what can be the problem.
    what does this mean:
    Code:
    error: 'struct net_device' has no member named 'priv'

  7. #7
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Check the system requirements. You may be missing something from Pardus.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  8. #8
    Just Joined!
    Join Date
    Dec 2005
    Posts
    5
    Quote Originally Posted by MikeTbob View Post
    Check the system requirements. You may be missing something from Pardus.
    i really didnt get what you want to say.

    i just want to learn what is the problm with using "make"
    why i get that error message in Pardus?

  9. #9
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    You downloaded a .tgz file right? Usually these will contain files named README and INSTALL when you extract/uncompress them. Did you happen to notice if you have these files? They will explain to you what libraries/programs that you need before you can install the file you downloaded. These are usually called "Dependencies".
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •