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: pump fails with SSID broadcast disabled< Next Oldest | Next Newest >
oobleck Offline





Group: Members
Posts: 3
Joined: Jan. 2008
Posted: Feb. 08 2008,22:35 QUOTE

After plenty of trial and error (mostly error) I had wireless networking running nicely under DSL.  Then as a security measure I disabled the SSID broadcast on my wireless router, which caused the network to fail.  Specfically,  the "pump -i wlan0" gives a result of "operation failed".  Here's the script that starts the networking:

Code Sample
sudo modprobe ndiswrapper
sleep 2
sudo /usr/sbin/wpa_supplicant -B -dd -c /opt/wpa.conf -i wlan0 -D ndiswrapper
sleep 5
sudo iwconfig wlan0 essid <ssid>
sleep 2
sudo pump -i wlan0


Here's the WPA config file:
Code Sample
network={
ssid="<ssid>"
psk="*****"
}


Everything appears to be OK until the "pump" command.  Since I'm specifying the SSID in the WPA config file and the iwconfig command it seems like the SSID broadcast shouldn't be needed.  So am I missing something simple here?  (In case it's not obvious, I'm new to both linux and networking.)

--
oobleck
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 09 2008,07:20 QUOTE

Might be a limitation of pump. Could you try with a static ip instead?

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
oobleck Offline





Group: Members
Posts: 3
Joined: Jan. 2008
Posted: Feb. 10 2008,23:54 QUOTE

With static IP it works without the SSID broadcast.  So it sounds like pump needs the broadcast?   In googling this problem I saw mention of something called dhcpd, which I gather is a more modern replacement for pump.  Would that be worth a try?

Actually, running with static IP would be OK, once I figure out how to get hostname resolution to work.

--
oobleck
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Feb. 11 2008,02:39 QUOTE

I have my wireless system running fine with broadcast disabled. Pump obtains an IP address no problem. There are probably more settings you need in the wpa_supplicant.conf file. Mine is certainly longer, but I can't recall exactly what is in it at the present time. I'll post the contents later.

Looking at what you are doing I notice that you assign the SSID with iwconfig after wpa_supplicant is run. I execute these two commands in the reverse order. I'm not sure the ssid line in the wpa_supplicant.conf file assigns the ssid, I think it is there to identify which ssid that particular block of the file belongs to. If this is so this may be why you are having problems. Try running the iwconfig wlan0 essid <ssid> command before wpa_supplicant.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Feb. 11 2008,13:02 QUOTE

My wpa_supplicant.cong file reads:

network={
ssid="MYSSID"
key_mgmt=WPA-PSK
psk="..................................................."
}

This, with the commands in the order in the previous message runs 2 different wlan adapters using WPA on 3.4.11 or 4.2.5.
Back to top
Profile PM 
5 replies since Feb. 08 2008,22:35 < 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: pump fails with SSID broadcast disabled

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