Wireless with slackware
Please please please I need help. I have been stumped for over 3 weeks. Heres the deal, I have a wireless network with an encryption of which I know the key for. I have a dell latitude cpx series laptop with a linksys wireless usb for my linksys wireless router. I have asked many people all over the web and they seem to agree on one thing, I need the atmel driver. I got the atmel driver and then thats where people start going different directions, some say i need to install it on eth0 or eth1 or different names. I have no clue what to do , I have the driver but I don't know how to install it. The linux version is slackware 9.0
To install the key someone told me this: iwconfig eth1 key YOURKEYHERE Is this right ? what is eth1 ?????? Someone else said the posibilities were : /dev/eth0 - /dev/ethN ...... ?????? Then some other people said something about an SSID, I have not one idea as to what that is. Someone then told me to use the ifconfig command ??? I don't know what this is but here is what came out : bash-2.05b# ifconfig lo link encap:local loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK rUNNING MTU:16436 Metric:1 RX packets:82 erros:0 dropped:0 overruns:0 frame:0 TX packets:82 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6826 (6.6 Kb) TX byted:6828 (6.6 Kb) After that a person said I can't go on the net because of loopback and they said to run this command : lspci -v | grep HCI This is what I got: 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI]) Then someone said "maybe u need a pppoe driver" whats that.... ??? After this another guy said "Do an lsmod and see if usbcore and usb-uhci are loaded." So heres what came up.... bash-2.05b# modprobe usb-uhci /lib/modules/2.4.20/kernel/drivers/usb/usb-uci.o.gz: init_module: No such device /lib/modules/2.2.20/kernel/drivers/usb/usb-uhci.o.gz: Hint : ismod erros can be caused by incorrect module parameters. including invalid I0 or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.20/kernel/drivers/usb/usb-uhci.o.gzO insmod /lib/modules/2.4.20 /kernel/drivers/usb/usb-uhci.o.gz failed Then people replied "It means you need to rebuild the kernel module to recognize your usb device probably." ?????????? Sooooooooooooooooooooooooo lost...... I don't even know how to install a file in slackware 9.0.... please don't tell me to get a PCMCIA card because this is too hard for me I really really want to have wireless slackware. Thankyou so much ! I appoligize for plagueing you with such a horrid problem. : (. :scratch: :scratch: :scratch: :Pengy: |
Aaah, we meet again...was wondering where you went...
I'd really, really, like to see you get this working :) Tell me, do you have the driver and have you compiled it already? If so, which one (from where)? If you don't have the driver yet or can't get it to compile, I have the source and can compile the usb drivers on my slackware 9.0 machine and post them to a website for you to download. Let's get this thing working :) |
I have the atmel driver I think ??? But I don't know how to compile it........ I followed your steps before but I am soooooooooo confused I don't even know if it worked.
|
Ok, I can compile it for you on my slack9 box here, I do need to know which chip is in your device, plug your device in and then open /var/log/messages and see if there's some info which identifies the chipset.
EDIT: check the end of the file for entries with today's date |
Nevermind previous post regarding your chipset. Try these steps:
1. remove your usb device 2. open a root console (Konsole super user) 3. type cd /lib/modules/2.4.20/kernel/drivers/usb 4. type wget http://www.houseofcraig.net/berlios.tar.gz 5. type tar zxf berlios.tar.gz 6. type depmod -a (this may take a while) 7. plug in your device, wait for any disk activity to stop 8. type tail -n 20 /var/log/messages and if you have errors post them. |
Dohhhhh,,,,,,,
Problem..... heres what I got.... bash-2.05b# cd /lib/modules/2.4.20/kernel/drivers/usb bash-2.05b# wget http://www.houseofcraig.net/berlios.tar.gz --04:17:30-- http://www.houseofcraig.net/berlios.tar.gz => `berlios.tar.gz' Resolving www.houseofcraig.net... failed: Host not found. ???? Any ideas ? |
hmm, as a matter of fact I just dl'd the file myself to check the server. You can try downloading it via your browser, just make sure to put it in the /lib/modules/2.4.20/kernel/drivers/usb directory when it asks where to put it.
Do you have some other internet connection in slackware or is this wireless adapter going to be the only network device? |
It's going to be my only network device. I have the driver on a floppy right now is it possible to install it from that in that directory ? How would I do that ? Thx
|
what driver do you have on floppy?
If it's the berlios driver I compiled you can install it from floppy like this: (once again from a root console) 1. mount /dev/fd0 /mnt/floppy 2. cp /mnt/floppy/berlios.tar.gz /lib/modules/2.4.20/kernel/drivers/usb 3. cd /lib/modules/2.4.20/kernel/drivers/usb 4. tar zxf berlios.tar.gz then continue from there... |
The latest atmel one, the one you told me to download before.
|
yeah, that one may give you trouble, this other one (the berlios one I compiled for you) seems to be much better for usb devices. I suggest you download it to a floppy (from windows?) and look at my previous post for how to install it from there. The atmel one you have on the floppy now requires you to compile it and that can lead to other problems and might delay you getting this working.
You're getting that host not found stuff in linux because you have no working internet connection (I'm guessing). |
Ok i got a error, it looked like this, everything worked up till here...
bash-2.05b# depmod -a depmod: /lib/modules/2.4.20/kernel/drivers/usb/berlios.tar.gz is not an ELF file Whats this ? Can i still do the next steps or is this a problem ?:scratch: |
do step #3, skip #4, and continue with 5 and the rest.
|
Ok, i did it all over again,
same error on this bash-2.05b# depmod -a depmod: /lib/modules/2.4.20/kernel/drivers/usb/berlios.tar.gz is not an ELF file bash-2.05b# tail -n 20 /var/log/messages yielded a long list, here it is... kernel: MAC addr 00:06:25:19:AC:97 firmware 1.101.4.84 kernel: vnetusba.c: usb eth0 initialized and registered kernel: at76c503.c: Generic Atmel at 76c503at76c505 routins v0.10 kernel: usbdfu.c: USB Device Fimware Upgrae (DFU) handler v0.10 kernel:usb.c registered new driver at usbdfu kernel: at76c503-rfmd.c: Atmel at 76c503 (RFMD) Wireless LAN Driver v0.10 kernel: usb.cLregistered new driver at 76c503-rfmd /etc/hotplug/net.agentL register event not handled kernel: usb.cL USB disconnect on device 00:07.2-1 address 3 kernel: vnetusba.c: device disconnected kernel: usb.c: deregistering driver usbvnetr kernel: hub.c: new USB device 00:07.2-1, assigned address 4 kernel: usbdfu.c: Downloading firmware for USB device 4... kernel: at76c503.c: @IdL at 76c503.c,v 1.25 2003/06/01 19:42:28 jal2 Exp $ compiled Aug 18 2003 20:30:35 kernel: at76c503.c: firmware version 1.101.4 # 84 kernel: at76c503.c: device's MAC 00:06:25:19:ac:97 kernel: at76c503.c: registered wlan0 /etc/hotplug/net.agent: register event not handled /etc/hotplug/usb.agent: Setup usbvnetr at 76c503-rfmd for USB product 77b/2219/100 kernel: usb.c: registered new driver usbvnetr Sorry for the delay... I just typed that all out. |
excellent, the driver is loaded and you have a device, you may now move the berlios.tar.gz from your /lib/modules/2.4.20/kernel/drivers/usb directory to your home directory, it was causing the "not an ELF file" error, or you can leave it there.
Ok, on to some testing: again, open a root console 1. type ifconfig eth0 192.168.2.10 (use an ip address that works with your router, ie: if your router's address is 192.168.2.1, use 192.168.2.10, if it's 192.168.0.1, use 192.168.0.10) 2. type iwconfig eth0 mode managed key 0123-4567-89 (use your router's key, I'm assuming it's a 64bit hex key) essid name (use your router's essid name) 3. iwconfig (all by itself) and see that your settings are there, also see if the Access Point is not all zero's |
All times are GMT -5. The time now is 05:15 PM. |