LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2004, 10:40 PM   #1
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Rep: Reputation: 15
Debian 3.0rev2 with Linksys WPC54G


Hi,

I just installed Debian Linux 3.0rev2 on my laptop, which I use a Linksys WPC54G PCMCIA WLAN card to access the network. How to I configure the WLAN card to work? The power LEDs are on, but there's no connection.

TIA!


Regards,

Edwin
 
Old 10-12-2004, 03:11 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Check the card is being recognised and loaded at boot or when you plug it in if you have hotplug and/or discover by examining /var/log/syslog or messages. If not you are going to have to install the relevant driver (look for a howto on google). If it is being loaded then you are going to have to configure /etc/network/interfaces using static addressing or if the server you are connecting to uses dhcp configure the same file for dhcp (dhcp client should already be installed).
 
Old 10-12-2004, 10:42 AM   #3
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
I did a search and found this site, which I think would be of good use:
http://tiefighter.et.tudelft.nl/~arthur/wpc54g/

However,

What do these prerequisites (found on the site) mean? And how can I ensure them?

prerequisites
* Debian testing (or unstable)
* kernel with correct modules (pcmcia, etc) (I use a 2.4.25 kernel built with make-kpkg)
* kernel sources available (or correct kernel-headers package installed)



TIA!!


Regards,

Edwin
 
Old 10-12-2004, 11:28 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Also http://linuxdrivers.foundries.source...id=12355#12529 deal with it in the same way. Looks like it could be quite a mission.

prerequisites

Debian testing (or unstable)
kernel with correct modules (pcmcia, etc) (I use a 2.4.25 kernel built with make-kpkg)
kernel sources available (or correct kernel-headers package installed)

i.e. you should be using either sarge or sid which would mean an upgrade, use at least the 2.4.25 kernel ( If you upgarde use the 2.6.X kernel ) and also install the relevant kernel headers or source because you'll need them to compile against.

Good luck

Rob

Last edited by TigerOC; 10-12-2004 at 11:32 AM.
 
Old 10-12-2004, 10:37 PM   #5
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
Hi,

How do I find out what kernel I'm using? And if its under 2.4.25, how do I get it upgraded?

Also, how do I install the relevant kernel headers/source?

Thanks!


Regards,

Edwin
 
Old 10-12-2004, 10:53 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
uname -r

apt-cache search kernel-*

and then apt-get install the kernel image and headers you want.

To upgrade to sarge replace stable with sarge in you /etc/apt/sources.list and then
apt-get update && apt-get dist-upgrade
 
Old 10-14-2004, 10:23 AM   #7
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
haha, this is getting more and more down to basics, but...

ok in order to download the new kernel and all that, i need to establish a connection to the net. This is what I have (alternatively from the wireless LAN card):

a PCMCIA Ethernet card which I use to connect to my router.
the router also acts as a DHCP server, issuing IP addresses to machines connected to it.

i hooked them up, and started my laptop. halfway i was prompted to enter the IP address, subnet mask, broadcast IP, network IP, default gateway. So i entered the IP address that the router WOULD HAVE issued, as well as the other values, and saved them.

but after linux and the desktop environment finished loading, i still do not have a connection to the router (it didn't even recognise the router IP). when i ran ifconfig, there was only a single entry, that of the localhost.

the PCMCIA Ethernet card is recognised, and is active (has lighted LED).

what else must i do?


Many Thanks!!


Regards,

Edwin
 
Old 10-14-2004, 07:48 PM   #8
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Quote:
Originally posted by e11

i hooked them up, and started my laptop. halfway i was prompted to enter the IP address, subnet mask, broadcast IP, network IP, default gateway. So i entered the IP address that the router WOULD HAVE issued, as well as the other values, and saved them.

but after linux and the desktop environment finished loading, i still do not have a connection to the router (it didn't even recognise the router IP). when i ran ifconfig, there was only a single entry, that of the localhost.

the PCMCIA Ethernet card is recognised, and is active (has lighted LED).
If the router is broadcasting dhcp how do you know the exact IP address it would have issued? For dhcp you use dhclient. Try
dpkg-reconfigure dhclient
Then check to see if it is running
ps aux | grep dhclient

You may have to obtain the Sarge CD's
 
Old 10-14-2004, 09:11 PM   #9
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
If the router is broadcasting dhcp how do you know the exact IP address it would have issued?
'cos i configured the router to assign IP addresses sequentially.


Regards,

Edwin
 
Old 10-14-2004, 09:31 PM   #10
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Quote:
Originally posted by e11
'cos i configured the router to assign IP addresses sequentially.


Regards,

Edwin
But it's not getting it's other information that is distributed via DHCP. You need to run the dhclient.
 
Old 10-14-2004, 10:54 PM   #11
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by darthtux
But it's not getting it's other information that is distributed via DHCP. You need to run the dhclient.
ic, so i should leave out the entries during startup, and run dhclient ya?

btw, digressing, what's the HCL for?

Thanks!


Regards,

Edwin
 
Old 10-14-2004, 11:29 PM   #12
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
dhcp is made to do things easy. There is no reason to do things the hard way. Try dhclient.
 
Old 10-15-2004, 02:52 AM   #13
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
In order for your card to pick up the dhcp lease you need to tell the network how. Modify your /etc/network/interfaces to;
auto eth0
iface eth0 inet dhcp
then do /etc/init.d/networking restart
then check /var/log/messages or /var/log/syslog to see what has happened.
 
Old 10-15-2004, 01:44 PM   #14
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by TigerOC
Modify your /etc/network/interfaces to;
auto eth0
iface eth0 inet dhcp
then do /etc/init.d/networking restart
i did these two steps, and yup, it works! at least now i have a wired connection.

Thanks!

Now for the step of upgrading the kernel...


Regards,

Edwin
 
Old 10-15-2004, 01:52 PM   #15
e11
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by darthtux
uname -r

apt-cache search kernel-*

and then apt-get install the kernel image and headers you want.

To upgrade to sarge replace stable with sarge in you /etc/apt/sources.list and then
apt-get update && apt-get dist-upgrade
#uname -r
returns me 2.2.20-idepci
i suppose that means my kernel is version 2.2.20? what does the idepci mean?

#apt-cache search kernel-*
returns me quite a long list of packages... hmm... i don't really know what to make of them at the moment...

i then modified the sources.list file, and now they contain:
deb http://non-us.debian.org/debian-non-US stable/non-US main
deb http://non-us.debian.org/debian-non-US testing/non-US main

then i ran
#apt-get update
and
#apt-get dist-upgrade

but now my kernel is still 2.2.20-idepci.

did i do anything wrong, or missed out any step?

Thanks!


Regards,

Edwin
 
  


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
Linksys WPC54G install Debian rcrummett Linux - Wireless Networking 6 08-31-2005 01:20 PM
linksys wpc54g on Suse9.3 worldgnat Linux - Wireless Networking 1 08-16-2005 11:31 PM
Suse 9.2 and Linksys WPC54G V2 RebootKid SUSE / openSUSE 9 06-30-2005 07:01 PM
Linksys WPC54G Dolamite777 Linux - Wireless Networking 65 03-16-2005 05:38 AM
Linksys wpc54g phalaaxx Linux - Hardware 1 09-05-2003 10:08 AM


All times are GMT -5. The time now is 02:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration