SliTaz SliTaz Forum

You are not logged in.

#1 2015-12-19 09:21:34

da_vid
Member
Registered: 2015-12-19
Posts: 5

No wlan0 selected by default at starting up

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

#2 2015-12-19 11:47:27

llev
Member
Registered: 2011-12-09
Posts: 568

Re: No wlan0 selected by default at starting up

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

#3 2015-12-23 08:31:10

da_vid
Member
Registered: 2015-12-19
Posts: 5

Re: No wlan0 selected by default at starting up

Thanks a lot for your support !!

I will try your tips and inform you about the results.

: )

Nice day !!

Offline

#4 2015-12-26 08:23:46

da_vid
Member
Registered: 2015-12-19
Posts: 5

Re: No wlan0 selected by default at starting up

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

#5 2015-12-26 19:58:43

llev
Member
Registered: 2011-12-09
Posts: 568

Re: No wlan0 selected by default at starting up

Please post here the contents of your network.conf file. (Remove your Wifi security key in the post.)

Offline

#6 2015-12-31 15:27:31

da_vid
Member
Registered: 2015-12-19
Posts: 5

Re: No wlan0 selected by default at starting up

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

#7 2015-12-31 21:48:53

llev
Member
Registered: 2011-12-09
Posts: 568

Re: No wlan0 selected by default at starting up

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

#8 2016-01-06 15:55:56

da_vid
Member
Registered: 2015-12-19
Posts: 5

Re: No wlan0 selected by default at starting up

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

#9 2016-01-06 20:40:08

llev
Member
Registered: 2011-12-09
Posts: 568

Re: No wlan0 selected by default at starting up

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]