i'm newbie of linux, successfully made a SD card image according to olinuxino-debian.pdf
Device Drivers -> network device support -> wireless LAN -> realtek RTL8192CU/RTL8188CU USB wireless network adapter is enabled
and the .config modified:
CONFIG_TRL8192CU=m
CONFIG_RTLWIFI=m
CONFIG_RTLWIFI_DEBUG=y
CONFIG_RTL8192C_COMMON=m
after transfering the image to SD card,
apt-get instal l wpasupplicant
nano /etc/network/interfaces
auto wlan0
i f a c e wlan0 i n e t dhcp
wpa−d r i v e r wext
wpa−s s i d ......
wpa−psk "....."
but ifconfig -a can't find the WLAN0!
git brach -vv :
stage/sunxi-3.4 e37d760 ..........
It won't necessarily be wlan0, maybe wlan1 etc.
Are those spaces between letters or just a typo?
Quotei f a c e wlan0 i n e t dhcp
there's no spaces in the interfaces file, i want to know whether the WIFI driver is ok.
Quote from: Lurch on August 16, 2014, 12:18:18 PM
It won't necessarily be wlan0, maybe wlan1 etc.
Are those spaces between letters or just a typo? Quotei f a c e wlan0 i n e t dhcp
Please show the complete output from the command: ifconfig -a
Hi there,
1. Connect to A13 via USB to serial cable RX - green to TX, TX - red to RX and Blue to GND.
(P/N USB-SERIAL-CABLE-E-F)
Connect to UART 1 (near the VGA port)
2. connect to power 12V
3. Set PUTTY to connect at the COM port (e.g. COM33) at baud rate 112500,
4. edit the file /etc/network/interfaces
e.g.
uncomment #wlan13 in my case
auto eth1
iface eth1 inet dhcp
auto wlan13
iface wlan13 inet dhcp
wpa-ssid <your SSID>
wpa-psk <your passphrase>
5. lastly, invoke /etc/init.d/networking restart
root@debian:/etc/network# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "eth1"
Bind socket to interface: No such device
Failed to bring up eth1.
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan13/48:02:2a:c5:9c:26
Sending on LPF/wlan13/48:02:2a:c5:9c:26
Sending on Socket/fallback
DHCPDISCOVER on wlan13 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan13 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on wlan13 to 255.255.255.255 port 67
DHCPOFFER from 192.168.1.254
DHCPACK from 192.168.1.254
bound to 192.168.1.19 -- renewal in 7168 seconds.
done.
root@debian:/etc/network# ping www.google.com
^C
root@debian:/etc/network# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:176 (176.0 B) TX bytes:176 (176.0 B)
tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan13 Link encap:Ethernet HWaddr 48:02:2a:c5:9c:26
inet addr:192.168.1.19 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:343 overruns:0 frame:0
TX packets:10 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6653 (6.4 KiB) TX bytes:1448 (1.4 KiB)
6. lastly check:-
root@debian:/etc/network# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:989 (989.0 B) TX bytes:989 (989.0 B)
wlan13 Link encap:Ethernet HWaddr 48:02:2a:c5:9c:26
inet addr:192.168.1.19 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:229 errors:0 dropped:1653 overruns:0 frame:0
TX packets:41 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44590 (43.5 KiB) TX bytes:3682 (3.5 KiB)
you could now SSH over Wifi to do your necessary other work etc.
Hope I could help.
regards
Binaltach (from Singapore)