You are not logged in.

#1 2008-09-03 15:11:51

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

wicd can't find my wireless network

If i run ifconfig, i get:

eth0      Link encap:Ethernet  HWaddr 00:03:0D:8A:6F:E1  
          inet addr:192.168.0.67  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::203:dff:fe8a:6fe1/64 Scope:Link              
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1             
          RX packets:6873 errors:0 dropped:0 overruns:0 frame:0          
          TX packets:5030 errors:0 dropped:0 overruns:0 carrier:0        
          collisions:0 txqueuelen:1000                                   
          RX bytes:7310016 (6.9 Mb)  TX bytes:555237 (542.2 Kb)          
          Interrupt:19 Base address:0x4000                               

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:57 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3378 (3.2 Kb)  TX bytes:3378 (3.2 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:16:44:9A:83:5F
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-16-44-9A-83-5F-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING 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)

and iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          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

The fact that wlan0 is listed there must mean that the driver is installed correctly, right? So how come wicd can't find any wireless networks at all?

Offline

#2 2008-09-03 17:19:08

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: wicd can't find my wireless network

If you're wondering, my wlan card is a atheros AR5007EG (even though both Kubuntu and Arch lists it as a AR242x, I'm pretty sure it's actually an AR5007EG).
Also, wicd does connect to the wired network.
And yes, the wireless router is working, I can connect with another computer to the very same network.

Offline

#3 2008-09-03 17:30:52

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: wicd can't find my wireless network

You need to use ndiswrapper. Install it, then use it to install the 6.0.3.85 driver from here.

Support for AR5007EG in the madwifi driver should be coming along soon, FWIW.

Last edited by Gullible Jones (2008-09-03 17:31:16)

Offline

#4 2008-09-04 21:44:44

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: wicd can't find my wireless network

Ok, I've installed the driver. When running "ndiswrapper -l", I get:

[arvid@arvid-arch ~]$ ndiswrapper -l
netathw : driver installed
        device (168C:001C) present (alternate driver: ath5k)

So, it claimes that it conflicts with ath5k. This even though ath5k isn't loaded, when running "sudo rmmod ath5k", I get:

[arvid@arvid-arch ~]$ sudo rmmod ath5k
ERROR: Module ath5k does not exist in /proc/modules

If I try to reload ndiswrapper with rmmod/modprobe, I get a segmentation fault on rmmod, and if I try to run it again I get "ERROR: Removing 'ndiswrapper': Device or resource busy". If I then try to run "sudo modprobe ndiswrapper", nothing happens and I have to abort with ^C.

Also, ath5k now being unloaded and ndiswrapper not being able to load its driver, I no longer see my wireless card with iwconfig or ifconfig.

Last edited by BeholdMyGlory (2008-09-04 21:49:01)

Offline

#5 2008-09-04 22:02:39

richs-lxh
Member
Registered: 2008-08-23
Posts: 76

Re: wicd can't find my wireless network

Do you still have the ath5k module listed in rc.conf? You may have to delete the entry or comment it with a "!", then reboot, and try again.

And your card definitely doesn't work with the madwifi ath_pci module?

It used to have a Hal problem but as of last year Madwifi supported the AR5007EG chipset.
http://madwifi.org/wiki/Compatibility/A … osAR5007EG
Works perfectly with this latest madwifi-hal branch snapshot --> http://madwifi.org/ticket/1192

madwifi and madwifi-utils are in the repos, just install and modprobe ath_pci.

There is also a new Hal which is a major improvement as regards to card recognition and performance:
http://madwifi.org/wiki/news/20080829/n … s-hardware

richs-lxh

Last edited by richs-lxh (2008-09-04 22:21:31)

Offline

#6 2008-09-04 22:22:57

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: wicd can't find my wireless network

richs-lxh wrote:

Do you still have the ath5k module listed in rc.conf? You may have to delete the entry or comment it with a "!", then reboot, and try again.

I've commented it out with a !:
MODULES=(r8169 ndiswrapper !ath5k ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)

Here's my complete rc.conf if it's to any use:

#                                      
# /etc/rc.conf - Main Configuration for Arch Linux
#                                                 

# -----------------------------------------------------------------------
# LOCALIZATION                                                           
# -----------------------------------------------------------------------
#                                                                        
# LOCALE: available languages can be listed with the 'locale -a' command 
# HARDWARECLOCK: set to "UTC" or "localtime"                             
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock  
# TIMEZONE: timezones are found in /usr/share/zoneinfo                   
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps                    
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans                          
# USECOLOR: use ANSI color sequences in startup messages                    
#                                                                           
LOCALE="sv_SE.utf8"                                                         
HARDWARECLOCK="UTC"                                                         
USEDIRECTISA="no"                                                           
TIMEZONE="Europe/Stockholm"                                                 
KEYMAP="sv-latin1"                                                          
CONSOLEFONT=                                                                
CONSOLEMAP=                                                                 
USECOLOR="yes"                                                              

# -----------------------------------------------------------------------
# HARDWARE                                                               
# -----------------------------------------------------------------------
#                                                                        
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed     
# MOD_BLACKLIST: Prevent udev from loading these modules                 
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.     
#                                                                        
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#                                                                               
MOD_AUTOLOAD="yes"                                                              
#MOD_BLACKLIST=() #deprecated                                                   
MODULES=(r8169 ndiswrapper !ath5k ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)                                                  

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"                                                     

# -----------------------------------------------------------------------
# NETWORKING                                                             
# -----------------------------------------------------------------------
#                                                                        
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts        
#                                                                        
HOSTNAME="arvid-arch"                                                    

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#                                                                           
# Interfaces to start at boot-up (in this order)                            
# Declare each interface then list in INTERFACES                            
#   - prefix an entry in INTERFACES with a ! to disable it                  
#   - no hyphens in your interface names - Bash doesn't like it             
#                                                                           
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")                      
# Wireless: See network profiles below                                      
#                                                                           
eth0="dhcp"                                                                 
wlan0="dhcp"                                                                
wlan_wlan0="wlan0 essid MARITIS key 3F5EB68E68"                             
INTERFACES=(!eth0 !wlan0)                                                   

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES    
#   - prefix an entry in ROUTES with a ! to disable it
#                                                     
gateway="default gw 192.168.0.1"                      
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng fam hal wicd !network netfs crond timidity++ alsa kdm)

And does noone know why rmmod returns a segmentation fault?

Offline

#7 2008-09-04 22:30:12

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: wicd can't find my wireless network

richs-lxh wrote:

It used to have a Hal problem but as of last year Madwifi supported the AR5007EG chipset.
http://madwifi.org/wiki/Compatibility/A … osAR5007EG
Works perfectly with this latest madwifi-hal branch snapshot --> http://madwifi.org/ticket/1192

madwifi and madwifi-utils are in the repos, just install and modprobe ath_pci.

Ok, tried that now, but still no wlan with iwconfig. I posted my rc.conf in the post above, do I need to edit something so madwifi can find my card? Or run any command besides modprobe ath_pci?

Offline

#8 2008-09-04 22:42:03

richs-lxh
Member
Registered: 2008-08-23
Posts: 76

Re: wicd can't find my wireless network

Check you have hal in the daemos section as well.

I am running an AR5212 with madwifi, my modules and daemons are:

DAEMONS=(syslog-ng cpufreqd cups hal avahi-daemon snmpd xinetd portmap net-profiles)
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(nvidia ath_hal ath_pci ac97_bus
snd-pcm snd snd-ac97-codec soundcore)

Then go for a reboot, and try again.

I just want to point out, that I have setup wireless on most cards and distros, but i am very new to Arch.

I'll do my best to help though. Until one of the more experienced ÜberArchers jumps in wink

richs-lxh

Offline

#9 2008-09-06 22:38:33

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: wicd can't find my wireless network

richs-lxh wrote:

Check you have hal in the daemos section as well.

Yup, already got that one:

DAEMONS=(syslog-ng fam [b]hal[/b] wicd !network netfs crond timidity++ alsa kdm)
richs-lxh wrote:

I am running an AR5212 with madwifi, my modules and daemons are:

DAEMONS=(syslog-ng cpufreqd cups hal avahi-daemon snmpd xinetd portmap net-profiles)
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(nvidia ath_hal ath_pci ac97_bus
snd-pcm snd snd-ac97-codec soundcore)

Then go for a reboot, and try again.

I seem to have pretty much the same modules as you. I'll try to remove ndiswrapper and see if wicd can find anything with madwifi.
Could you perhaps post the network setion of your rc.conf, so I can compare? Also, do you use any program such as wicd or networkmanager, and if so which?

Offline

Board footer

Powered by FluxBB