Linux - NewbieThis 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
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 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.
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).
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)
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.
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).
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.