ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Long story short I now get wlan0 in my iwconfig and ifconfig which all looks fine and dandy, now what? All the other machines on the wireless home network run windows (not my fault) and connect to the internet via one machine with broadband connection.
When its booting up it says Starting Network or whatever it gives a FAIL although I think this may be to do with the driver be loaded and run after that point.
What do I now need to do to connect this puppy to the network and the internet? I am willing to give any extra information if needed.
"iwconfig wlan0 essid WLAN" gives me:
Error for wireless request "Set ESSID" (8B1A) :
Set failed on device wlan0 ; Operation not supported.
"can you get a dhcp lease?" I have no idea what a DHCP lease is. I googled but have found no explanation and no way to check to see if I can get a dhcp lease.
"what errors do you get?" I get no errors. However I just checked dmesg and found this "wlan0: no IPv6 routers present" which I have not noticed before.
"what is the output of iwconfig after all of this?" iwconfig:
lo no wireless extensions
sit0 no wireless extensions
wlan0 IEEE 802.11-b ESSID:"WLAN" Nickname:"WLAN"
Mode:Managed Frequency:2.412 GHz Access Point: 00:30:BD:67:97:AE
Bit Rate:11 Mb/s Tx-Power:-951635968 dBm
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=88/92 Signal level=-40 dBm Noise level=-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
is ndiswrapper in the output of lsmod? If so, good, if not, do modprobe ndiswrapper.
Have you done 'iwlist wlan0 scan' to see if the wlan0 connection in iwconfig is actually yours? sometimes it's not. Do you have an ESSID? Encryption key? If so do man iwconfig to read about how to put in the correct values.
can you ping your gateway, other computers on your network, and DNS eg www.google.com?
listening on LPF/wlan0/00:09:5b:b7:20:18
sending on LPF/wlan0/00:09:5b:b7:20:18
sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.59 -- renewal in 285 seconds.
I am not sure what this means, hope it means something to you.
dcdbutler:
"is ndiswrapper in the output of lsmod?" no because I do not use ndiswrapper on my laptop. Though I did see the modules from my linux driver:
Module Size Used by
prism2_usb 80388 0
p80211 37904 1 prism2_usb
Cell01 matches the information from iwconfig. Cell 02 i'm assuming is just some nonsense. Tell me if i'm wrong but I think the fact that 'iwlist wlan0 scan' an 'iwconfig' show the same information means that the wlan0 connection in iwconfig is mine.
"can you ping your gateway, other computers on your network, and DNS eg www.google.com?" no I cannot.
That's your wireless connection, for sure. The only thing I can see that is different is that the mode is "managed" on the iwconfig output, but "master" on the scan. you could change this though I'm not sure whether it would make any difference. do you find that you can get an internet connection via ethernet?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.