• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

cant configure wireless usb with prism2 chipset


Caffeine-->Code Converter
i downloaded the linux-wlan-ng drivers and followed the instructions on the site to enable my device. for some reason it doesnt work...i checked over all the files that are referred to in the guide and all of them are completed as they should be, unless i got confused in some part.
when i was configuring it, there was a line that said
ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast>

my ip would be, netmask but the broadcast i dont know. ive never seen this one before...

the weird thing is that yesterday i was able to go into my router's configuration but not on the internet (that was because i hadnt included the DNS info). today i cant even go to the router config.

i installed MDK 9.2 yesterday with everything in it, as well as anything needed by the wlan drivers so im not missing anything that may be required.

try something like

ifconfig wlan0 inet netmask 0xffffff00 broadcast mode 11b ssid WirelessSSID channel WirelessLanChannel

the 0xffffff00 is the subnet in hex btw which is apparently the way you are supposed to give it to ifconfig

also this doesnt set your DNS servers as you mentioned those, they go into /etc/resolv.conf in the format
nameserver serverIP


Caffeine-->Code Converter
ok, i just finished reinstalling the wlan drivers for the dell truemobile 1180 usb adapter (uses prism2 chipset). i finally figured out how to properly connect to my router, and i tested the connection using ping and linneighborhood to see for my windows pc's.

i configured the resolv.conf file to my nameservers in the format of:

nameserver IP Address

and I saved the file. i went into a browser and went into my router's config, everything worked perfectly, asked for my password and I was in. the problem is that that is the only page i can connect to. if i try any normal website (www.hotmail.com for example), it wont go into it. i tried a bunch of pages, just in case the other ones could've been down, but no webpages other than the router's config load up.

im not sure where the problem might be lying cuz i have my ip properly configured (as far as i know) and i ran the instructions exactly on the wlan driver's guide.

it says i have to do a port reset (due to a bug in the prism driver) so i just unplug my adapter, plug it back in, i run the rc.wlan script, then i run the commands in order to load the driver into memory (wlanctl-ng, ifconfig, etc), and thats it, im connected to the router.

as far as i know, it should be loading up pages....anyone have any ideas on why this is happening?

something weird that i noticed, is that when i unplug and plug in the adapter, there is another nameserver added automatically to the resolv.conf file. the server is or somethin like that, but i know its my pc. is this normal as well?

if the MDK has a DHCP client anything like the one in freebsd then it will overwrite the existing resolv.conf file with the nameservers it gets from the DHCP server, which can be annoying, I have modified my dhclient-script file to add as the first entry, then the nameservers from DHCP and then a bunch of other ones which I have prestored in another file and it just concatinates those to the resolv.conf file. (I have nameserver because I run a dnscache locally on my machine)

though it looks like you arent using DHCP on the wireless card.
have you tried running
ifconfig wlan0 up
once you have done everything else just to make sure the interface is up. Also if you can attach copies of your ifconfig output or something like that

also what happens when you do something like
dig hotmail.com
dig osnn.net

these should give you the DNS lookups on those two domains


Caffeine-->Code Converter
thx for the replies Geffy...
i just tried what u told me...

here's the total output i got, from when i started the adapter up until when i did the dig

[root@localhost etc]# sh rc.wlan start
Starting WLAN Devices:message=dot11req_mibset

resultcode=success [ OK ]
[root@localhost etc]# modprobe prism2_usb prism2_doreset=1
[root@localhost etc]# wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

[root@localhost etc]# wlanctl-ng wlan0 lnxreq_autojoin ssid=FamAsenjo

[root@localhost etc]# ifconfig wlan0
[root@localhost etc]# ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=150 time=10.7 ms
64 bytes from icmp_seq=2 ttl=150 time=7.65 ms
[1]+ Stopped ping
[root@localhost etc]# ifconfig wlan0 up
[root@localhost etc]# dig hotmail.com
;; Got SERVFAIL reply from, trying next server
; <<>> DiG 9.2.3rc2 <<>> hotmail.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@localhost etc]#

up to the point of the pinging of the router everything went pretty well. when i ran ifconfig wlan0 up it didnt display anything, it just went to another
'[root@localhost etc]#' line, no output no nothing.
for the dig command....well, its pretty much self explainatory, it went to hell
it looked again for the (which was probably added to the resolv.conf automatically, as far as i know) and then when it tried the other two servers (which are correctly written into the resolv.conf, i checked them in the router's config) and got a timeout (i found that weird....)
lets try bypassing the resolv.conf file

dig @ hotmail.com is my ISPs secondary nameserver

should get some output like
[geffy@squidge ~]$ dig @ hotmail.com

; <<>> DiG 8.3 <<>> @ hotmail.com
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39225
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4
;; hotmail.com, type = A, class = IN

hotmail.com. 1H IN A
hotmail.com. 1H IN A
hotmail.com. 1H IN A

hotmail.com. 1H IN NS ns3.hotmail.com.
hotmail.com. 1H IN NS ns4.hotmail.com.
hotmail.com. 1H IN NS ns1.hotmail.com.
hotmail.com. 1H IN NS ns2.hotmail.com.

ns1.hotmail.com. 48m53s IN A
ns2.hotmail.com. 48m53s IN A
ns3.hotmail.com. 48m53s IN A
ns4.hotmail.com. 48m53s IN A

;; Total query time: 183 msec
;; FROM: squidge.stealth-ninja.co.uk to SERVER:
;; WHEN: Sat Apr 24 19:51:02 2004
;; MSG SIZE sent: 29 rcvd: 213


Caffeine-->Code Converter
hey Geffy, thx again for the reply....
i just tried the dig command again, with both of the router's DNS servers and neither of them worked :(
i did stumble on to something, although it may be normal and not have to do with my problem. after trying dig @DNS Server hotmail.com for both servers, i tried the dig command with my router's ip: dig @ hotmail.com
and i got what i was supposed to get :confused:

heres the output so u can take a look

[root@localhost etc]# dig @ hotmail.com

; <<>> DiG 9.2.3rc2 <<>> @ hotmail.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@localhost etc]# dig @ hotmail.com

; <<>> DiG 9.2.3rc2 <<>> @ hotmail.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@localhost etc]# dig @ hotmail.com

; <<>> DiG 9.2.3rc2 <<>> @ hotmail.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45587
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4

;hotmail.com. IN A

hotmail.com. 1315 IN A
hotmail.com. 1315 IN A
hotmail.com. 1315 IN A

hotmail.com. 11077 IN NS ns1.hotmail.com.
hotmail.com. 11077 IN NS ns2.hotmail.com.
hotmail.com. 11077 IN NS ns3.hotmail.com.
hotmail.com. 11077 IN NS ns4.hotmail.com.

ns1.hotmail.com. 3556 IN A
ns2.hotmail.com. 613 IN A
ns3.hotmail.com. 1212 IN A
ns4.hotmail.com. 126536 IN A

;; Query time: 484 msec
;; WHEN: Sat Apr 24 23:04:33 2004
;; MSG SIZE rcvd: 213

[root@localhost etc]#

thx again!!


Caffeine-->Code Converter
:D!!! i got it!!
i looked up some guides on setting up the prism2 chipset and i thought of adding the
route add default gw
command into the script i made to start up the adapter, and it worked!!

thanks a lot for your help geffy!


Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
What a long strange trip it's been. =)

Forum statistics

Latest member