LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   How connect to public wireless router? (http://www.linuxquestions.org/questions/linux-wireless-networking-41/how-connect-to-public-wireless-router-577835/)

dafydil 08-17-2007 12:52 PM

How connect to public wireless router?
 
Using Slackware 12.0. I have the following wireless card:
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

Following niceday's post, I found a driver at sourceforge.net/projects/ipw3945. The INSTALL directions in it were mangled by me, as some directions did not work due to missing directories, and ieee80211 seemed to be present already.

Eventually using their "load" script, I got:
No modules unloaded.
Loaded: ieee80211 ipw3945
Loading ipw3945d.ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.22
Intel PRO/Wireless 3945ABG Network Connection found at:
/sys/bus/pci/drivers/ipw3945/0000:0c:00.0
Daemon launched as pid 3521. Exiting.
..done.

I seemed to have some relevant processes, according to ps:
root 3511 0.1 0.0 0 0 ? S< 10:37 0:00 [ipw3945/0]
root 3512 0.0 0.0 0 0 ? S< 10:37 0:00 [ipw3945/1]
root 3513 0.0 0.0 0 0 ? S< 10:37 0:00 [ipw3945/0]
root 3515 0.0 0.0 0 0 ? S< 10:37 0:00 [ipw3945/1]
root 3521 0.0 0.0 1716 376 pts/1 S 10:37 0:00 /sbin/ipw3945d

The wifi activity light is lit, and iwconfig says:
eth1 IEEE 802.11g ESSID:"sjsu_campus" Nickname:"juba"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0C:46:CF:31:18
Bit Rate:24 Mb/s Tx-Power:14 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=49/100 Signal level=-79 dBm Noise level=-80 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:2 Missed beacon:0

It seems to me I should be on the Internet, but firefox cannot find any requested server. Can anyone suggest something?

serg.kr 08-17-2007 01:24 PM

It seems that you're connected to the router, but you don't have an IP address yet. You need to request an IP address from the router by running dhclient eth1. It should end with something like "bound to local IP address -- renewal in ## seconds".

Or maybe that's not the issue. In any case, you can check whether or not you have an IP address by running ifconfig eth1, and on the second line it should say "inet addr: your address".

dafydil 08-18-2007 03:27 PM

serg.kr:

Thanks for your post. You have a better feel for these things than I. It was probably true that I did not have an IP address, though your method seemed not to work. I did "dhclient eth1" and the system gave me an IP address, but I still could not talk to the internet. I then tried "dhcpcd eth1", and that put me on the internet! The man pages for the two commands read about the same. This leads me to a more general question about these things, which I will start another thread for, as you and I were the only ones curious about this one. But this thread can be considered at end.
--dafydil


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