LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-03-2004, 07:01 PM   #1
Cyb3rKnyght
LQ Newbie
 
Registered: Feb 2004
Location: Northern California
Distribution: Slackware 10, Debian 3.0
Posts: 18

Rep: Reputation: 0
WUSB11 2.6 Slackware 10


Over the past 2 weeks, I have spent my free time trying to get the Linksys WUSB11 ver. 2.6 to work on my Slackware 10 box. I have read just about every post on this subject here and googled it. I have gotten as far as I can, now it's time to ask for help.

Okay, I am using the Berlios amtel chipset drivers for this device. I have unpackaged, ran make && make install. Then I ran "ifconfig wlan0 <access_point_ip>" and then "iwconfig wlan0 channel 6 mode managed rate 11M essid linksys" My MAC address for my adapter shows up in ifconfig and my access point MAC address shows up in iwconfig. I am able to ping my access point as well, but not ping anything on the internet. I then edited /etc/resolv.conf and add to the top "nameserver <access_point_ip>". Next I ran "route add default gw <access_point_ip>"

FYI: I don't have MAC filtering on and I am aware that these settings go away after reboot. This device works perfectly fine on my Windows XP machine.

Is there anything I am missing?


A big thanks to anyone who can help me out.
 
Old 10-04-2004, 08:08 PM   #2
freshshelf
LQ Newbie
 
Registered: Sep 2004
Location: Ottawa, Ontario, Canada
Distribution: RH FC3 kernel-2.6.10-1.741_FC3
Posts: 12

Rep: Reputation: 0
It sounds like you're almost up and running.

Here are a few things to try:

You said 'Then I ran "ifconfig wlan0 <access_point_ip>"'

Where you should use a different IP than the access point. For instance, if your access point is 192.168.1.1 you should set the WUSB11's IP to something like 192.168.1.150. Your WAP probably starts assigning IP addresses at 192.168.1.100, so 192.168.1.150 is unlikely to have contention with another computer.

Then you said 'and then "iwconfig wlan0 channel 6 mode managed rate 11M essid linksys"'

This looks good if your WAP is a Linksys device and you've left it at it's defaults.

Then you said 'My MAC address for my adapter shows up in ifconfig and my access point MAC address shows up in iwconfig. I am able to ping my access point as well, but not ping anything on the internet. '

When you try pinging things on the internet are you trying IP addresses, or domain names? You need the name server to resolve domain names.

Then you wrote 'I then edited /etc/resolv.conf and add to the top "nameserver <access_point_ip>". Next I ran "route add default gw <access_point_ip>"'

You should put the IP address of your DNS in the /etc/resolv.conf file. Your WAP configuration should have a tab (mine's the status tab) that specifies the DNS IP addresses. My /etc/resolv.conf file looks something like this:
search alocation.somehub.net.cable.rogers.com
nameserver 12.345.78.910
nameserver 12.345.67.89

Where I copied "alocation.somehub.net.cable.rogers.com" from the DNS server entry in my Windows configuration. The nameserver IP addresses were from the status tab in my WAP configuration.

I hope this helps...
 
Old 10-04-2004, 09:04 PM   #3
Cyb3rKnyght
LQ Newbie
 
Registered: Feb 2004
Location: Northern California
Distribution: Slackware 10, Debian 3.0
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Where you should use a different IP than the access point. For instance, if your access point is 192.168.1.1 you should set the WUSB11's IP to something like 192.168.1.150. Your WAP probably starts assigning IP addresses at 192.168.1.100, so 192.168.1.150 is unlikely to have contention with another computer.
So in 'ifconfig' I should assign it some random IP address between 192.168.1.1 and 192.168.1.150?

Quote:
This looks good if your WAP is a Linksys device and you've left it at it's defaults.
Yes it is linksys and everything is at its default. I'll play around w/ everything later when I actually get this device up and running.

Quote:
When you try pinging things on the internet are you trying IP addresses, or domain names? You need the name server to resolve domain names.
I'm trying ip addresses or domains I know of. For some reason I can't ping a domain name aka 'linuxquestions.org'. It says host not found.

Quote:
You should put the IP address of your DNS in the /etc/resolv.conf file. Your WAP configuration should have a tab (mine's the status tab) that specifies the DNS IP addresses. My /etc/resolv.conf file looks something like this:

search alocation.somehub.net.cable.rogers.com
nameserver 12.345.78.910
nameserver 12.345.67.89
So, should I get rid of "nameserver <access_point_ip>".?
So I should add this:

nameserver dnsserver1
nameserver dnsserver2

The topline you showed by example, "search alocation.somehub.net.cable.rogers.com", I can't find that, though I will continue to look.

edit: I am using comcast, I did a reverse dns on my dns servers and got this ns11.attbi.com and ns14.attbi.com. Would this go where you put alocation.somehub.net.cable.rogers.com?


Thanks,
CK

P.S. I am using DHCP

Last edited by Cyb3rKnyght; 10-04-2004 at 09:10 PM.
 
Old 10-04-2004, 09:47 PM   #4
freshshelf
LQ Newbie
 
Registered: Sep 2004
Location: Ottawa, Ontario, Canada
Distribution: RH FC3 kernel-2.6.10-1.741_FC3
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by Cyb3rKnyght
So in 'ifconfig' I should assign it some random IP address between 192.168.1.1 and 192.168.1.150?
My WAP is a Linksys BEFW11S4. It uses DHCP and starts assigning IP addresses at 192.168.1.100. If I didn't have any other PC's connected to it I could use that address, but to be safe I used a random higher one to assign to my WUSB11 adaptor.

Quote:
Yes it is linksys and everything is at its default. I'll play around w/ everything later when I actually get this device up and running.
If you can ping your WAP, you may be able to connect to it through your browser to see how it is configured. Just put http://192.168.1.1 in the URL window of your browser. I get a pop up window that asks me for username and password. The default values are nothing for the username and "admin" for the password.

Quote:
I'm trying ip addresses or domains I know of. For some reason I can't ping a domain name aka 'linuxquestions.org'. It says host not found.
As I mentioned before, that is what the DNS (Domain Name Server) is for.

Quote:
So, should I get rid of "nameserver <access_point_ip>".?
So I should add this:

nameserver dnsserver1
nameserver dnsserver2
If you mean the actual IP addresses for dnsserver1 and dnsserver2, then yes!

Quote:
The topline you showed by example, "search alocation.somehub.net.cable.rogers.com", I can't find that, though I will continue to look.

edit: I am using comcast, I did a reverse dns on my dns servers and got this ns11.attbi.com and ns14.attbi.com. Would this go where you put alocation.somehub.net.cable.rogers.com?
Yes, but you might try it without that line first.
 
Old 10-09-2004, 08:33 PM   #5
Cyb3rKnyght
LQ Newbie
 
Registered: Feb 2004
Location: Northern California
Distribution: Slackware 10, Debian 3.0
Posts: 18

Original Poster
Rep: Reputation: 0
Okay, I have gotten it to where all it is doing is "Resolving the host" in my browser. I think my problem is in my etc/resolv.conf. I am unsure of what you wanted me to put with "search alocation.somehub.net.cable.rogers.com". These are all the commands that I enter in:

ifconfig wlan0 192.168.1.50 (chose ip between 192.168.1.1 and 192.168.1.150)
iwconfig wlan0 channel 6 mode managed rate 11M essid linksys
route add default gw 192.168.1.100 (my router address)

In my /etc/resolv.conf:

nameserver <dns_ip_1>
nameserver <dns_ip_2>
 
Old 10-09-2004, 10:18 PM   #6
freshshelf
LQ Newbie
 
Registered: Sep 2004
Location: Ottawa, Ontario, Canada
Distribution: RH FC3 kernel-2.6.10-1.741_FC3
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by Cyb3rKnyght
Okay, I have gotten it to where all it is doing is "Resolving the host" in my browser. I think my problem is in my etc/resolv.conf. I am unsure of what you wanted me to put with "search alocation.somehub.net.cable.rogers.com". These are all the commands that I enter in:

ifconfig wlan0 192.168.1.50 (chose ip between 192.168.1.1 and 192.168.1.150)
I'm hoping that this step isn't what's fouling things up for you. If you reboot, and DON'T do the above. Check and see if you've been assigned an IP already by the router. Do this by typing:
/sbin/ifconfig wlan0

You should see something like this:
wlan0 Link encap:Ethernet HWaddr 00:0A:BCE:FF:FF
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
...
RX bytes:193689 (189.1 Kb) TX bytes:69535 (67.9 Kb)

As you can see in the example above, my WUSB11 was assigned 192.168.1.100 by the router. Only if you don't have an IP (inet addr) should you assign one manually. If you have to assign one manually you should look at the configuration of your router and find out the base address it starts handing them out at (192.168.1.100 for me) and the number it can hand out (50 for me) and pick one in that range (my range would be 192.168.1.100 to 192.168.1.149).

Quote:
iwconfig wlan0 channel 6 mode managed rate 11M essid linksys
This looks good. Again, you should make sure that it jives with the configuration of your router.

Quote:
route add default gw 192.168.1.100 (my router address)
That address seems high for a router address. Are you sure about this? I didn't have to add a default route for my gateway, but I'm using Fedora Core2 as my O/S. Can you ping your router? I wouldn't bother worrying about name resolution if you can't ping your router (aka WAP (Wireless Access Point)).

Quote:
In my /etc/resolv.conf:

nameserver <dns_ip_1>
nameserver <dns_ip_2>
This looks good as well. The only thing my /etc/resolv.conf file has that yours doesn't is a search line. In there I put the fully resolved name of the DNS server. I don't think this is necessary...

You should really login to your WAP and look at it's configuration. You said it was set up for DHCP (on the LAN side). Then part of the configuration should tell you where it assigns IP addresses(as discussed above). It should also indicate on the WAN side how it's getting it's IP information. It's probably set to "Obtain IP automatically". You should check that it has an IP address and that it has a default gateway and DNS server addresses. These should be the same ones you put in for <dns_ip_1> and <dns_ip_2> in your /etc/resolv.conf file.
 
Old 10-10-2004, 01:39 AM   #7
Cyb3rKnyght
LQ Newbie
 
Registered: Feb 2004
Location: Northern California
Distribution: Slackware 10, Debian 3.0
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you so much freshshelf. I am posting this from slackware. I really appreciate you helping me through this.
 
Old 10-10-2004, 07:16 PM   #8
freshshelf
LQ Newbie
 
Registered: Sep 2004
Location: Ottawa, Ontario, Canada
Distribution: RH FC3 kernel-2.6.10-1.741_FC3
Posts: 12

Rep: Reputation: 0
No problem, I'm just glad to help...
 
Old 10-22-2004, 11:09 PM   #9
slackwaresux
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by freshshelf
No problem, I'm just glad to help...

you rock freshshelf!
 
  


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
Wusb11? validweb Linux - Wireless Networking 16 10-08-2005 11:27 AM
Slackware 9.1 and WUSB11 ver 2.6 OAD Slackware 3 06-25-2004 09:49 AM
Wusb11 2.6 TheSixthApostle Linux - Hardware 5 01-21-2004 11:07 AM
linksys wusb11 version 2.6 in slackware 9.0 dj_pricetag Linux - Networking 46 01-15-2004 02:45 AM
WUSB11 Driver Instalation on Slackware 9.1 wardyxpordy Linux - Networking 0 10-17-2003 06:26 PM


All times are GMT -5. The time now is 07:42 AM.

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