attrezzo n00b

Joined: 24 Feb 2004 Posts: 31
|
Posted: Mon Feb 05, 2007 3:42 am Post subject: /etc/conf.d/wireless madwifi-ng issues |
|
|
I'm having some serious trouble with my AR5005
I figured out most of it but the trouble now is that I can't get it to work right with the net.athX init scripts...
This is the first part of it:
| Code: | iwlist ath0 scan
ath0 Interface doesn't support scanning : Invalid argument
lsmod
Module Size Used by
wlan_wep 5376 1
wlan_acl 2976 0
ath_pci 71136 0
wlan_scan_sta 9632 1
ath_rate_sample 10784 1 ath_pci
wlan 152828 6 wlan_wep,wlan_acl,ath_pci,wlan_scan_sta,ath_rate_sample
ath_hal 189136 3 ath_pci,ath_rate_sample
|
That was partially solved by:
ifconfig ath0 up
apparently the net.athx script won't check to see if the iface is actually up...
Now the problem is getting this to work with the /etc/conf.d/wireless and /etc/conf.d/net configurations.
| Code: | (0:40:35:02/06/07) /etc/init.d/net.ath0 start --verbose
* Starting ath0
* Loading networking modules for ath0
* modules: apipa arping ccwgroup macchanger macnet rename iwconfig essidnet iptunnel ifconfig system dhcpcd ip6to4
* iwconfig provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring ath0 for MAC address 00:17:3F:1D:A4:5D ... [ ok ]
* Configuring wireless network for ath0
* Scanning for access points
* Found "xxxxx" at 00:E0:98:4C:31:AC (managed, encrypted)
* Found "aaaa" at 00:16:B6:23:5A:25 (managed, encrypted)
* Found "aaa" at 00:18:F8:55:99:91 (managed, encrypted)
* Found "aa" at 00:0C:41:BB:5D:9F (managed)
* Connecting to "xxxxx" in managed mode (WEP enabled - open) ... [ ok ]
* ath0 connected to ESSID "xxxxx" at 00:00:00:00:00:00
* in managed mode on channel 13 (WEP enabled - open)
* Configuring ath0 for ESSID "xxxxx" ... [ ok ]
* Bringing up ath0
* dhcp
* Running dhcpcd ...
Error, timed out waiting for a valid DHCP server response [ !! ]
|
That's what I get AFTER ifconfig athx up the device... apparently it doens't associate fast enough for dhcpcd because if I try a few seconds later...
| Code: | (0:41:03:02/06/07) dhcpcd ath0
ifconfig
ath0 Link encap:Ethernet HWaddr
inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:790 (790.0 b) TX bytes:1077 (1.0 Kb)
ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=1.05 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=1.06 ms
|
Anyone get the atheros cards to work with your standard net scripts? What can I do other than running ifconfig athx up and re-running dhcpcd everytime I want to connect?
the versions of stuff somewhat appropriate
| Code: |
Calculating dependencies... done!
[ebuild R ] net-wireless/madwifi-ng-0.9.2.1
[ebuild R ] net-wireless/madwifi-ng-tools-0.9.2
[ebuild R ] sys-apps/baselayout-1.12.6
|
|
|