Thanks KnoppMyth devs/contributors! You're amazing!
I'm trying to get a new Linksys wireless network controller to connect on its own at bootup. It's installed, configured(?) and active, but not connecting. What step am I missing? Are eth0 and wlan0 mutually exclusive?
Efforts So Far
Fresh install using R5.5. I followed the directions
here to get it set up using /etc/network/interfaces and the CD that came with the WMP54G, but when it boots up the wireless doesn't connect to the router (wired does). Wireless
does work when I use
RutilT though!
Diagnostics
justin@mythtv:~$ lspci -s 02:09.0
02:09.0 Network controller: RaLink RT2561/RT61 802.11g PCI
justin@mythtv:~$ ndiswrapper -l
rt61 : driver installed
device (1814:0301) present (alternate driver: rt61)
justin@mythtv:~$ ifconfig
eth0
Link encap:Ethernet HWaddr 00:01:02:2D:4C:A6
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::201:2ff:fe2d:4ca6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2644 errors:0 dropped:0 overruns:1 frame:0
TX packets:1151 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:578340 (564.7 KiB) TX bytes:139789 (136.5 KiB)
Interrupt:10 Base address:0x6c00
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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1368 (1.3 KiB) TX bytes:1368 (1.3 KiB)
wlan0
Link encap:Ethernet HWaddr 00:21:29:E9:5D:32
inet addr:192.168.0.11 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:7316 errors:0 dropped:0 overruns:0 frame:0
TX packets:10201 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1133360 (1.0 MiB) TX bytes:0 (0.0 b)
Interrupt:11
justin@mythtv:~$ iwconfig
eth0
no wireless extensions.
lo
no wireless extensions.
wlan0
RT61 Wireless ESSID:"..." Nickname:""
Mode:Managed Frequency:2.437 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=0/100 Signal level:-121 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
justin@mythtv:~$ more /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
auto wlan0
iface wlan0 inet dhcp
#iface wlan0 inet static
# address 192.168.0.102
# netmask 255.255.255.0
# network 192.168.0.0
# broadcast 192.168.0.255
# gateway 192.168.0.1
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 mode managed
pre-up iwconfig wlan0 essid ...
pre-up iwpriv wlan0 set Channel=6
pre-up iwpriv wlan0 set AuthMode=WPA2PSK
pre-up iwpriv wlan0 set WPAPSK='...'