[SOLVED] Cannot get internet on my laptop [Slackware]
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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 just installed Slackware 12.2, and I can't get any of my network cards work. i'm behing a router with dynamic adressing, managed DHCP. My wireless network is on WEP 128bits passphrase.
On my wired interface (eth0), i've got my IP, I can ping another wired computer on the network, but I can't onpen any page in Firefox or Konqueror.
For the wireless, I can see my network when I scan for broadcasted networks, but I can't click anywhere to connect to it (passphrases are configured) in KWiFiManager (I click find networks, i see my wireless network but the "get on network" button is still in gray).
All distro i've tried were able to connect with no configuration to wired network, and wireless worked only in Mandriva One 2008.0 and Knoppix. Note that I tried many distros (Ubuntu from 7.10 to 9.04, Kubuntu 7.10 & 8.04, OpenSuSe 10 and 11, Ubuntu Studio 8.10, Fedora 10, DSL, Debian 5, gNewSense, and some others...) and I still don't get my wireless connection working.
After you installed Slackware, did you run netconfig? If you didn't, that would help with getting the wired connection going. As for the wireless connection, that Intel chipset should be supported out of the box by Slackware. Make sure you installed and start the wicd daemon (look and see if /etc/rc.d/rc.wicd is executable) and use either wicd-client (GUI) or wicd-curses (console) to configure the card and get an IP address.
After you installed Slackware, did you run netconfig? If you didn't, that would help with getting the wired connection going.
I just did, but it didn't changed anything. What i'm supposed to enter in "Domain name" ? I put something random ?
Quote:
Originally Posted by Hangdog42
As for the wireless connection, that Intel chipset should be supported out of the box by Slackware. Make sure you installed and start the wicd daemon (look and see if /etc/rc.d/rc.wicd is executable) and use either wicd-client (GUI) or wicd-curses (console) to configure the card and get an IP address.
I didn't found the file you're talking about. I looked for a package on www.linuxpackages.net but I found nothing. Same for the two tools you mentionned. Could I get wicd from somewhere else ? Or perhaps it the name changed, I see 2 files at the same directory, rc.wireless and rc.wireless.conf (wich is empty O.o)
I just did, but it didn't changed anything. What i'm supposed to enter in "Domain name" ? I put something random ?
Domain name doesn't do much (unless you're running a server), so anything is acceptable. However, this is also where you set up DHCP or a fixed IP address. Which are you doing?
Quote:
I didn't found the file you're talking about. I looked for a package on www.linuxpackages.net but I found nothing. Same for the two tools you mentionned. Could I get wicd from somewhere else ? Or perhaps it the name changed, I see 2 files at the same directory, rc.wireless and rc.wireless.conf (wich is empty O.o)
Unless I'm not understanding you correctly, something is seriously wrong (like an install gone bad). If you did a full install, rc.wicd should be there. Furthermore, rc.wireless.conf really shouldn't be empty. There should be examples of how to do things. Did you do a full install? If you didn't, it might not be a bad idea to do one. Otherwise, I think the wicd package is in the n folder.
If you did do a full install, please post the outputs of iwconfig, ifconfig and lsmod and we'll start from there.
I've done a full installation of Slackware. Checksum of the ISO file, and verification of DVD were done, so I don't think it comes from the installation.
Then, this is what you asked for : iwconfig, ifconfig and lsmod.
iwconfig :
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"default"
Mode:Managed Frequency:2.412 GHz Access Point: 00:19:5B:94:6B:8A
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:6F6D-6762-6565-6565-6565-6565-7A Security mode:open
Power Management:off
Link Quality=93/100 Signal level:-36 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
It seems that "wicd" is either not starting, or simply not installed. If it's not on your install disc(extras), you can download the official package from the Slackware website. You're wireless card appears to be functioning fine, it's just not configured correctly. Installing and running wicd will likely fix you right up.
Chromezero is right, it looks like your wireless card just needs to be configured.
As for your wired card (eth0), it looks like should be functional. Since it isn't, that suggests there is a problem elsewhere. The three likeliest culprits are:
1) DNS - Check the contents of /etc/resolv.conf and see if there is at least one nameserver there
2) Route - Have a look at the output of route -n and see if the gateway entry for eth0 is pointing at your router
3) Firewall - have a look at the output of iptables -L -n (or the contents of /etc/rc.d/rc.firewall) and see if there are any rules that might be blocking access. Slackware doesn't install a firewall by default, so if you haven't installed one, then this is probably isn't necessary
One test you could do is to try and surf by IP address. For example, if http://www.linuxquestions.org fails, but http://75.126.162.205 works, then you have a DNS problem. If both fail, then the problem is elsewhere.
After 3 reboot, without anything changed, now everything is ok for the wired connection. But still, I can't do anything with the wireless.
I've tried to install the wicd package, but I can't extract it it says that the .tgz file is corrupted, so i'm unable to install it (note that I'm totaly new to Slackware, and my comprehension of Linux in general is not really really nice....).
Perhaps it's also like you said, that my wireless card isn't configured. So how can I do it ? I've looked at all gui tools that are already installed, but nothing changed. Yesterday I was able to find my network, and now my card does not detect it at all....
Thanks a lot to everyone who tried to help me until now ! I hope this will finally work XD
P.S. Sorry for the akward sentences, english is not my first language.
I've tried to install the wicd package, but I can't extract it it says that the .tgz file is corrupted
Actually in Slackware, .tgz files are Slackware packages and you don't extract them (at least those you know to be Slackware packages, some people do use .tgz to replace .tar.gz). Instead, you install them:
installpkg NameOfPackage.tgz
There are also the commands pkgtool, upgradepkg and removepkg that understand how to deal with Slackware packages.
If you need to configure the card manually, the iwconfig command does most of the work, although if you need to use WPA encryption you'll have to use wpa_supplicant. Generally wicd is a LOT easier, but you have have a look at the man pages for iwconfig and wpa_supplicant to get an idea of how they can be used.
Quote:
P.S. Sorry for the akward sentences, english is not my first language.
No need to apologize, your English is actually very good!
Actually in Slackware, .tgz files are Slackware packages and you don't extract them (at least those you know to be Slackware packages, some people do use .tgz to replace .tar.gz). Instead, you install them:
installpkg NameOfPackage.tgz
There are also the commands pkgtool, upgradepkg and removepkg that understand how to deal with Slackware packages.
I just TOTALLY FAILED at reading the tutorial I've fond on the internet. It was easy to install.
Quote:
Originally Posted by Hangdog42
If you need to configure the card manually, the iwconfig command does most of the work, although if you need to use WPA encryption you'll have to use wpa_supplicant. Generally wicd is a LOT easier, but you have have a look at the man pages for iwconfig and wpa_supplicant to get an idea of how they can be used.
OMG IT WORKS ! I almost had a heart attack. But still, there is a question :
What should I do if I want to launch the wicd-client on boot ?
EDIT : Seems that after 2 boot, it starts automaticly. Problem solved.
Quote:
Originally Posted by Hangdog42
No need to apologize, your English is actually very good!
Thanks a lot Always trying to get better \m/
For the rest, thanks to all, I'll give you a thumb click !
/me gonna now loose again tons of hour trying to install the right driver for the video card XD
Last edited by PPGodOfLove; 08-21-2009 at 12:04 AM.
I just TOTALLY FAILED at reading the tutorial I've fond on the internet. It was easy to install.
It happens to all of us. Slackware is actually pretty straight-forward once you get the hang of it.
Quote:
What should I do if I want to launch the wicd-client on boot ?
EDIT : Seems that after 2 boot, it starts automaticly. Problem solved.
Even though you've solved it, I'm going to toss out a couple of suggestions. Full fledged environments like KDE will automatically start anything you leave running when you shut down, but even then most X environments have some way of automatically starting programs. I use fluxbox a lot and it has a file called ~/.fluxbox/apps that allows you to start programs whenever fluxbox is started. I have wicd-client in that one.
Quote:
For the rest, thanks to all, I'll give you a thumb click !
Thanks! And congrat for sticking with it and getting the job done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.