LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wireless on ibm thinkpad r50p (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-on-ibm-thinkpad-r50p-322872/)

laurentwahl 05-12-2005 04:11 PM

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?

david_ross 05-14-2005 01:53 PM

Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

darkleaf 05-14-2005 03:25 PM

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.

laurentwahl 05-17-2005 11:34 AM

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

darkleaf 05-17-2005 11:41 AM

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.

laurentwahl 05-18-2005 12:16 PM

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?

laurentwahl 05-19-2005 04:53 AM

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

laurentwahl 05-20-2005 09:42 AM

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 :)

laurentwahl 05-23-2005 05:40 AM

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?


All times are GMT -5. The time now is 11:28 PM.