Connect to wired and wireless networks at same time, Ubuntu
Posted
by Gary Chambers
on Server Fault
See other posts from Server Fault
or by Gary Chambers
Published on 2010-05-27T08:02:29Z
Indexed on
2010/05/27
8:12 UTC
Read the original article
Hit count: 291
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?
© Server Fault or respective owner