K
K
Kir Shatrov2011-04-05 16:58:34
ubuntu
Kir Shatrov, 2011-04-05 16:58:34

Using wlan instead of eth0?

There is a home server on Ubuntu Server behind the router.
Now it receives the Internet by wire, issued by the IP router - 192.168.0.2.
I recently inserted a Wifi card into it, I want to move the server to the balcony so that it does not make noise in the room.
Question: in Ubuntu Server 10.04, how to transfer internet access from eth0 to a wifi interface (and connect to a wifi network)?
Contents of /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shadowalone, 2011-04-05
@shadowalone

Here is the manual for your question - ubuntuforums.org/showthread.php?t=263136

S
Sergey Lerg, 2011-04-05
@Lerg

/etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wireless-essid WiFiName
wireless-key wifisecretkey

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question