LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2003, 05:41 PM   #1
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Rep: Reputation: 15
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. : (.


 
Old 08-18-2003, 05:55 PM   #2
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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
 
Old 08-18-2003, 06:21 PM   #3
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
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.
 
Old 08-18-2003, 06:41 PM   #4
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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

Last edited by akaBeaVis; 08-18-2003 at 06:43 PM.
 
Old 08-18-2003, 08:06 PM   #5
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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.
 
Old 08-18-2003, 08:42 PM   #6
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
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 ?
 
Old 08-18-2003, 08:54 PM   #7
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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?
 
Old 08-18-2003, 09:04 PM   #8
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 08-18-2003, 09:04 PM   #9
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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...

Last edited by akaBeaVis; 08-18-2003 at 09:16 PM.
 
Old 08-18-2003, 09:11 PM   #10
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
The latest atmel one, the one you told me to download before.
 
Old 08-18-2003, 09:15 PM   #11
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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).
 
Old 08-18-2003, 09:37 PM   #12
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
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 ?
 
Old 08-18-2003, 09:50 PM   #13
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
do step #3, skip #4, and continue with 5 and the rest.
 
Old 08-18-2003, 10:06 PM   #14
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
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.
 
Old 08-18-2003, 10:16 PM   #15
akaBeaVis
LQ Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 Wireless Help im_not_cool Linux - Wireless Networking 1 01-25-2005 04:51 PM
wireless in slackware netman86 Linux - Hardware 9 11-11-2004 04:12 PM
Wireless on Slackware 10 hayesben Slackware 11 10-15-2004 09:14 AM
Wireless Slackware 10 Ops Slackware 15 06-30-2004 04:24 PM
Wireless in Slackware agallant Linux - Software 2 11-28-2003 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration