Das sudo kannst du dort weglassen. Das sollte man eh mit Vorsicht genießen. Theoretisch kannst du die Einstellungen unter /etc/network/interfaces hinterlegen.
EDIT :
In deinem Link steht doch alles drin.
Configuring a ralink network interface card for a WEP-PSK secured network
If at all possible, stop using WEP, and change your access point settings to use WPA/WPA-2 instead. From a security standpoint, WEP is completely broken, meaning that any 12 year old can crack your network password with easily available tools.
If you still want to connect to a WEP secured network (read: unsecured network):
install the ralink firmware:
1) sudo apt-get install firmware-ralink
edit /etc/network/interfaces:
2) sudo nano /etc/network/interfaces
3) add the following below the configuration for eth0:
iface wlan0 inet dhcpwireless-essid <your network ssid here>wireless-mode managedwireless-key s:<your network's "secret" password, known to the whole neighborhood>4) save the file.
Restrict access to /etc/interfaces so only root can read it (since it contains your network password, which the entire neighborhood already knows, but still...):
5) sudo chmod 0600 /etc/network/interfaces
The network interface will connect every time the RPi boots up. To connect it now manually, run:
6) sudo ifup wlan0
Lesezeichen