There is a cleaner way to do this that should redo your routes too:
Add:
/etc/init.d/networking stop
/etc/init.d/networking start
to /etc/suspend-scripts and /etc/resume-scripts respectively
On Tuesday 08 January 2002 10:31 am, Ankit Mohan wrote:
> * Mike Schiraldi <raldi@research.netsol.com> [21:56 08/01/02]:
> > > What I *do* still have issues with is using the keyboard after a
> > > suspension; but then, *none* of the services that use the usb/serial
> > > port (including usb ethernet) seem to survive suspension.
> >
> > Glad to see i'm not the only one whose iPAQ loses to ability to use USB
> > ethernet when it wakes up from suspension. Has anyone been able to make
> > this work without rebooting?
>
> Its not too difficult to get over this problem. All that needs to be
> done is the following before suspend :
>
> ifconfig usbf down
> rmmod usb-eth sa1100_usb
>
>
> and then the following after resuming :
>
> modprobe usb-eth
> ifconfig usbf up 1.1.1.1 netmask 255.255.255.0
>
>
>
> You can add these lines in the /etc/suspend-scripts, and
> /etc/resume-scripts directories, i f you dont like entering them
> manually each time!
>
> ankit <beeblebrox>
>
> > --
> > Mike Schiraldi
> > VeriSign Applied Research
>
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Wed Jan 9 21:44:33 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:21 EDT