LinuxQuestions.org
Review your favorite Linux distribution.
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 11-15-2004, 02:22 PM   #1
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Rep: Reputation: 15
iwconfig arggh..


Newbie warning..
Hi all, just installed Slack 10 - 2.4 and muddled my way thru upgrading my kernel to 2.6.7.

This is seriously wierd, and I have read a lot of iwconfig posts..
I got my Linksys WUSB11 wireless adaptor working using ndiswrapper 0.11 and the windoze driver. The first time I ran iwconfig, I could do :

iwconfig wlan0 essid 'abcde'

and the essid would change to abcde. BUT now NOThing changes when I run iwconfig. wlan0 exists, the lights flash but essid shows up as yyyyyyyyyyyyyyyyyyyyyyyyyyy or something.

I have found iwpriv reset but it does not reset.. Please, there is obviously something making the settings stick but how do I reset or whatever. Or is there a .conf file I should edit...

I should add I help run a Wireless ISP so I am not a wireless newbie, just a linux newbie...

Maybe Slackware is not the best for wireless but the odd thing is, I could edit settings initially but they have apparently now got stuck...

Cheers all.
 
Old 11-15-2004, 03:00 PM   #2
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
Ok I have found a bit more.
a) It does seem related to signal strength
b) My home net does NOT broadcast its SSID (as well being WEP) so I doubt I it will ever associate with it.
c) My network AP (wireless server in the garage) **does** broadcast SSID and the WUSB11 seems to find it. I think I am beginning to understand it a bit more..
d) More (only) problem now is to get the WUSB11 to DHCP an IP addy from my AP DHCP server..

Cheers.
 
Old 11-15-2004, 08:33 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Quote:
d) More (only) problem now is to get the WUSB11 to DHCP an IP addy from my AP DHCP server..

Cheers.
Well, that might be the easy bit. If you're running Slack 10, just issue dhcpcd wlan0 at the command line and hopefully that will get you an IP (careful with the dhcpcd spelling though). Otherwise you can always issue yourself a static IP with ifconfig and set up your router as a gateway with the route command.

I'm not surprised at the signal strength bit. For an SSID to take, the card has to be able to see it. The same goes for the WEP. And you may have to set the WEP before you can set the SSID. However, on my system it is the other way around. Try experimenting with order and see if that helps.
 
Old 11-16-2004, 02:33 AM   #4
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
Ok ... well I have got the WUSB11 to take an IP addy using ifconfig - 192.168.174.40 (or xxxx but I need 192.168.174.**).
I am now struggling with the ROUTE command to setup my gateway which is 192.168.174.1 .... and while I am at it, the DNS which is 192.168.15.1

Further advice MUCH appreciated and thanks already..

PS HOST NAME NOT FOUND is driving me mad....

Last edited by radioradio; 11-16-2004 at 05:41 AM.
 
Old 11-16-2004, 07:42 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
OK, you can check out the route man page but I think the proper command is:

route add default gw 192.168.174.1


The other bit you are going to want to do is add your ISP's nameservers to your /etc/resolv.conf file. That is pretty easy to do, just open it in a text editor and add nameserver 1.2.3.4 and add as many nameservers as your ISP has.
 
Old 11-16-2004, 10:34 AM   #6
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks... but..
I get the feeling I am so near now, thanks to your efforts..

I can open a browser and the routing is set up and the browser is obviously trying to resolve the url ---- but it doesn't.

I have a nasty feeling the WUSB11 is NOT associating with my AP - I can log into the AP (using my management system) and see who and what is associated. In the WKiFi display, the Mac of the AP is NOT picked up, and the AP does not show the WUSB11 MAC. Thus no assocation... That may be the cause of the problem..

Any further thought please??
Cheers very much so far.. what annoys me is it is so easy under windoze, but I suppose it is a very steep learining curve ;-))
 
Old 11-16-2004, 11:23 AM   #7
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
IT Finally ocurred to me to grab my Orinoco gold card and iPAQ and do some WiFi sniffing..
With netstumber and WiNic I can actually GET the WUSB11 to associate with my iPAQ but ONLY in AD-HOC mode... The ip addy that comes thru is also in the 169.xxx.xxx.xxx range but that is I suppose becos there is not DHCP server enabled on the Linux system.

The iPAQ does not register the Linux system as an AP but then I suppose it would not, only as a wireless client or an ad-hoc system.

So it seems I am so close... I need to get the Linux system into infrastructure mode for it to associate with an AP but... Oh well, it must be good for the sole..

SO at least the whole thing is working, I get MAC addresses (invented by the Linux system but I don't care ATM) and they are decoded correctly on the iPAQ.

Any further thoughts please?
 
Old 11-16-2004, 04:15 PM   #8
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
WELLLLLL!!!!
This is my first linux post..
Using slack 10 - cheating, using ethernet but at least I **can** network..
I just installed it on my laptop..

Have to try radio tomorrow!!
 
Old 11-16-2004, 09:11 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Congrats on getting the wired bit to work. Now lets see if we can get the wireless working so you can post from Linux while on the sofa with a beer nearby.......

At this point I'm flying a little bit blind. It is possible that your wireless card isn't associating with the AP and the only way to tell for sure is by looking at the output of iwconfig. You might want to post the output and we'll see if it looks suspicious. The other thing to try is if you think you ARE getting an association with the AP, you could try to surf to a site using the IP address. LQO is 64.179.4.149 so if you can access by just that IP, then it is a nameserver problem. If you can't, then it is likely still a problem with the wireless card.
 
Old 11-17-2004, 01:42 AM   #10
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
I'm 99% sure the wireless card is NOT associating - as I can see the output from the AP and it is NOT recorded there...

More work needed (sorry, this is from windoze..)
 
Old 11-17-2004, 02:23 AM   #11
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
WELLLL I'm jiggered...
THIS is my laptop, running Linux, using Orinoco Gold (which appears to be natively supported).
Put in my ip and gw and WHAM it works!!

So - the first card I tried (Buffalo WLI-CB-G54A) which ndis says IS ok, but the drivers don't seem to work - didn't work.

The Orinoco DID

YEEEEHHHHHHHHHHHhhaaaaaaaaaaaaaaaa!!
 
Old 11-17-2004, 07:19 AM   #12
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Excellent.

Yes, the Orinoco chipsets have native linux support. Now if other manufacturers would just release enough info for native linux drivers to be written. Stick with the Orinoco card, having native linux support is definitely going to be a bettter solution.
 
Old 11-17-2004, 10:04 AM   #13
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
One (final haha) question..

How do I (very newbie question) setup linux so when it boots, I do not have to enter ip and gw every time.. That would be more convenient..

Cheers (ps a windoze machine this time ;-((
 
Old 11-17-2004, 10:32 AM   #14
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
I am so high it will require a crane and heavy lifting gear to get me down from the roof....

I followed instructions on ndiswrapper site for my Buffalo card - and that's what I am using now (oh BTW in LINUX).

And I am also access the network via my wireless ROUTER rather than direct...
This is soooooooooooooo cool..
 
Old 11-17-2004, 10:33 AM   #15
radioradio
Member
 
Registered: Nov 2004
Location: East UK
Distribution: Mandriva 2006 Discovery, SUSE 10.0, Red Hat, Knoppix
Posts: 47

Original Poster
Rep: Reputation: 15
Can't have 13 posts, - so Orinoco Gold works, Buffalo G54 works (ndiswrapper).
Just have to figure out how to save the config..

And I also setup my email.
Sorry to bore everyone but my faith in ndiswrapper is restored..

Oh and it's also running with WEP enabled, but unfortunately I have to set my router / AP to broadcast SSID for it to be found.

Last edited by radioradio; 11-17-2004 at 10:36 AM.
 
  


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
12 and 24 hour clock timings -- arggh! Jim Miller Linux - General 13 07-17-2007 06:54 PM
iwconfig help cucolin@ Linux - Wireless Networking 3 03-07-2005 11:59 AM
iwconfig help houston1981 Linux - Wireless Networking 3 12-09-2004 06:59 PM
iwconfig help cck23 Linux - Wireless Networking 4 07-05-2004 03:51 AM
ARGGH Virus on my Linux Box Jeff Foster Linux - General 4 09-13-2003 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration