You are not logged in.

#1 2008-04-29 01:00:29

scrawler
Member
Registered: 2005-06-07
Posts: 312

a stupid but easy wireless question

Say I just connected to a wireless network like this:

iwconfig wlan0 essid mynet
iwconfig wlan0 key s:mykey
ifconfig wlan0 up
dhclient wlan0

what's the best way to disconnect?

Offline

#2 2008-04-29 01:04:14

brebs
Member
Registered: 2007-04-03
Posts: 3,066

Re: a stupid but easy wireless question

Maybe "ifconfig wlan0 down"

Offline

#3 2008-04-29 01:06:10

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,167
Website

Re: a stupid but easy wireless question

scrawler wrote:

Say I just connected to a wireless network like this:

iwconfig wlan0 essid mynet
iwconfig wlan0 key s:mykey
ifconfig wlan0 up
dhclient wlan0

what's the best way to disconnect?

By the way, if you wish, you may put the iwconfigs on one line like so:

iwconfig wlan0 essid mynet key S:mykey

Just FYI smile

Offline

#4 2008-04-29 01:27:34

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: a stupid but easy wireless question

brebs wrote:

Maybe "ifconfig wlan0 down"

shouldn't I be destroying something?

Offline

#5 2008-04-29 08:00:01

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: a stupid but easy wireless question

scrawler wrote:
brebs wrote:

Maybe "ifconfig wlan0 down"

shouldn't I be destroying something?

nope, that's fine

Offline

Board footer

Powered by FluxBB