[ Next-in-Thread ]  [ Next Message ] 

Question: route add unnecessary for dhclient? 

Forum: PCMCIA Network Adapter Issues
Date: 2000, Feb 24
From: Adam Goode <goodea@rpi.edu>

On line 60 of etc/network, there is the line

/sbin/route add default dev $DEVICE

which presumably adds the current device as the default gateway, when dhcp is enabled.

When I insert my 3com ethernet card, configured as a static interface in network.opts, it works properly as default route. When I plug in my wavelan card, it takes over as default route, which means it knocks out default route for the ethernet, and makes it go over the wavelan. Right now, I am not near a access point, so dhclient finds nothing on the wavelan and goes to sleep. But the card is configured as default route, which I don't want. When I comment out the route add line in etc/network, it works correctly. Is the line necessary? Doesn't dhclient automatically add the route as necessary? Seems like it, check out /etc/dhclient-script.

I am running Debian woody on x86.

Adam Goode

[ Next-in-Thread ]  [ Next Message ] 

Select this message: route add unnecessary for dhclient?

Messages Inline: [ 1 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

1. I'm not sure by David Hinds, 2000, Feb 24
(_ Feedback: dhclient for Linux by Adam Goode, 2000, Feb 24
(_ Package name confusion, and a fix by David Hinds, 2000, Feb 24
(_ More: Hmmm, almost, but not quite by Adam Goode, 2000, Feb 24
(_ Argh by David Hinds, 2000, Feb 24

Message Administration

This form allows you to delete, move, or copy one or more messages. You can move messages by copying and deleting the original. The action will be applied to the messages you select above and all replies to those selected messages.


If you want to copy or move messages, specify the HyperNews path of a destination forum or message that all messages will be copied or moved to. The destination must already exist, so maybe create it first.

Path of Destination (a Forum or Message): (e.g. "test")

Notify Subscribers at destination
NO


If you want to delete messages (the default), specify that here. If you want to move messages, you need to delete the original messages; placeholders will be left pointing to where they were moved.

Delete Messages
NO


Caution: After deleteing messages (the default), if you have not copied them (i.e. no destination above), then the selected messages are not be recoverable.

[ Members ]  [ Subscribe ]  [ No Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ] 
[ Edit This Forum ]