Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to conncet to router< Next Oldest | Next Newest >
rxmanjk Offline





Group: Members
Posts: 3
Joined: Nov. 2005
Posted: Nov. 24 2005,17:42 QUOTE

Trying to get my wireless working.  Here's what I have got so far.  Using ndiswrapper to load drivers.  ifconfig -a does list wlan0 device, so I assume all is good there.  /sbin/modprobe ndiswrapper looks ok.  Now I need to connect to my wireless router.  It is setup as a dhcp configuration with no wep key.  The ssid from router is "07740" .  

- So i use the iwconfig command -- iwconfig wlan0 essid 07740 rate auto.
- pump -i wlan0

-But I get an operation failed response after pump.  I forgot which command I used maybe ,ifconfig -a, after pump and I can see tx packets have increased in number. So I assume my card is transmitting
As far as I can tell card never connects to router.  I do not know how to see if card is recieving even my routers ssid.  I am really stuck at this point and have exhuasted my linux knowledge and have spent many hours googling now.  Any help would be appriacted, thanks --RXMAN
Back to top
Profile PM 
sci_fi
Unregistered






Posted: Nov. 26 2005,02:08 QUOTE

Hello:

I have the same problem. My wlan0 configuration script which works perfectly on 1.5, fails on 2.0. I have been unable to connect to my router using 2.0.  Since I changed nothing, it appears that something got broken in 2.0.

Best Regards,

sci_fi
Back to top
rxmanjk Offline





Group: Members
Posts: 3
Joined: Nov. 2005
Posted: Nov. 26 2005,05:58 QUOTE

What your scrpit look like?? :D
Back to top
Profile PM 
sci_fi Offline





Group: Members
Posts: 23
Joined: Jan. 2005
Posted: Nov. 26 2005,12:55 QUOTE

This is my wlan0 setup script that works on 1.5. It is executed from a command in .xinitrc at boot.

cd /home/dsl/.GREG/wlan0/mn-720
sudo ndiswrapper -i mn720-ankh.inf
sudo modprobe ndiswrapper

#Wait for modprobe completion
sleep 2s

#sudo ndiswrapper -m

#echo "Set WEP key"
sudo iwconfig wlan0 key restricted "mywepkey"
#echo "WEP key set"

#echo "Set essid"
sudo iwconfig wlan0 essid any
#echo "essid is set"

#echo "Do ifconfig"
sudo ifconfig wlan0 up
#echo "ifconfig done"

#echo "Now pump"
sudo pump -i wlan0 &
Back to top
Profile PM 
rxman
Unregistered






Posted: Nov. 28 2005,00:44 QUOTE

OK modifiying your script as needed gave me a working connection.  As a matter of fact I am using it right now.... cool.  However  some weird stuff.  I need to physical turn off card to do ndiswrapper and /sbin/modprobe ndiswrapper.  Then I physically turn on card  and run rest of commands.  Any idea how to write that into a script??  I mean just prompts and directions to turn off/on card and the needed pauses for me to do such?  Do not care at this point about catching it at boot.  Just a script I can tuck away.  Thanks again for assistance this far. Rxman

---- Turn off card ----
ndiswrapper /mnt/hda2/bcmwl5.inf
modprobe ndiswrapper
---- Turn on Card ----
iwconfig wlan0 essid any
ifconfig wlan0 up
pump -i wlan0 &
#end of script

ps what does the '&' stand for in pump?
Back to top
5 replies since Nov. 24 2005,17:42 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: How to conncet to router

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code