I wanted to put it on the wiki, but couldn't be bothered to request a login.
=== B3 Wifi client ===
Configure the B3 as a wifi client to make it connect to a wireless router or an access point.
==== Prerequisites ====
You need to have a user account with shell access for the B3.
You also need to be able to log into the root account, either by using "su -" with the root-password, or by using "sudo su -" (which then needs to be set up in advance).
==== Disable B3 Access Point ====
Log in to the admin website on http://b3.local using the admin logon.
Click in to the Settings, Profile page and switch to the "Server only" profile.
Then enter the Settings, Network, Wireless page and turn off the wireless access point function of the B3.
==== Log on to the root account ====
Using an ssh application, eg. putty, log on to the b3 via ssh and log on to the root account.
Code: Select all
[user@MacBook: ~]$ ssh 192.168.1.11
Linux b3 2.6.35.4 #5 Tue Sep 7 16:06:15 CEST 2010 armv5tel
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Mar 24 22:38:42 2011 from macbook.local
user@b3:~$ sudo su -
[sudo] password for user:
root@b3:~#
==== Install tools ====
Install wireless-tools and wpasupplicant packages like this:
Code: Select all
aptitude update
aptitude install wireless-tools
aptitude install wpasupplicant
Make the file /etc/network/interfaces readable only by root.
Code: Select all
chmod 600 /etc/network/interfaces
Code: Select all
auto wlan0
iface wlan0 inet dhcp
wpa-ssid MyWifiNetwork
wpa-psk MySecretWifiKey
Punch a big hole in the firewall for the wlan0 interface and restart the firewall to save the configuration.
Code: Select all
iptables -A INPUT -i wlan0 -j ACCEPT
/etc/init.d/bubba-firewall restart
Code: Select all
ifup wlan0
Now enjoy your wirelessly connected B3.