LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   WUSB11 2.6 Slackware 10 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wusb11-2-6-slackware-10-a-238377/)

Cyb3rKnyght 10-03-2004 07:01 PM

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.

freshshelf 10-04-2004 08:08 PM

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...

Cyb3rKnyght 10-04-2004 09:04 PM

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. :cry:

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

freshshelf 10-04-2004 09:47 PM

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. :cry:
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.

Cyb3rKnyght 10-09-2004 08:33 PM

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>

freshshelf 10-09-2004 10:18 PM

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:BC:DE: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.

Cyb3rKnyght 10-10-2004 01:39 AM

Thank you so much freshshelf. I am posting this from slackware. I really appreciate you helping me through this.

freshshelf 10-10-2004 07:16 PM

No problem, I'm just glad to help...

slackwaresux 10-22-2004 11:09 PM

Quote:

Originally posted by freshshelf
No problem, I'm just glad to help...

you rock freshshelf!


All times are GMT -5. The time now is 04:58 AM.