LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-19-2009, 01:33 PM   #1
PPGodOfLove
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Rep: Reputation: 0
Unhappy Cannot get internet on my laptop [Slackware]


Hi there.

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.

Infos from lspci :

Wired :

02:00.0 Ethernet contrller: Reaktek Semiconductor Co., Ltd. RT8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

Wireless :

03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Help me PLEASE, trying to do it myself since 9 months on several distros...

P.S. Wired and wireless must be able to work at the same time.
 
Old 08-19-2009, 02:39 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Welcome to LQ!

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.
 
Old 08-19-2009, 03:21 PM   #3
PPGodOfLove
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hangdog42 View Post
Welcome to LQ!
Thanks

Quote:
Originally Posted by Hangdog42 View Post
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 View Post
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)

Thanks for the first suggestions,

PP
 
Old 08-19-2009, 04:36 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
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.
 
Old 08-19-2009, 05:35 PM   #5
PPGodOfLove
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
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
ifconfig :

Code:
eth0      Link encap:Ethernet  HWaddr 00:19:db:3a:29:43
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::219:dbff:fe3a:2943/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:641 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:52112 (50.8 KiB)  TX bytes:5548 (5.4 KiB)
          Interrupt:17 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:592 errors:0 dropped:0 overruns:0 frame:0
          TX packets:592 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:48320 (47.1 KiB)  TX bytes:48320 (47.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:1b:77:02:ad:ab
          inet6 addr: fe80::21b:77ff:fe02:adab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:93672 (91.4 KiB)

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-77-02-AD-AB-77-6C-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
lsmod :

Code:
Module                  Size  Used by
snd_seq_dummy           6788  0
snd_seq_oss            33408  0
snd_seq_midi_event     10240  1 snd_seq_oss
snd_seq                50928  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         10380  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40480  0
snd_mixer_oss          17920  1 snd_pcm_oss
ipv6                  241956  14
lp                     13572  0
ppdev                  11268  0
parport_pc             28196  0
parport                34796  3 lp,ppdev,parport_pc
fuse                   54684  3
pcmcia                 36524  0
yenta_socket           27020  1
rsrc_nonstatic         14464  1 yenta_socket
pcmcia_core            35604  3 pcmcia,yenta_socket,rsrc_nonstatic
sdhci_pci              11136  0
snd_hda_intel         367756  0
snd_pcm                70788  2 snd_pcm_oss,snd_hda_intel
sdhci                  18564  1 sdhci_pci
snd_timer              23176  2 snd_seq,snd_pcm
intel_agp              29116  1
mmc_core               49820  1 sdhci
i2c_i801               12688  0
iwl3945                90228  0
mac80211              158108  1 iwl3945
led_class               7684  1 iwl3945
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
agpgart                32584  1 intel_agp
snd_hwdep              10756  1 snd_hda_intel
cfg80211               27144  2 iwl3945,mac80211
snd                    51748  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore              10080  1 snd
joydev                 13120  0
psmouse                40592  0
evdev                  13088  7
serio_raw               9220  0
button                 10128  0
sg                     30516  0
r8169                  31236  0
mii                     8448  1 r8169
thermal                19484  0
video                  20624  0
output                  6656  1 video
battery                14340  0
ac                      8196  0
processor              36648  1 thermal
thermal_sys            15144  3 thermal,video,processor
hwmon                   6300  1 thermal_sys
By the way, what is this list built by lsmod ?
 
Old 08-19-2009, 06:13 PM   #6
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
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.
 
Old 08-20-2009, 07:33 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
 
Old 08-20-2009, 01:26 PM   #8
PPGodOfLove
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
....

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.
 
Old 08-20-2009, 04:18 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
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!
 
Old 08-20-2009, 08:40 PM   #10
PPGodOfLove
LQ Newbie
 
Registered: Aug 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hangdog42 View Post
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 View Post
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 View Post
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.
 
Old 08-21-2009, 07:28 AM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

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


Reply



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
No internet access on laptop brianL Slackware 6 09-03-2008 03:29 PM
Wireless Internet on Laptop ankz.upadhyay Linux - Laptop and Netbook 8 06-02-2007 06:30 PM
internet on my laptop jordyberg Linux - Newbie 1 06-03-2006 03:37 PM
problems...with internet on laptop!!!! zacklemon Ubuntu 1 11-10-2005 12:50 PM
Internet on my laptop Darthomir Linux - Wireless Networking 5 03-15-2004 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:26 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