Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Thank God this forum works on my phone. It's all I have to talk to the outside world now.
The wifi in my Slack box stopped working mysteriously. In the end, it seems that my ISP was having a glitch. But meanwhile, I tinkered a little with my network and tweaked net mask and default gateway a little - trying to switch to cable/Ethernet. It didn't work - probably because the ISP was down anyway.
Then I talked to. Support, booted into Windows (gotta have it around, they refuse support to Linux users) and wifi works in Windows. It also works in my phone (wifi). Wifi won't work in my Slack box though. I thought I might have misconfigured something, but I never edited any file, I just ran ifconfig and route add in the command line. Even after rebooting, connection is dead.
The wifi interface seems to work. 'iwlist scan' shows all APs around me including mine. 'ifconfig -a' shows that wifi0 is connected to my router. I can even access the router with the browser at 192.168.0.1. But I can't reach the Internet at all. No browsing, no mail, nothing. I guess I messed the gateway or routing or something like that. "Something like that" is a bit out of my league to say the truth. Does anyone know what I can do to makke everything work again?
Last edited by lucmove; 05-03-2008 at 06:50 PM.
Reason: bad title
Also uncomment everything you need so that your wifi card will get his ip from the router.
Also you can try to configure wpa_supplicant. You have a How To on Alien Bob's website (don't know it at this moment: it's 5 am at me and I most go and catch a train :d I'll post it later or someone else will do it for me)
I'm still struggling with this problem. I thought I wouldn't mention it here again and try to solve it some other way, but I can't find some other way except format and reinstall, but heck! this is Linux, I shouldn't have to reinstall, and I've been too busy and need the machine, I can't afford the time and effort right now.
I gave up on the wifi entirely and have been using my DSL connection with an Ethernet cable. Which I hate because the cable, kept strictly for emergencies, now has been winding around a corner in my office to keep the PC tethered to the router. Messy.
So the problem still stands, except that with the Ethernet cable I've discovered that I can restablish my Internet connection instantly every time by simpling disconnecting the cable and hooking it up again to the Ethernet port a couple of seconds later. Something I could not do with my PCI wifi card.
Does that shed any light? Does anyone have any idea what this could be?
Incidentally, I still have the problem I have described in another topic, although that occurs a lot less frequently now. I hope that someone can help me with that too.
# comments, blah blah blah
# Config information for eth0:
# Config information for eth1:
# Config information for eth2:
# Config information for eth3:
# Default gateway IP address:
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
##WLAN_IWPRIV="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5...(elided) TxRate=0"
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR="" # Request a specific IP address from the DHCP
#WLAN_ESSID=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (space-separated, see the
I guess posting my /etc/rc.d/rc.inet1.conf didn't help much. But I could add a couple of facts that seem to be very relevant, although I am not sure why:
1) I don't lose my connection if I keep it in constant use, i.e. downloading something, polling my POP3 mailbox every minute or simply leaving an instant messaging program running. I can keep the connection alive for days doing that.
2) Whenever I lose it, there is a very "easy" (annoying) way to fix it: stand up, reach behind the desktop, disconnect the ethernet cable, count to 2 or 3 and connect it again.
Does that help? Does anyone know why I keep losing my connection?