SlackwareThis Forum is for the discussion of Slackware 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.
i've been having a hell of a time getting my laptop onto the interweb since i've started using slackware. recently i installed ndiswrapper 1.1 because the install instructions recommended that instead of the newer version if i didn't want to upgrade to the new kernel.
let's...not go into why i don't want to upgrade that...
it was terrible.
anyway, as far as i can tell, everything's installed properly and working fine...
if i type in
Code:
iwlist wlan0 scan
i get all sorts of neat info on my network...and even my neighbor's essid(?) which i thought i was too far away to pick up...
but i still can't get connected. i think i need to input addresses into /etc/rc.d/rc.inet1.conf, but i'm not sure which...or where...
and last time i messed with a script like this i had to reformat. the computer couldn't find any of my drives.
it's my parents network/wireless i'm trying to connect to, so naturally they don't know what their network settings are. i went to one of their windows machines and typed 'ipconfig -all' into the command promt. so i've got the default gateway, dhcp, and ip.
are those all the addresses i need? or does my laptop need it's own ip address? to be honest i've never set up anything like this before. when i first got my laptop it was running windows and did all of the connection settings for me.
i guess i got a bit too used to all of that. i sometimes miss how easy windows was to operate, but i'm willing to move on...
so...i was wondering if maybe somebody out there could give me a little help? and maybe once i'm able to get onto the interweb i'll start learning network basics...
pretty please?
Last edited by lethargic1; 08-29-2005 at 03:51 PM.
lo no wireless extensions.
wlan0 IEE 802.11b ESSID: off/any
Mode:Auto Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Bit Rate:11Mb/s Tx-power:20 dBm Sensitivity=0/3
RTS thr:2432 B Fragment thr:2432 B
Encryption key: off
Power Management: off
Link Quality:100/100 Signal level:-95 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
i don't understand a lot of that, but the first two lines don't look good. shouldn't i be seeing my essid in there?
i was originally going by those instructions on sourceforge, but i guess i skipped a step somewhere. it was seeing my essid when i typed "iwlist wlan0 scan", but i had to enter in manually?
and will this still work if i restart my laptop? the instructions say that i should use "ndiswrapper -m" to save the settings and to enter "ndiswrapper" into /etc/modprobe.preload?
and then everything should be good to go...?
anything else you might recommend?
oh...and thanks again. you have no idear how long i've been working on this.
Last edited by lethargic1; 08-29-2005 at 06:52 PM.
iwlist shows which net are near you. But it can't tell which to connect to. How would it be able to do that? ESSID = any takes any node near. It isn't what you want to have.
You need to set your setting somewhere to have your net set up next time. I don't know how to do this in slackware, I'm using Debian myself. There it is /etc/networks/interfaces, which is where you also set up ordinary ethernet.
Your IP-number etc comes from a dhcp-server running in WLAN access node. You only need to have a dhcp-client running at your node.
ndiswrapper -m saves information about your settings, so you do not need to do it again. You need to tell your linux to load the driver ndiswrapper (not the same as the program ndiswrapper) when it boots. In Debian it's /etc/modules. Don't know where it is in slackware.
Now you know what to do. Try some settings and reboot. If you done somewhere near right, your WLAN access would work. Otherwise you have to do something else. You could also use GOOGLE to search (or slackware home page).
i couldn't save the settings for it, but i'm still looking for info on that...
when i tried "ndiswrapper -m" i get
Code:
modprobe already contains alias directive
i had it working last night and through most of this afternoon, but first i had to type "modprobe ndiswrapper" then go through the rest of those steps again.
but it's not working anymore.
if i type in "iwlist wlan0 scan" i get info from the networks around me. but when i try "iwconfig wlan0 essid mydarnessid" it doesn't do anything. earlier, as soon as i hit enter on that command, the lnk light on my card came right on. now...nothing.
part of the problem might be that i had to do a hard reboot earlier today. actually it hasn't worked since then...but everything else is working normally. could that've screwed everything up? and, if that's so, is there a way i can restore things?
when i type in "iwconfig wlan0 essid phar66" i'm still not getting anything. and if i type in "iwconfig" after that it still shows my essid as off/any.
i did locate my rc.local file and have it open in kedit...but should i put those lines in there if it isn't working?
well...if i type in lsmod right now it shows ndiswrapper at the top of the list, says it's size is 105044 and under "used by" there's a 1. then there's a whole list of other things...
hrmm...there's a "usbcore" in that list too, size 58860, used by 1, and then under "Not tainted(?)" it has "[ndiswrapper uhci]".
???
iwconfig brings up
Code:
lo no wireless extensions.
wlan0 IEE 802.11b ESSID: off/any
Mode:Auto Frequency:2.437GHz Access Point: 00:00:00:00:00:00
Bit Rate:11Mb/s Tx-power:20 dBm Sensitivity=0/3
RTS thr:2432 B Fragment thr:2432 B
Encryption key: off
Power Management: off
Link Quality:100/100 Signal level:-60 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
...then it continues on about RX and TX packtes...no errors, which...i'm assuming is good? i can give you the rest of that info if needed, but i'm typing it here by hand...
i notice that ifconfig shows wlan0 unlike what i posted earlier. i'm still confused by a lot of what i'm seeing, but (as far as i can tell) the problem is that my essid isn't going in where it should be.
is there another command besides "iwconfig wlan0 essid phar66"? as i said earlier, when i was typing it in yesterday, my network card'; return true;" onmouseout="window.status=''; return true;">network card</a> lit up as soon as i hit enter. now when i hit enter the console just moves onto the next line like nothing happened...
and thanks again. i realize you've taken a lot of time to help me out here.
i promise that i'm not completely helpless when it comes to this...
edit: heh, i tried my nieghbor's essid just to see if it would work. same thing. i type in iwconfig and the essid still "off/any".
i thought it was worth a try...
since i can see networks around me, does that mean that i can connect to the internet whenever there's a wireless router nearby?
Last edited by lethargic1; 08-30-2005 at 10:39 PM.
Did you end up editing /etc/rc.d/rc.wireless.conf? If so, maybe change it back.
You cut off the text of ifconfig before I could tell whether it had an ip. Try to provide the full output of these commands as you never know what someone might spot
Anyway, it probably does not have an ip sinceit looks like it is not connected to your router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.