LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-12-2005, 04:11 PM   #1
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
wireless on ibm thinkpad r50p


hello
I am new with Linux and now I need help to make my wireless work. I have Redhat9 with the kernel2.4.20. My wireless card is "11a/b/g Wireless LAN Mini PCI Adapter" and I have an IBM thinkpad R50p.
I googled a little bit and then I downloaded korinoco and madwifi, which are drivers that should work. But I don't know what I should do after that and I don't know if I have installed them rightly? when I go in the "internet configuration wizzard" he doesn't enumerate my hardware in the list of the wireless cards. The little green light on my laptop with the wireless symbol isn't on, but in windows it is on, even when I am not wireless in the internet. Perhaps I have to turn the wireless card on, but I don't know how.
the normal ethernet works without problems.
Does anybody can say me what I can do?
 
Old 05-14-2005, 01:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-14-2005, 03:25 PM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
After you compiled the driver you should insert them in the kernel. You can do this using the modprobe command like this:
Code:
modprobe modulename
If you don't know the module name you can search the wireless modules in your kernel tree. Your kernel is in /usr/src/linux. In there there should be a folder wireless or net with the modules in it then use the command. I think you can only try one module at a time so if one doesn't work you can remove the module with:
Code:
modprobe -r modulename
With iwconfig you can check your wireless extensions after you inserted the module. Simply type:
Code:
iwconfig interface
You can leave the interface out of it but sometimes it doesn't get listed if you don't specify it so you want to try eth0 and wlan0 as interfaces if it doesn't list anything at first.

If your card is recognized you can set the essid.
Code:
iwconfig interface essid ****
If you don't have any special security you can now run a dhcpclient to get the rest of the settings.
Code:
dhcpcd interface
If you do have extra security it's probably best turning it off and see if it works and then add extra layers, one per time so you can easily check if things work.

Hope this helps.
 
Old 05-17-2005, 11:34 AM   #4
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
I installed the madwifi driver, which should work for my wireless card.
then I made these commands:
Quote:
[root@localhost laurent]# /sbin/modprobe ath_pci


[root@localhost laurent]# /sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

cipsec0 no wireless extensions.

ath0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:5.785GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:6Mb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0/94 Signal level:-95 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[

root@localhost laurent]# /sbin/iwlist ath0 scan
ath0 Failed to read scan data : Resource temporarily unavailable


[root@localhost laurent]# /sbin/iwconfig ath0 essid "foo"


[root@localhost laurent]# /sbin/iwpriv ath0 mode 0
<mapping sub-ioctl mode to cmd 0x8BE0-2>


[root@localhost laurent]# /sbin/dhclient ath0
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

/sbin/dhclient-script: configuration for ath0 not found.
Listening on LPF/ath0/00:05:4e:4b:b6:1b
Sending on LPF/ath0/00:05:4e:4b:b6:1b
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for ath0 not found.
Why does it doesn't connect. I don't understand everything that he says
 
Old 05-17-2005, 11:41 AM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Can you try with dhcpcd? I never got dhclient working properly myself. "dhcpcd ath0" should do it unless you have a wep key set. Unless you have a few other non-default options set in your router (but I guess you know about them then) it should be able to pick up the settings after you set the essid.
 
Old 05-18-2005, 12:16 PM   #6
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
I installed now dhcpcd an tried. then I have to wait a long time, and he makes nothing. He writes even no error message.
I have a little light of the wlan in my laptop, this light is turned on, when I load the module ath_pci and when I run dhcpcd ath0, the light goes out.


I have to make a vpn connection to use the internet, but I don't think that my problem comes because of this. Because in Windows, I have to connect first normally, and after this only I connect with the vpn client. Is it in Linux the same, or could this be my problem?
 
Old 05-19-2005, 04:53 AM   #7
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
The network which I want to use isn't protected, but after connecting I have to use a vpn-client to suspend the ip-restriction, so my problem isn't the vpn
 
Old 05-20-2005, 09:42 AM   #8
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
my wlan works now. I started from the begin and did exactely what is written on this homepage: http://www.linuxiens.net/howto/mdk10lap.html
Now when I start my laptop I am immediately connected
 
Old 05-23-2005, 05:40 AM   #9
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
dhcpcd only as root

Everything works now, but I can only run dhcpcd as root. As a normal user he says:
Quote:
**** /sbin/dhcpcd: not a superuser
How can I give a user the authorization to use dhcpcd?
 
  


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
wireless on ibm thinkpad r50p laurentwahl Linux - Laptop and Netbook 2 05-16-2005 09:11 PM
r50p thinkpad, Framebuffering, ati driver bennethos Linux - Laptop and Netbook 0 12-04-2004 08:01 AM
thinkpad r50p IBM and Debian Woody r.03 bennethos Linux - Laptop and Netbook 5 12-02-2004 12:14 PM
Wireless/WEP on IBM Thinkpad T40 ultraman Linux - Wireless Networking 6 11-25-2004 04:57 AM
ibm thinkpad 600e + wireless freychef Linux - Laptop and Netbook 1 04-21-2004 11:22 PM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration