You are not logged in.
I'm having trouble connecting to my friends router heres some info. The router is a netgear rangemax WPN824v3
This is the script i am using. I know the password is correct (fyi its not password just didn't want to post actual password =o).
#!/bin/bash
rm /var/run/dhcpcd-wlan0.pid
ifconfig wlan0 up
iwconfig wlan0 essid NETGEAR key password
ifconfig wlan0 down
ifconfig wlan0 up
dhcpcd wlan0Heres what happens when i try to connect.
rm: cannot remove `/var/run/dhcpcd-wlan0.pid': No such file or directory
dhcpcd[5717]: version 5.2.12 starting
dhcpcd[5717]: wlan0: waiting for carrier
dhcpcd[5717]: timed outI log into the router via another computer and heres what the logs say.
[WLAN access rejected: incorrect security] from MAC address 00:25:56:0b:b8:52, Thursday, May 12,2011 07:26:44I've always used this script to connect to other routers and it works 100% of the time. the encryption is WPA-PSK [TKIP] I don't if that calls for a script change or not. I spent the last two hours on google and the forums and could not find anything (unless i'm blind
). Any help is appriciated thank you.
Offline
network daemon does not support passphrases yet so probably if your friend's router is unsecured there is no need to type the password command.
Look iwconfig's manpage for further details (man iwconfig)
Proud Arch Linux user since 2007.
Offline
Or better use wicd-cli for convenience.
Proud Arch Linux user since 2007.
Offline
Thank you for the help, but wicd-cli and curses were just to bug riddled. After spending the last few days working with them i'll just live with mobile internet for the week. Once again thanks ![]()
Offline
Use netcfg. It is way better and easier.
Check the wiki page: https://wiki.archlinux.org/index.php/Netcfg
Offline