switching from one network interface to another without reboot

2009-08-20 Thread Michal
Hello, How can I switch from one network interface to another without rebooting my system (7.2R)? Problem description: I've got a laptop with two network interfaces (wired em0 and wireless ath0). Every now and then I have to set up a DSL wireless box which comes with default settings so

Re: switching from one network interface to another without reboot

2009-08-20 Thread Adam Vande More
On Thu, Aug 20, 2009 at 6:25 AM, Michal m...@infosec.pl wrote: Hello, How can I switch from one network interface to another without rebooting my system (7.2R)? Problem description: I've got a laptop with two network interfaces (wired em0 and wireless ath0). Every now and then I have to

Re: switching from one network interface to another without reboot

2009-08-20 Thread Michal
Adam Vande More wrote: /etc/rc.d/netif stop em0 /etc/rc.d/netif start ath0 Works like a charm, thank you so much. Michal -- Attacks always get better; they never get worse. -NSA ___ freebsd-questions@freebsd.org mailing list

Re: switching from one network interface to another without reboot

2009-08-20 Thread Mel Flynn
On Thursday 20 August 2009 03:25:17 Michal wrote: Problem description: I've got a laptop with two network interfaces (wired em0 and wireless ath0). Every now and then I have to set up a DSL wireless box which comes with default settings so that I have to start with connecting my laptop via

Re: switching from one network interface to another without reboot

2009-08-20 Thread Michal
Mel Flynn wrote: If these are on the same network (like most wireless routers), it can pay off to use lagg(4) and then simply unplug the cable. Plug it back in and it will use the cable again. You would need: In my case usually it's some testing environment so I needed more of a quick

Re: switching from one network interface to another without reboot

2009-08-20 Thread b. f.
Michal wrote: Mel Flynn wrote: If these are on the same network (like most wireless routers), it can pay off to use lagg(4) and then simply unplug the cable. Plug it back in and it will use the cable again. You would need: In my case usually it's some testing environment so I needed more of a