SliTaz SliTaz Forum

You are not logged in.

#1 2015-05-12 13:10:18

TraceE
Member
Registered: 2014-02-02
Posts: 112

Quick Wifi interface question ? ... :)

Hi all ... I have two identical Acer 7520 Laptops

I use a custom live Slitaz 4.0 disc made on one of them with the Wifi configured as wlan0 ... when I put that disc in the other one it changes the default interface to wlan2 (this works ok) but the network status monitor has to be changed manually to wlan2 to show connection status ... sad

Can I use a single custom live disc for both machines without having to manually change the network status monitor setting.

I'm guessing this is happening because the mac address for the integrated wifi adapters are different in both machines ... is there a way to over come this or do I have to make a different disc for each machine even though they are identical ?

Offline

#2 2015-05-12 13:24:21

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Quick Wifi interface question ? ... :)

Hi

Append your /etc/init.d/local.sh with :

rm -f /etc/udev/rules.d/70-persistent-net.rules

Offline

#3 2015-05-12 17:23:30

TraceE
Member
Registered: 2014-02-02
Posts: 112

Re: Quick Wifi interface question ? ... :)

Hi Bellard ... I have just tried that and it didn't work ... network status monitor is still showing the adapter wlan0 from machine one on machine two after booting.

e.g.

Custom live cd was made on machine one with wifi being wlan0

When I put this cd into machine two everything works and wifi changes to wlan2 (I think because of the different mac address of the adapter) .... but the network status monitor on lxpanel is still wlan0 ... so shows disconnected.

In the 70-persistent-net.rules it has both wlan0 and wlan2 listed with their different mac addresses

It's just a formality but it gets annoying having to change the monitor to wlan2 on machine two manually. I'm just trying to get the network monitor to show the current adapter in use and so I can swap the custom live cd between both identical machines without issue ...

Offline

#4 2015-05-12 22:25:50

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Quick Wifi interface question ? ... :)

Extract the iso:

[c]tazlito extract-distro <path.to.custom.iso>[/c]

Modify the root filesystem in /home/slitaz/cooking/distro/rootfs

[c]rm /home/slitaz/cooking/distro/rootfs/etc/udev/rules.d/70-persistent-net.rules[/c]

Rebuild modified iso:

[c]tazlito gen-initiso[/c]

Rebuilt iso:

/home/slitaz/cooking/distro/slitaz-cooking.iso

Burn to cdrw to test.

Offline

#5 2015-05-13 01:07:38

TraceE
Member
Registered: 2014-02-02
Posts: 112

Re: Quick Wifi interface question ? ... :)

Ok, that's something I've not done before ... I'll try that as soon as I get some time and let you know how it goes ... smile

Offline

#6 2015-06-14 19:34:57

TraceE
Member
Registered: 2014-02-02
Posts: 112

Re: Quick Wifi interface question ? ... :)

Ok finally got around to trying that .... it seems that here the "cooking" directory is called "4.0" after using [c]tazlito extract-distro[/c] which worked fine .... I did the modification .... but then

[c]tazlito gen-initiso[/c] only produced an iso file 5mb in size .... any idea what I did wrong ?

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 9 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]