wifi not working afrer add second adapter

here is my
/etc/rc.conf
Code:
wlans_wpi0="wlan0"
ifconfig_wlan0="WPA  inet 192.168.1.96 netmask 255.255.255.0"
create_args_wlan0="country GR regdomain ETSI"

and if I uncomment my Ethernet adapter I have no internet
Code:
#ifconfig_bge0="inet 192.168.1.95 netmask 255.255.255.0"
How can I have both in my rc.conf and if cable plugged to get internet from my ethernet if no to connect to wifi?

Thank you.
 
Last edited by a moderator:
Back
Top