Quoting Jerome BENOIT (jgmbenoit@wanadoo.fr): > Hello List, > > my laptop have both a wired and a wireless connections: > to manage them I plan to use ifplugd beside ifupdown + dhcp stuff. > > Of course the connection may be random, > so without proper configuration, the route table may be random, > and certainly unproper: in particular the default route > may disapear if the eth0 is unpluged whereas it was pluged before > the wireless connection. Another configuration is when the wireles > connection was pluged first and the wired second, then the default > route is hold by the wireless card which is far slower than the > wired card. > > Is there an easy way to avoid these unproper configurations ? > Must we play with dhcp ? or the iptable ? > > Thanks in advance, > Jerome > > You could use the up (pre-updown post-down) commands in your interfaces file to play about with the routing table when your interfaces come up and down. hth, matt -- Matt Foster mattfoster@clara.co.uk ee1mpf@bath.ac.uk http://www.mattfoster.clara.co.uk icq: 106411042
Attachment:
signature.asc
Description: Digital signature