Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Brian
On Sat 11 Jun 2011 at 02:46:04 +1000, Scott Ferguson wrote: > Re-inserted text (referring to an active cable being plugged and unplugged:- What is an 'active' cable? > -- > If you change the static settings to dhcp it should change - provided > network manager is not installed of course.

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Scott Ferguson
On 11/06/11 00:43, Brian wrote: > On Fri 10 Jun 2011 at 23:40:35 +1000, Scott Ferguson wrote: > >> On 10/06/11 22:20, Brian wrote: >>> >>> Remove cable. >>> >>>root@dektop3:~# dmesg | tail -n 1 >>>[ 158.220270] via-rhine :00:12.0: eth0: link down >>> >> >>> >>> eth0 is not brought do

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Camaleón
On Fri, 10 Jun 2011 14:25:40 +0100, Brian wrote: > On Fri 10 Jun 2011 at 11:25:25 +, Camaleón wrote: > >> Now we have to extract some conclusions which is what I tried to do. > > The premise is false: plugging in a cable does not bring up the > interface with ifconfig. This would make the co

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Brian
On Fri 10 Jun 2011 at 23:40:35 +1000, Scott Ferguson wrote: > On 10/06/11 22:20, Brian wrote: > > > > Remove cable. > > > >root@dektop3:~# dmesg | tail -n 1 > >[ 158.220270] via-rhine :00:12.0: eth0: link down > > > > > > > eth0 is not brought down > > Yes it is ---

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Brian
On Fri 10 Jun 2011 at 11:25:25 +, Camaleón wrote: > Now we have to extract some conclusions which is what I tried to do. The premise is false: plugging in a cable does not bring up the interface with ifconfig. This would make the conclusions suspect. -- To UNSUBSCRIBE, email to debian-user

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Scott Ferguson
On 10/06/11 22:20, Brian wrote: > On Thu 09 Jun 2011 at 21:24:40 -0400, Tom H wrote: > >> On Thu, Jun 9, 2011 at 12:48 PM, Brian wrote: >>> >>> Why would plugging or unplugging the ethernet cable be expected to >>> bring the interface up or down? >> >> That's the whole point of "allow-hotplug". >

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Brian
On Fri 10 Jun 2011 at 18:51:06 +1000, Scott Ferguson wrote: > e100: eth0 NIC Link is Down > e100: eth0 NIC Link is Up 100 Mbps Full Duplex Shows the cable was initially unplugged and then connected. The machine was booted/woke up before the connection was made? You're using dhcp? > And ifconfig

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Brian
On Thu 09 Jun 2011 at 21:24:40 -0400, Tom H wrote: > On Thu, Jun 9, 2011 at 12:48 PM, Brian wrote: >> > > Why would plugging or unplugging the ethernet cable be expected to > > bring the interface up or down? > > That's the whole point of "allow-hotplug". In which case it is not working here.

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Brian
On Thu 09 Jun 2011 at 22:55:38 -0400, Mitchell Laks wrote: > #allow-hotplug eth0 > auto eth1 > iface eth1 inet static The device name changed? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Camaleón
On Thu, 09 Jun 2011 23:29:39 +0100, Brian wrote: > On Thu 09 Jun 2011 at 19:11:48 +, Camaleón wrote: (...) >> > The question remains - Why would plugging or unplugging the ethernet >> > cable be expected to bring the interface up or down? >> >> It does not have to be an isolated event. >>

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-10 Thread Scott Ferguson
On 10/06/11 08:46, Brian wrote: > On Thu 09 Jun 2011 at 21:07:07 +0100, Dom wrote: > >> On 09/06/11 19:35, Brian wrote: >>> >>> The question remains - Why would plugging or unplugging the ethernet >>> cable be expected to bring the interface up or down? >> >> This sounds like a job for ifplugd >

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Mitchell Laks
I hope that you all realize I am not replying to this correspondent, but rather following up the thread. I am __not__ using dhcp. This is not a dhcp problem. I use static IP addresses on all of my ethernet cabled networks. I have approximately 100 different debian machines in multiple locat

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Tom H
On Thu, Jun 9, 2011 at 12:48 PM, Brian wrote: > On Wed 08 Jun 2011 at 19:02:43 +, Camaleón wrote: >> >> Hum... I don't rebember nothing about dhcp or static addressing but >> something about plugging/unplugging the ethernet cable and after that no >> interface coming up. > > Why would plugging

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Nico Kadel-Garcia
On Tue, Jun 7, 2011 at 7:03 PM, Mitchell Laks wrote: > On 11:39 Tue 07 Jun     , Camaleón wrote: >> On Tue, 07 Jun 2011 00:10:48 -0400, Mitchell Laks wrote: >> >> > The following is a problem I have on all laptops, I dont know how to >> > configure to connect when the ethernet cable is attached. >

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Brian
On Thu 09 Jun 2011 at 21:07:07 +0100, Dom wrote: > On 09/06/11 19:35, Brian wrote: >> >> The question remains - Why would plugging or unplugging the ethernet >> cable be expected to bring the interface up or down? > > This sounds like a job for ifplugd It is, because manipulating a cable does no

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Brian
On Thu 09 Jun 2011 at 19:11:48 +, Camaleón wrote: > On Thu, 09 Jun 2011 19:35:48 +0100, Brian wrote: > > > You are talking about *devices* here. > > AFAIK, network devices (NICs) are also managed by udev. Maybe - but the cable is not a device. With a static address stanza in /e/n/i the inte

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Dom
On 09/06/11 19:35, Brian wrote: On Thu 09 Jun 2011 at 17:55:50 +, Camaleón wrote: Hum... what happens when you attach a USB device to the computer? Kernel detects it and DE mounts it based on user's settings. And what happens when you dettach the key? Kernel (or udev, or both) remove/umount

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Camaleón
On Thu, 09 Jun 2011 19:35:48 +0100, Brian wrote: > On Thu 09 Jun 2011 at 17:55:50 +, Camaleón wrote: > >> Hum... what happens when you attach a USB device to the computer? >> Kernel detects it and DE mounts it based on user's settings. And what >> happens when you dettach the key? Kernel (or

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Brian
On Thu 09 Jun 2011 at 17:55:50 +, Camaleón wrote: > Hum... what happens when you attach a USB device to the computer? Kernel > detects it and DE mounts it based on user's settings. And what happens > when you dettach the key? Kernel (or udev, or both) remove/umount the > device. You are ta

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Camaleón
On Thu, 09 Jun 2011 17:48:00 +0100, Brian wrote: > On Wed 08 Jun 2011 at 19:02:43 +, Camaleón wrote: > >> I can't tell for sure, but many users are experincing the same problem, >> and not only from Debian but also from Ubuntu and Mint, so... casualty? >> :-) > > I'm always more comfortable

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Brian
On Wed 08 Jun 2011 at 19:02:43 +, Camaleón wrote: > I can't tell for sure, but many users are experincing the same problem, > and not only from Debian but also from Ubuntu and Mint, so... > casualty? :-) I'm always more comfortable with specifics. > Hum... I don't rebember nothing about dh

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-08 Thread Camaleón
On Wed, 08 Jun 2011 18:27:44 +0100, Brian wrote: > On Wed 08 Jun 2011 at 16:06:34 +, Camaleón wrote: > >> It seems it can fail, at least under some scenarios ;-) >> >> ifupdown: /etc/init.d/networking should support allow-hotplug >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550014 >

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-08 Thread Brian
On Wed 08 Jun 2011 at 16:06:34 +, Camaleón wrote: > It seems it can fail, at least under some scenarios ;-) > > ifupdown: /etc/init.d/networking should support allow-hotplug > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550014 This isn't a failure of allow-hotplug but a perceived defect

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-08 Thread Camaleón
On Wed, 08 Jun 2011 16:09:41 +0100, Brian wrote: > On Tue 07 Jun 2011 at 19:03:28 -0400, Mitchell Laks wrote: > >> http://www.debian.org/doc/manuals/reference/ch05.en.html#list-of- stanzas-in-eni >> >> refers to man 5 interfaces which doesn't seem to explain what software >> is doing the work af

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-08 Thread Brian
On Tue 07 Jun 2011 at 19:03:28 -0400, Mitchell Laks wrote: > http://www.debian.org/doc/manuals/reference/ch05.en.html#list-of-stanzas-in-eni > > refers to man 5 interfaces which doesn't seem to explain what software > is doing the work after the plugin of the ethernet cord... and only > if auto

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-08 Thread Camaleón
On Tue, 07 Jun 2011 19:03:28 -0400, Mitchell Laks wrote: > On 11:39 Tue 07 Jun , Camaleón wrote: >> On Tue, 07 Jun 2011 00:10:48 -0400, Mitchell Laks wrote: >> >> > The following is a problem I have on all laptops, I dont know how to >> > configure to connect when the ethernet cable is attach

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-07 Thread Mitchell Laks
On 11:39 Tue 07 Jun , Camaleón wrote: > On Tue, 07 Jun 2011 00:10:48 -0400, Mitchell Laks wrote: > > > The following is a problem I have on all laptops, I dont know how to > > configure to connect when the ethernet cable is attached. > > (...) > > Maybe you just need to tweak some options in

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-07 Thread Camaleón
On Tue, 07 Jun 2011 00:10:48 -0400, Mitchell Laks wrote: > The following is a problem I have on all laptops, I dont know how to > configure to connect when the ethernet cable is attached. (...) Maybe you just need to tweak some options in your "interfaces" file (e.g., "allow-hotplug"?): http:/

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-07 Thread Brian
On Tue 07 Jun 2011 at 00:10:48 -0400, Mitchell Laks wrote: > I have a stanza in the /etc/network/interfaces that configures the eth0. Seeing /etc/network/interfaces wouldn't do any harm. > This is on laptops I try that I have this problem. You're not running Network Manager on the laptop? --

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-06 Thread William Hopkins
On 06/07/11 at 12:10am, Mitchell Laks wrote: > Hi, > > The following is a problem I have on all laptops, I dont know how to > configure to connect when the ethernet cable is attached. > > I have an ibook laptop (it is a powerpc system running squeeze) and when i > plug in the ethernet cord I find

laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-06 Thread Mitchell Laks
Hi, The following is a problem I have on all laptops, I dont know how to configure to connect when the ethernet cable is attached. I have an ibook laptop (it is a powerpc system running squeeze) and when i plug in the ethernet cord I find that I have to log into a terminal or console and become