cant configure wireless usb with prism2 chipset


Caffeine-->Code Converter
25 Apr 2002
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
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 ( 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

these should give you the DNS lookups on those two domains
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
;; Got SERVFAIL reply from, trying next server
; <<>> DiG 9.2.3rc2 <<>>
;; 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 @ is my ISPs secondary nameserver

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

; <<>> DiG 8.3 <<>> @
; (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
;;, type = A, class = IN



;; ADDITIONAL SECTION: 48m53s IN A 48m53s IN A 48m53s IN A 48m53s IN A

;; Total query time: 183 msec
;; WHEN: Sat Apr 24 19:51:02 2004
;; MSG SIZE sent: 29 rcvd: 213
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 for both servers, i tried the dig command with my router's ip: dig @
and i got what i was supposed to get :confused:

heres the output so u can take a look

[root@localhost etc]# dig @

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

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

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

; IN A

;; ANSWER SECTION: 1315 IN A 1315 IN A 1315 IN A

;; AUTHORITY SECTION: 11077 IN NS 11077 IN NS 11077 IN NS 11077 IN NS

;; ADDITIONAL SECTION: 3556 IN A 613 IN A 1212 IN A 126536 IN A

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

[root@localhost etc]#

thx again!!
: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!

lol, glad you got it sorted

now if only I could get my wireless card to co-operate :p

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Latest member