rslaqui
04-25-2011, 10:20 PM
Hi I'm a newbie tring to make a Thinclient OS out of Knoppix.
My goal is to have a ThinStation like solution but having much more contron on what happens on the client and avove all a single ThinClientOs for a withe range of x86 obsolete PC-clients.
Knoppix has by far the best in terms of hardware support and I have managed to boot to a strip X session with only the thin client app. (not desktop manager) Sound and all hardware detection still seams to work fine.
I have a HD install a some scripts to strip out all things I've managed to determine that are not needed to make things work.
Now I'm trying to make clients to auto connect to a specific WiFi with Wep encryption. So I' uninstalled network-manager and edited
/etc/network/interfaces
##
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wireless-essid Network name that has spaces
wireless-key wepkey
##
ETH0 works but not wlan0
*******
Then I saw that the sequence of commands
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "MAESTRIA IT" key 12345ABCDE
dhclient wlan0
did the trick once I've booted so... (just to try)
I placed a Script at /etc/rc5.d/S27nethack
##
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "nteName WithSpaces" key wepkey
dhclient wlan0
##
But it not just doesn't work at boot it does not work when ran by hand at shell.
TESTING and TESTING again I found that the line:
iwconfig wlan0 essid "nteName WithSpaces" key wepkey
Works when ran by typing it at the Command Line but not when with in a script.
If that line runs in a script the following dhclient wlan0 can't get a IP address.
Any clues on what is going on and how to make an automatic connection to a WEP WiFi at boot up?
Thanks.
My goal is to have a ThinStation like solution but having much more contron on what happens on the client and avove all a single ThinClientOs for a withe range of x86 obsolete PC-clients.
Knoppix has by far the best in terms of hardware support and I have managed to boot to a strip X session with only the thin client app. (not desktop manager) Sound and all hardware detection still seams to work fine.
I have a HD install a some scripts to strip out all things I've managed to determine that are not needed to make things work.
Now I'm trying to make clients to auto connect to a specific WiFi with Wep encryption. So I' uninstalled network-manager and edited
/etc/network/interfaces
##
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wireless-essid Network name that has spaces
wireless-key wepkey
##
ETH0 works but not wlan0
*******
Then I saw that the sequence of commands
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "MAESTRIA IT" key 12345ABCDE
dhclient wlan0
did the trick once I've booted so... (just to try)
I placed a Script at /etc/rc5.d/S27nethack
##
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "nteName WithSpaces" key wepkey
dhclient wlan0
##
But it not just doesn't work at boot it does not work when ran by hand at shell.
TESTING and TESTING again I found that the line:
iwconfig wlan0 essid "nteName WithSpaces" key wepkey
Works when ran by typing it at the Command Line but not when with in a script.
If that line runs in a script the following dhclient wlan0 can't get a IP address.
Any clues on what is going on and how to make an automatic connection to a WEP WiFi at boot up?
Thanks.