You are not logged in.
Pages: 1
I got my hands on an old computer into which I installed Slitaz 5 cooking a year ago.
At installation I had a lot of trouble configuring the wifi (not that easy to install a package when one's computer doesn't connect to the network!) but I managed to succeed, with the help of a friend more linux-savy than me. I remember that one thing that he couldn't explain the reason why but that he had to do in order to get the wifi working was to rename the connexion to eth0.
Now as I started the very computer (which has been in storage for one year) the wifi doesn't work, I see wifi networks but cannot connect (failed to connect to non-global ctrl_ifname; (null) error; no such file or directory).
I checked network.conf and found "WIFI_INTERFACE: eth1".
I corrected it manually to eth0 but after network.sh stop (and then start) it goes back to eth1.
I changed the values in /etc/udev/rules.d/70-persistent-net.rules too but to no avail.
Am I wrong to want to change to eth0?
If not, how to do it?
Offline
Identify the wifi adapter alias, then set it as WIFI_INTERFACE variable in /etc/network.conf
There is shell code in network.sh that will change WIFI_INTERFACE if it's not a wifi adapter.
If you see scan results WIFI_INTERFACE variable is correct.
This is how I connect to my WPA2 access point with slitaz-rolling.iso boot into core flavor.
Open terminal, as root user.
root@slitaz:/home/tux# [c]iwconfig[/c]
lo no wireless extensions.
tunl0 no wireless extensions.
wlan1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
dummy0 no wireless extensions.
eth0 no wireless extensions.
The output identifys my wifi adapter alias as wlan1.
To scan for access points:
[c]iwlist wlan1 scan[/c]
Open /etc/network.conf with text editor.
Edit 4 variables for connection to a WPA2 wifi access point.
[c]WIFI="yes"[/c]
[c]WIFI_INTERFACE="wlan1"[/c]
[c]WIFI_ESSID="<ssid of wifi access point>"[/c]
[c]WIFI_KEY="<pre-shared key for wifi access point>"[/c]
Restart network:
[c]root@slitaz:/home/tux# /etc/init.d/network.sh restart[/c]
[c]Loading network settings from /etc/network.conf[/c]
[c]Stopping all interfaces[/c]
[c]Killing all daemons[/c]
[c]Shutting down Wi-Fi card[/c]
[c]Configuring Wi-Fi interface wlan1... [ Done ][/c]
[c]Append existing /etc/wpa/wpa.conf[/c]
[c]Starting wpa_supplicant for any key type...[/c]
[c]Successfully initialized wpa_supplicant[/c]
[c]Starting udhcpc client on: wlan1...[/c]
[c]Selected interface 'wlan1'[/c]
[c]Connecting to arris... [ Done ][/c]
Offline
I did that on another computer with Slitaz on the same wifi access point, and it failed to connect (even though this computer usually connects to the Wifi).
The wifi key ends with an ampersand and after I enter it, in network.conf WIFI_KEY gives me the key without the & at the end, may that be the cause of the problem?
Offline
I added an & to the AES pre-shared key on my wireless access point.
Updated /etc/network.conf WPA_KEY adding & to the end of existing key.
Restarted network.sh,associated with no problem.
Variable psk= in /etc/wpa/wpa.conf should match /etc/network.conf WPA_KEY=
Offline
I corrected it manually to eth0 but after network.sh stop (and then start) it goes back to eth1.
I changed the values in /etc/udev/rules.d/70-persistent-net.rules too but to no avail.
Am I wrong to want to change to eth0?
If not, how to do it?
If your wireless card are an IPW2200 it normal this recognized as eth1.
If you want to rename it to wlan try on terminal as root this step
touch /etc/iftab
echo "wlan* driver ipw2200" > /etc/iftab
ifrename
test if the name of datacard is changed on wlan0
iwconfig
and config your interface to connect your network
add ifrename command at boot to auto rename after reboot (/etc/init.d/local.sh)
sorry for my very ugly english...
Offline
Pages: 1
[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]