* ifdown not happening
@ 2007-06-07 0:58 Grahame Jordan
2007-06-07 1:37 ` Grahame Jordan
0 siblings, 1 reply; 2+ messages in thread
From: Grahame Jordan @ 2007-06-07 0:58 UTC (permalink / raw)
To: linux-hotplug
Hi,
I am trying to understand how the udev system works and track down this
issue on Debian/ubuntu flavors.
In this case he interfaces are setup as static to remove any blame from
dhclient.
This bug:
https://bugs.beta.launchpad.net/ubuntu/+source/dhcp3/+bug/38140 is
probably a symptom of this issue.
With a hotplug network interface such as usb0, it seems that upon
removal "ifdown usb0" does not happen.
The interface seems to go down OK but when it is plugged back in the
interface does not come up correctly.
"ifconfig" shows lo and eth0 but not usb0
"ifconfig usb0" shows usb0 with no IP Address
If i do an ifdown usb0; ifup usb0; then everything works.
If I pull out the USB cable and then do an "ifdown usb0" I get an error
but when I plug bak in the USB cable it comes up OK. So it seeems
something is still holding on to usb0 after removal.
I need help to debug this issue. Any help appreciated.
Thanks
Grahame Jordan
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ifdown not happening
2007-06-07 0:58 ifdown not happening Grahame Jordan
@ 2007-06-07 1:37 ` Grahame Jordan
0 siblings, 0 replies; 2+ messages in thread
From: Grahame Jordan @ 2007-06-07 1:37 UTC (permalink / raw)
To: linux-hotplug
Hi,
strace on "ifdown usb0" shows that there is still an entry in
/var/run/network/ifstate. If I manually remove the usb0=usb0 entry it
seems to work.
Cheers
Grahame
Grahame Jordan wrote:
> Hi,
>
> I am trying to understand how the udev system works and track down this
> issue on Debian/ubuntu flavors.
> In this case he interfaces are setup as static to remove any blame from
> dhclient.
> This bug:
> https://bugs.beta.launchpad.net/ubuntu/+source/dhcp3/+bug/38140 is
> probably a symptom of this issue.
>
> With a hotplug network interface such as usb0, it seems that upon
> removal "ifdown usb0" does not happen.
> The interface seems to go down OK but when it is plugged back in the
> interface does not come up correctly.
> "ifconfig" shows lo and eth0 but not usb0
> "ifconfig usb0" shows usb0 with no IP Address
> If i do an ifdown usb0; ifup usb0; then everything works.
>
> If I pull out the USB cable and then do an "ifdown usb0" I get an error
> but when I plug bak in the USB cable it comes up OK. So it seeems
> something is still holding on to usb0 after removal.
>
> I need help to debug this issue. Any help appreciated.
>
> Thanks
>
>
> Grahame Jordan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-07 1:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 0:58 ifdown not happening Grahame Jordan
2007-06-07 1:37 ` Grahame Jordan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).