You are not logged in.
Pages: 1
Hello,
just wondering how to start Slitaz 4.0 with wlan0 selected by default instead of eth0.
It seems that I have configured everything ok in terms of the connection (network.conf), but there is a need to select manually wlan0 in the connection box (where there is a combo with the values wlan0 and lo) as by default appears eth0.
Thanks a lot in advance for your support!!
Note: wlan0 is the parameter typed in network.conf
INTERFACE = "wlan0"
Offline
Setting INTERFACE to wlan0 is not the good way. Let INTERFACE be eth0, set WIFI to yes, and WIFI_INTERFACE to wlan0.
If by "connection box" you mean the icon in the top panel of the desktop, this is independent of the real connection: it just shows the state of a device. Just right-click on it, select Settings, and type wlan0 in the "Device to monitor" box.
Offline
Thanks a lot for your support !!
I will try your tips and inform you about the results.
: )
Nice day !!
Offline
Hello,
unfortunately, ... it does not work.
After editing the network config file in order to change INTERFACE = eth0, the system does not boot automatically with wlan0.
So, the situation is the same : Each time you start up ... eth0 is the default set, and manually there is a need to go to the icon in order to select wlan0.
Any idea?
Thanks for your attention.
Offline
Please post here the contents of your network.conf file. (Remove your Wifi security key in the post.)
Offline
Hi !!
Here is the config file ... thanks in advance !!
NOTE: Just a remark ... we have tried with INTERFACE="eth0" and "wlan0" ... with no success.
Happy New Year !!
# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#
# Set default interface.
INTERFACE="wlan0"
# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="yes"
# Static IP address.
# Enable/disable static IP at boot time.
STATIC="no"
# Set IP address and netmask for a static IP.
IP="192.168.0.6"
NETMASK="255.255.255.0"
# Set route gateway for a static IP.
GATEWAY="192.168.0.1"
# Set DNS server for a static IP.
DNS_SERVER="192.168.0.1"
# Wifi connection.
# Enable/disable wireless connection at boot time.
WIFI="yes"
# Wifi interface (iwconfig) and ESSID.
WIFI_INTERFACE="wlan0"
WIFI_ESSID="bla_bla"
WIFI_MODE="managed"
WIFI_KEY="bla_bla"
WIFI_KEY_TYPE="WPA"
WPA_DRIVER="wext"
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
Offline
Hi,
Please put [c]INTERFACE="eth0"[/c], then reboot, open a terminal, type [c]ifconfig -a[/c] and post here the output you get.
Offline
Hello !!
Here it is the result of ifconfig -a after changing to INTERFACE="eth0"...
Note that Hwaddr have been hidden in purpose.
Thanks !!
dummy0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
BROADCAST NOARP 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
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 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
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)
Offline
OK. May you open a terminal, become root, and manually restart network to check for error messages?
[c]su
/etc/init.d/network.sh restart
ifconfig -a[/c]
Offline
Pages: 1
[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]