Change Pandora Wireless Mode


fdelapena

Still Fresh
Joined
Nov 20, 2008
Messages
35
Age
42
Location
Barcelona, Spain
Website
easyrpg.sourceforge.net
If you want to change wireless mode (the default is managed) you can do this from the terminal:

First, some apps can manage wireless. You can kill them:

Code:
sudo -s
Code:
killall NetworkManager

Another Apps using network are avahi-daemon and wpa-supplicant.

NetworkManager puts networking up. Once killed you can do for example:

Code:
ifconfig wlan0 down
iwconfig wlan0 mode Monitor
ifconfig wlan0 up

You can do iwconfig without parameters to ensure if the interface is running the selecte mode:

Code:
iwconfig

That's all!
 
I tried it but it didn't work for me with this receipt. Maybe as ad-hoc works.

Or trying:

Code:
auto wlan0
iface wlan0 inet static
wireless-mode master
wireless-essid myaccesspoint
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255

in /etc/network/interfaces, then /etc/init.d/networking restart
Don't tested by me yet.
 
fdelapena said:
Code:
 killall NetworkManager
A nicer way to shut down anything that's configured your network is instead to use:

Code:
/etc/init.d/networking stop

It's always best to see if there's an init.d script that is already managing the process you're killing before you kill it by hand.
 
Last edited by a moderator:
javaJake said:
fdelapena said:
Code:
 killall NetworkManager
A nicer way to shut down anything that's configured your network is instead to use:

Code:
/etc/init.d/networking stop

It's always best to see if there's an init.d script that is already managing the process you're killing before you kill it by hand.

I just had a quick look, however, NetworkManager doesn#t seems to be started by init.d/networking
 
Last edited by a moderator:
Back
Top