Connect to wired and wireless networks at same time, Ubuntu
- by Gary Chambers
Currently, I have a media PC running Ubuntu 10.04 that I am trying to connect via a wired network cable directly to a NAS box, and wirelessly to the router.
This works no problem after I run sudo /etc/init.d/networking restart but I can't get both interfaces to come up on system startup.
My /etc/network/interfaces file reads as follows:
auto eth0
iface eth0 inet static
address 10.0.1.2
netmask 255.255.254.0
broadcast 10.0.1.255
network 10.0.1.0
auto wlan2
iface wlan2 inet dhcp
As I say, I know this works, because I can get it to work by restarting the network interfaces, but I can't bring them both up on system startup. Does anyone know why this might be?