IP Unavailable, wireless help please
i have just installed slackware 12 and compiled the latest madwifi drivers for my atheros chipset. everything seems to be in order, as i can scan for the local area wireless networks just fine, but i cannot obtain an ip address.
i have set up my wireless network info in the wireless networks config section in kde, and when i go into kwifimanager my network comes up and says im connected with good signal strength but it says ip unavailable. i have done an ifdown on my ethernet port(eth0) and an ifup on my wireless(ath0) and i have tried dhcpcd ath0, it just stalls for about 30 seconds and nothing happens. and dhclient ath0 gives me this message: wifi0: unknown hardware address type 801 wifi0: unknown hardware address type 801 Listening on LPF/ath0/00:15:af:09:3c:94 Sending on LPF/ath0/00:15:af:09:3c:94 Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin software, which includes a bootp server. i have googled my problem for the past hour and only find people saying the same things that arent helping me. i hope someone else has had this problem and knows how to handle it or someone might know whats wrong. i have used wireless with no problems on debian and ubuntu. thanks. |
In my experience, the KDE GUI tools don't work as expected. Maybe they are great tools, and I'm not able to use them properly.
In Slackware your network is setup in /etc/rc.d/rc.inet1.conf and /etc/resolv.conf -- and if you want to set it up automatically, rather than edit thess files, you can open a terminal/konsole and as root run the command "netconfig" which will do it automatically for you. If you use "netconfig" and still have problems, post back and we'll go from there. |
oh thanks for reply, sorry i took a nap there for a little while. lol.
ok so i ran netconfig, it didnt really offer me any options other than choosing my host name, domain name and whether i wanted to connect my ethernet port with static ip or dhcp. but no help for wireless. thanks anyways. |
ok so i tried to edit the /etc/rc.d/rc.inet1.conf file.
i found this: # You can configure network interfaces other than eth0,eth1... by setting # IFNAME[interface] to the interface's name. If IFNAME[interface] is unset # or empty, it is assumed you're configuring eth<interface>. so i tried this: IFNAME[ath0] IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" but on boot it just says command IFNAME[ath0] not found. ??? still working at it. |
To answer your above post ^ before proceeding to my diatribe :}
If you want to try editing /etc/rc.d/rc.inet1.conf it should look like this: Code:
# Config information for ath0: First, is your wireless adapater recognized? What is the output of: Code:
/sbin/lspci | grep -i ethernet Code:
lsmod | grep -i ath Code:
ps aux | grep -i hp Code:
cat /etc/rc.d/rc.inet1.conf Code:
cat /etc/resolv.conf Code:
dmesg | grep -i wifi |
Quote:
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP wifi0: mac 10.0 phy 6.1 radio 10.2 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5424/2424: mem=0xdfef0000, irq=21 and for good measure here is my ifconfig: ath0 Link encap:Ethernet HWaddr 00:15:AF:09:3C:94 inet6 addr: fe80::215:afff:fe09:3c94/64 Scope:Link 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:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) eth0 Link encap:Ethernet HWaddr 00:18:F3:6A:2D:F9 inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::218:f3ff:fe6a:2df9/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:695 errors:0 dropped:0 overruns:0 frame:0 TX packets:733 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:473892 (462.7 KiB) TX bytes:117968 (115.2 KiB) Interrupt:20 Base address:0xe800 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) wifi0 Link encap:UNSPEC HWaddr 00-15-AF-09-3C-94-61-74-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8421 errors:0 dropped:0 overruns:0 frame:11762 TX packets:3193 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:1326500 (1.2 MiB) TX bytes:146878 (143.4 KiB) Interrupt:21 and iwconfig: lo no wireless extensions. eth0 no wireless extensions. wifi0 no wireless extensions. ath0 IEEE 802.11g ESSID:"" Nickname:"host" Mode:Managed Frequency:2.427 GHz Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power:17 dBm Sensitivity=0/3 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=0/94 Signal level=-94 dBm Noise level=-94 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 EDIT: i have since found this guide http://madwifi.org/wiki/UserDocs/Distro/Slackware buried in the docs at madwifi.org. its still no help as i followed it step by step and still come back to square one, so i re-edited my files back to the defaults as you see them there. if you can think of any other options i have, please let me know. :) otherwise i am considering this a lost cause for the time being. |
This is what I see wrong:
Code:
# Config information for eth0: This is how I would suggest you set it up: Code:
# Config information for eth0: You can change the file as above, save it, then restart but issue these commands: Code:
/etc/rc.d/rc.inet1 eth0_down Code:
/etc/rc.d/rc.inet1 ath0_restart There are ways to write scripts, etc., so that you can start the one you want at boot. But the easiest thing for now might be to just comment out (put # in front of the line) the one you don't want to use. For instance: Code:
# Config information for eth0: |
thanks for reply.
but what you suggest is exactly what i did after i read that guide from madwifi. i think this is just slackware's way of telling me to go back to debian. lol. |
Go back, but you still have incorrect information in /etc/rc.d/rc.inet1.conf ...
Garbage in, garbage out. |
Quote:
|
this is exactly how my /etc/rc.d/rc.inet1.conf file looks right now
# Config information for eth0: IFNAME[0]="eth0" IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" # Config information for ath0: IFNAME[1]="ath0" IPADDR[1]="" NETMASK[1]="" USE_DHCP[1]="yes" DHCP_HOSTNAME[1]="" but im leaving the changes i made to it commented out because when i restart my card or reboot my computer dhcpcd request for ath0 takes like a minute and still doesn't get my card to work. |
This info from your one of your earlier posts is part of the problem:
Code:
ath0 IEEE 802.11g ESSID:"" Nickname:"host" Disable any security on the router - WEP, WPA, MAC address filtering, etc. Make sure the SSID is broadcast. Use iwconfig to set the SSID on your card - iwconfig ath0 essid your_ssid Look at the output of iwconfig ath0 again to make sure it's associated. If so, try dhcpcd ath0. If not, try bringing the interface up - ifconfig ath0 up. |
All times are GMT -5. The time now is 02:33 PM. |