no time yet to get another nwsp2 connected but I tried it on the 5big2, it works ok (a boot with no LAN cable and only the wlan adapter in the usb port
I used these commands at boot
- Code: Select all
modprobe 8712u
ifconfig wlan0 up
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
udhcpc -b -i wlan0 -q -s /etc/simple.script
(so I did not even bring down eth0)
It gets an ip by the dhcp server and it appears in the network, also samba server etc are accessible
- Code: Select all
root@fvdwsl-5big2:/ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:D0:xxxxxxxxxxx
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:11
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:65536 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3276 (3.1 KiB) TX bytes:3276 (3.1 KiB)
wlan0 Link encap:Ethernet HWaddr 64:D1:xxxxxxxxxxxxxx
inet addr:192.168.1.173 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::66d1:a3ff:fe18:e5cd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:442 errors:0 dropped:0 overruns:0 frame:0
TX packets:577 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@fvdwsl-5big2:/ #
notice no traffic on eth0
nmap quick scan
- Code: Select all
Starting Nmap 6.25 ( http://nmap.org ) at 2014-01-04 13:18 West-Europa (standaardtijd)
Nmap scan report for 192.168.1.173
Host is up (0.034s latency).
Not shown: 93 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
1723/tcp open pptp
MAC Address: 64:D1:xxxxxxxxxx (Sitecom Europe BV)
Nmap done: 1 IP address (1 host up) scanned in 17.13 seconds