View previous topic :: View next topic |
Author |
Message |
Coume Guru


Joined: 11 Jun 2004 Posts: 306
|
Posted: Sun Sep 26, 2004 10:44 am Post subject: Wireless ath0 bringing me crazy, even after the HOW-TO |
|
|
Hello,
I followed the Ubelord guide to get wireless working: https://forums.gentoo.org/viewtopic.php?t=122435
So I'm using kernel 2.6.8-R3
I use baselayout 1.11.0 as mentionned in the guide.
The etc-update did update the /etc/conf.d/net (but I don't have anymore a /etc/conf.d/net.lo)
As metionned in the guide, I made symlink to create net.eth1 and net.ath0
Quote: | lrwxr-xr-x 1 root root 18 Sep 26 10:01 /etc/init.d/net.ath0 -> /etc/init.d/net.lo
-rwxr-xr-x 1 root root 15068 Sep 26 09:49 /etc/init.d/net.eth0
lrwxr-xr-x 1 root root 18 Sep 26 10:01 /etc/init.d/net.eth1 -> /etc/init.d/net.lo
-rwxr-xr-x 1 root root 15068 Sep 26 09:49 /etc/init.d/net.lo
-rwxr-xr-x 1 root root 4697 Sep 11 00:59 /etc/init.d/net.ppp0 |
My WG511T do have some activities when I plug it, I get the gkrellm wifi plugin activating and I do see it using ifconfig:
Quote: |
ath0 Link encap:Ethernet HWaddr 00:09:5B:98:ED:F7
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:0 (0.0 b) TX bytes:1824 (1.7 Kb)
Interrupt:11 Memory:d7c93000-d7ca3000
eth0 Link encap:Ethernet HWaddr 00:08:02:2D:89:F8
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:641 errors:0 dropped:0 overruns:0 frame:0
TX packets:542 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:727960 (710.8 Kb) TX bytes:48236 (47.1 Kb)
Interrupt:11 Base address:0x1400
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)
|
My iwconfig is correct, good essid, right channel, ...
Quote: | ath0 IEEE 802.11 ESSID:"NETGEAR_FILESERVER" Nickname:"NETGEAR_FILESERVER"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: FF:FF:FF:FF:FF:FF
Bit Rate:0 kb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=38/94 Signal level=-57 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
Oh and finally, I do have read the /etc/conf.d/wireless.example, modified it and save it as /etc/conf.d/wireless (and as /etc/conf.d/net.ath0)
but when I do: "/etc/init.d/net.ath0 start" it does search and I get that
Quote: |
* Loading networking modules...
* modules: wireless ifconfig adsl dhcpcd
* ifconfig provides interface
* dhcpcd provides dhcp ok
* Configuring wireless network for ath0
* Connecting to "any" (WEP Disabled)... !!
* ath0 connected as "NETGEAR_FILESERVER"
* in ad-hoc mode on channel 11 (WEP disabled)
* Bringing ath0 up...
* Configuration not set for ath0 - assuming dhcp
* ath0 dhcp !! |
I feel that I close from having this damned laptop using the Wifi connexion, but I don't know what to do next I read so many HOw-TO and websites; I have no clue what I shoudl do next
Thxs in advance
Ludo  _________________ MythTVtalk.com - The MythTV Community forum |
|
Back to top |
|
 |
BiOCHiP n00b

Joined: 07 Jul 2002 Posts: 57 Location: Amsterdam
|
Posted: Sun Sep 26, 2004 10:48 am Post subject: |
|
|
It seems you don't have added the entries for your ath0 device in /etc/conf.d/net and you don't have a DHCP server. Try duplicating the eth0 lines in /etc/conf.d/net, replacing eth0 with ath0 and replacing the ip and stuff with some sane alternative. I don't have any experience with this, but you might even incorporate the values you've put in /etc/conf.d/net.ath0 in /etc/conf.d/net. _________________ Music is the Answer |
|
Back to top |
|
 |
ewtrowbr Apprentice

Joined: 08 May 2004 Posts: 153 Location: Columbus, OH
|
Posted: Sun Sep 26, 2004 2:42 pm Post subject: |
|
|
I have your same card, and same kernel. I am further than you in resolving this, but still don't have everyhting 100% working.
If you like, you can try my net.ath0 script. It works well, gets me a DHCP address, etc. I notice you are running at 'rate 0' and 'sens 0/3' which may be a problem. make sure you have iface_ath0="dhcp" in /etc/conf.d/net. The script is at http://mail.nois.net/net.ath0.txt
modprobe ath_hal
modprobe wlan
modprobe ath_pci
lsmod (to be sure)
/etc/init.d/net.ath0
My issue is much more troubling... intermittant connectivity... It seems that everything is working, but when I connect to the WAP, I get dropped for a few seconds every minute. It's very frustrating. I'm so very close to being happy with the card and driver. I think that the problem has to do with an IRQ conflict between my PCMCIA and Wireless Card, but i don't know what to do about it. I have put good info on my system at
http://mail.nois.net/Atheros_Problem.txt .
Maybe some guru will help me out...
BTW, my wap works fine with an older prism card I have laying around and a similar startup script.
erich |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|