Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-13 Thread Neil Bothwick
On Mon, 13 Dec 2010 07:26:22 +, Mick wrote:

 Interesting! Can wicd manage encryption WPA/WPA2 without wpa_supplicant?

No, wpa_supplicant is a dependency of wicd.


-- 
Neil Bothwick

SCSI: System Can't See It


signature.asc
Description: PGP signature


Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-13 Thread Mick
On 13 December 2010 09:04, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 13 Dec 2010 07:26:22 +, Mick wrote:

 Interesting! Can wicd manage encryption WPA/WPA2 without wpa_supplicant?

 No, wpa_supplicant is a dependency of wicd.

Right, I thought as much, but Valmor's removal of
/etc/wpa_supplicant/*.conf through me out.

Can wicd write to /etc/wpa_supplicant/wpa_supplicant.conf?

-- 
Regards,
Mick



Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-13 Thread Willie Wong
On Mon, Dec 13, 2010 at 02:02:55PM +, Mick wrote:
 Right, I thought as much, but Valmor's removal of
 /etc/wpa_supplicant/*.conf through me out.
 
 Can wicd write to /etc/wpa_supplicant/wpa_supplicant.conf?

I don't know, but, then again, why would it need to? 

I know that wicd does write *somewhere* to save the settings. If it
can call wpa_supplicant, it can also call it with the -c option if it
needs to, no?

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-13 Thread Valmor de Almeida
On 12/13/2010 09:02 AM, Mick wrote:
 On 13 December 2010 09:04, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 13 Dec 2010 07:26:22 +, Mick wrote:

 Interesting! Can wicd manage encryption WPA/WPA2 without wpa_supplicant?

 No, wpa_supplicant is a dependency of wicd.
 
 Right, I thought as much, but Valmor's removal of
 /etc/wpa_supplicant/*.conf through me out.
 
 Can wicd write to /etc/wpa_supplicant/wpa_supplicant.conf?
 

I can't find it anywhere. So I guess no. On wireless right now.

--
Valmor



Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-13 Thread Neil Bothwick
On Mon, 13 Dec 2010 14:02:55 +, Mick wrote:

  Interesting! Can wicd manage encryption WPA/WPA2 without
  wpa_supplicant?  
 
  No, wpa_supplicant is a dependency of wicd.  
 
 Right, I thought as much, but Valmor's removal of
 /etc/wpa_supplicant/*.conf through me out.

That wasn't necessary, but at l;east it made sure it wasn't in @world.
 
 Can wicd write to /etc/wpa_supplicant/wpa_supplicant.conf?

I suppose it could if it really wanted to, but that would be a bit unkind
if you were maintaining that file manually. Wicd keeps all its settings
in /etc/wicd.


-- 
Neil Bothwick

Our bikinis are exciting. They are simply the tops.


signature.asc
Description: PGP signature


[gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Valmor de Almeida

Hello,

I would like to have net.wlan0 started only when the wireless card is
switched on. I am using ifplugd for starting net.eth0 when an ethernet
cable is plugged in. Is there a similar utility for net.wlan0? Ideally
so that it is configurable in conjunction with ifplugd.

Thanks,

--
Valmor



Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de 
Almeida did opine thusly:

 Hello,
 
 I would like to have net.wlan0 started only when the wireless card is
 switched on. I am using ifplugd for starting net.eth0 when an ethernet
 cable is plugged in. Is there a similar utility for net.wlan0? Ideally
 so that it is configurable in conjunction with ifplugd.


Chuck all that net.* bullshit out the window and use wicd instead.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 03:54 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de 
 Almeida did opine thusly:
 
 Hello,

 I would like to have net.wlan0 started only when the wireless card is
 switched on. I am using ifplugd for starting net.eth0 when an ethernet
 cable is plugged in. Is there a similar utility for net.wlan0? Ideally
 so that it is configurable in conjunction with ifplugd.
 
 
 Chuck all that net.* bullshit out the window and use wicd instead.
 
 
Okay I am new to this wireless stuff. If I do

- emerge -vp wicd

I get

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0 kB
[ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc -examples
-test 483 kB
[ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
[ebuild  N] x11-misc/ktsuss-1.4  273 kB
[ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
(-ioctl) -libnotify 402 kB

Total: 5 packages (5 new), Size of downloads: 1,390 kB

which will install wireless-tools. This does not mean I need to use it
to configure my wireless net right? I am asking this because I am using
wpa_supplicant and in the /etc/conf.d/net config file, I can only use
one or the other.

Since wicd deals with both wired and wireless, should I also get rid of
ifplugd?

Thanks,

--
Valmor



Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de 
Almeida did opine thusly:

 On 12/12/2010 03:54 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor
  de
  
  Almeida did opine thusly:
  Hello,
  
  I would like to have net.wlan0 started only when the wireless card is
  switched on. I am using ifplugd for starting net.eth0 when an ethernet
  cable is plugged in. Is there a similar utility for net.wlan0? Ideally
  so that it is configurable in conjunction with ifplugd.
  
  Chuck all that net.* bullshit out the window and use wicd instead.
 
 Okay I am new to this wireless stuff. If I do
 
 - emerge -vp wicd
 
 I get
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0 kB
 [ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc -examples
 -test 483 kB
 [ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
 [ebuild  N] x11-misc/ktsuss-1.4  273 kB
 [ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
 (-ioctl) -libnotify 402 kB
 
 Total: 5 packages (5 new), Size of downloads: 1,390 kB
 
 which will install wireless-tools. This does not mean I need to use it
 to configure my wireless net right?

You are going to take the entirety of net.* except net.lo as installed by 
baselayout/openrc/whatever and get rid of it. That stuff never worked right 
for anything except servers with fixed IPs

 I am asking this because I am using
 wpa_supplicant and in the /etc/conf.d/net config file, I can only use
 one or the other.

Discard /etc/conf.d/net

That's part of the thing you are getting rid of

 
 Since wicd deals with both wired and wireless, should I also get rid of
 ifplugd?

Yes.

Just following the wicd docs and it will all work just fine

-- 
alan dot mckinnon at gmail dot com



[SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 04:46 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de 
 Almeida did opine thusly:
 
 On 12/12/2010 03:54 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor
 de

 Almeida did opine thusly:
 Hello,

 I would like to have net.wlan0 started only when the wireless card is
 switched on. I am using ifplugd for starting net.eth0 when an ethernet
 cable is plugged in. Is there a similar utility for net.wlan0? Ideally
 so that it is configurable in conjunction with ifplugd.

 Chuck all that net.* bullshit out the window and use wicd instead.

 Okay I am new to this wireless stuff. If I do

 - emerge -vp wicd

 I get

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0 kB
 [ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc -examples
 -test 483 kB
 [ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
 [ebuild  N] x11-misc/ktsuss-1.4  273 kB
 [ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
 (-ioctl) -libnotify 402 kB

 Total: 5 packages (5 new), Size of downloads: 1,390 kB

 which will install wireless-tools. This does not mean I need to use it
 to configure my wireless net right?
 
 You are going to take the entirety of net.* except net.lo as installed by 
 baselayout/openrc/whatever and get rid of it. That stuff never worked right 
 for anything except servers with fixed IPs
 
 I am asking this because I am using
 wpa_supplicant and in the /etc/conf.d/net config file, I can only use
 one or the other.
 
 Discard /etc/conf.d/net
 
 That's part of the thing you are getting rid of
 

 Since wicd deals with both wired and wireless, should I also get rid of
 ifplugd?
 
 Yes.
 
 Just following the wicd docs and it will all work just fine
 

Thank you very much. I don't know how this magic is happening since I
had posted another message in this list on problems with wpa_supplicant
and frequent dropouts during connection. I am now sending this e-mail
with a wireless connection. For the record, what I had to do was:

emerge --unmerge ifplugd wpa_supplicant
rm /etc/wpa_supplicant/*.conf
rm /etc/conf.d/net
touch /etc/conf.d/net
rm /etc/init.d/net.eth0
rm /etc/init.d/net.wlan0
emerge -av wicd

emerge wicd
/etc/init.d/wicd start
rc-update add wicd boot

reboot and check wired connection.
disconnect, turn on wireless
wicd-client -n

Thanks,

--
Valmor






Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Mick
On Monday 13 December 2010 07:05:20 Valmor de Almeida wrote:
 On 12/12/2010 04:46 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor
  de
  
  Almeida did opine thusly:
  On 12/12/2010 03:54 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 18:51 on Sunday 12 December 2010,
  Valmor de
  
  Almeida did opine thusly:
  Hello,
  
  I would like to have net.wlan0 started only when the wireless card is
  switched on. I am using ifplugd for starting net.eth0 when an ethernet
  cable is plugged in. Is there a similar utility for net.wlan0? Ideally
  so that it is configurable in conjunction with ifplugd.
  
  Chuck all that net.* bullshit out the window and use wicd instead.
  
  Okay I am new to this wireless stuff. If I do
  
  - emerge -vp wicd
  
  I get
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0
  kB [ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc
  -examples -test 483 kB
  [ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
  [ebuild  N] x11-misc/ktsuss-1.4  273 kB
  [ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
  (-ioctl) -libnotify 402 kB
  
  Total: 5 packages (5 new), Size of downloads: 1,390 kB
  
  which will install wireless-tools. This does not mean I need to use it
  to configure my wireless net right?
  
  You are going to take the entirety of net.* except net.lo as installed by
  baselayout/openrc/whatever and get rid of it. That stuff never worked
  right for anything except servers with fixed IPs
  
  I am asking this because I am using
  wpa_supplicant and in the /etc/conf.d/net config file, I can only use
  one or the other.
  
  Discard /etc/conf.d/net
  
  That's part of the thing you are getting rid of
  
  Since wicd deals with both wired and wireless, should I also get rid of
  ifplugd?
  
  Yes.
  
  Just following the wicd docs and it will all work just fine
 
 Thank you very much. I don't know how this magic is happening since I
 had posted another message in this list on problems with wpa_supplicant
 and frequent dropouts during connection. I am now sending this e-mail
 with a wireless connection. For the record, what I had to do was:
 
 emerge --unmerge ifplugd wpa_supplicant
 rm /etc/wpa_supplicant/*.conf
 rm /etc/conf.d/net
 touch /etc/conf.d/net
 rm /etc/init.d/net.eth0
 rm /etc/init.d/net.wlan0
 emerge -av wicd
 
 emerge wicd
 /etc/init.d/wicd start
 rc-update add wicd boot
 
 reboot and check wired connection.
 disconnect, turn on wireless
 wicd-client -n

Interesting! Can wicd manage encryption WPA/WPA2 without wpa_supplicant?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.