hi! i have a notebook connected to a wlan router, which is in turn connected to my gateway to internet
notebook <-> wlan <-> gw <-> ... internet ... when i (192.168.1.4) am connected via cable (dc0) to the wlan router(192.168.1.1) everything works fine. but then, when i want to switch to wlan (ath0), i shut down the dc0 interface (ifconfig dc0 down), enable the wlan card, (ifconfig ath0 inet 192.168.1.3 ssid daemon & ifconfig ath0 up). then i flush my routing table (route flush) and add default gateway (route add default 192.168.1.1). now i can ping my wlan router (192.168.1.1) but i do not get outside anymore (192.168.0.1) for example, because, as route get 192.168.0.1 reveals, the system still uses dc0 for getting outside. how can i force the system to do not use the deactivated device anymore? -josef -- Josef El-Rayes (__) Email: [EMAIL PROTECTED] \\\'',) Web: http://daemon.li/ \/ \ ^ FreeBSD: [EMAIL PROTECTED] .\._/_)
pgp00000.pgp
Description: PGP signature