When I attempt to set wlan0 as the gateway, I get the following error:
Code:
SIOCADDRT: No such process
After some Googling, I saw that this usually means that the interface isn't recognized, so I checked out my /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
I see that there's no mention of eth0 or wlan0...odd, as I know the system sees them
ifconfig -a:
Code:
ryan@tesla:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr b4:b5:2f:d9:e0:1d
inet addr:10.0.0.202 Bcast:10.0.255.255 Mask:255.255.0.0
inet6 addr: fe80::b6b5:2fff:fed9:e01d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16684 errors:0 dropped:0 overruns:0 frame:0
TX packets:17989 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7386783 (7.3 MB) TX bytes:2479656 (2.4 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:988 errors:0 dropped:0 overruns:0 frame:0
TX packets:988 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:139942 (139.9 KB) TX bytes:139942 (139.9 KB)
wlan0 Link encap:Ethernet HWaddr 68:94:23:ae:1f:56
inet addr:192.168.2.12 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6a94:23ff:feae:1f56/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3906 errors:0 dropped:0 overruns:0 frame:0
TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1175190 (1.1 MB) TX bytes:28781 (28.7 KB)
sudo lshw -C network:
Code:
ryan@tesla:~$ sudo lshw -C network
*-network
description: Wireless interface
product: Ralink corp.
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 00
serial: 68:94:23:ae:1f:56
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=3.5.0-45-generic firmware=0.34 ip=192.168.2.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:f7c00000-f7c0ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 07
serial: b4:b5:2f:d9:e0:1d
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=10.0.0.202 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:48 ioport:d000(size=256) memory:f7b04000-f7b04fff memory:f7b00000-f7b03fff
All this brings me to my next question: Should adding the following to my /etc/network/interfaces correct the error I'm getting?
Code:
# Set wlan0 as primary interface
iface wlan0 inet dhcp
Thanks again for any help you all can provide!
Bookmarks