SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-15 13:48:27

Guest
Guest

Slitaz 4 Core & rtc & compat-wireless, install permanent change?

Hi All smile

I just got amazed by the beauty of the new Slitaz release 4! Congratulations! smile

So I want to make it fully compliant with latest version of aircrack-ng.. wink from the Slitaz side its needed the "Advanced RTC" module (not genrtc) +plus+ the latest patched compat-wireless.

So, my questions are two:

1) Slitaz 4 Core is shipped only with genrtc, and the Advanced RTC is not in the downloadable package list.. how can I install "Advanced RTC" module on Slitaz 4 Core?

2) I managed to install the latest patched compat-wireless (compat-wireless-3.5-rc2-1), but when I reboot, the patched modules get lost.. from google, I figured out how to make these permanent: backup elsewhere the new modules installed by compat-wireless "make install", and after reboot just overwrite with these the kernel ones.. in details "make install" installs the new following module files:

/lib/modules/2.6.37-slitaz/updates/net/wireless/cfg80211.ko.gz

/lib/modules/2.6.37-slitaz/updates/net/mac80211/mac80211.ko.gz

/lib/modules/2.6.37-slitaz/updates/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko.gz

/lib/modules/2.6.37-slitaz/updates/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko.gz

/lib/modules/2.6.37-slitaz/updates/drivers/misc/eeprom/eeprom_93cx6.ko.gz

/lib/modules/2.6.37-slitaz/updates/compat/sch_fq_codel.ko

/lib/modules/2.6.37-slitaz/updates/compat/sch_codel.ko

/lib/modules/2.6.37-slitaz/updates/compat/compat.ko

which I backup and after reboot copy into /lib/modules/2.6.37-slitaz/kernel/<net-wireless-lalala>

Unfortunately it doesnt work.. after that, modprobe returns this error:

"modprobe: can't load module cfg80211 (/lib/modules/2.6.37-slitaz/kernel/net/wireless/cfg80211.ko.gz): unknown symbol in module, or unknown parameter"

What Im missing? maybe more other files to backup/restore?

Thanks for your attention smile

#2 2012-06-16 00:58:40

Guest
Guest

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

.. smile ok, a deeper google search allowed me to solve the problem #2: also modules.dep must be copied.

But my problem #1, RTC, is still open:

root@slitaz:~# gzip -cd /proc/config.gz | grep RTC

CONFIG_RTC=m

CONFIG_GEN_RTC=m

# CONFIG_GEN_RTC_X is not set

CONFIG_SND_RTCTIMER=m

CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y

# CONFIG_RTC_CLASS is not set

looks CONFIG_RTC=m , but /proc/sys/dev/rtc/ does not exists..

also, I can not execute "echo 1024 > /proc/sys/dev/rtc/max-user-freq" because /proc/sys/dev is read-only.. how can I write that file max-user-freq?

(fyi,I receive error ioctl(RTC_IRQP_SET) from aireplay-ng)

can anybody help? smile

Thanks

#3 2012-06-16 01:09:49

Guest
Guest

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

..(fyi,in aireplay-ng: /dev/rtc exists and can be open ro, but ioctl(dev.fd_rtc,RTC_IRQP_SET,8192)<0 ) ..

#4 2012-06-16 23:55:14

Guest
Guest

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

..nobody? sad

#5 2012-06-18 17:00:02

travalon
Member
Registered: 2012-06-18
Posts: 4

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

http://www.aircrack-ng.org/downloads.html

Halfway down the page

Offline

#6 2012-06-18 17:20:09

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

tazpkg -gi aircrack-ng

Offline

#7 2012-06-19 05:09:20

Guest
Guest

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

I already solved myself, thanks anyway.. wink

the solution was extremely simple, before run aircrack, just "modprobe rtc".. big_smile

@Trixar_za, fyi, the aircrack package provided by Slitaz is dramatically outdated, its needed to recompile it from the last source, I can help you in this if you need wink

@travalon, what do you mean? do you mean the slitaz cooking from aircrack site? its even more outdated, stuck on version 1.0 .. unusable wink

#8 2012-06-19 05:35:16

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

nikitan: From what I understand, another aircrack-ng version will be made using the latest SliTaz 4.0 or cooking iso, which will mean the package will also be updated soon.

Offline

#9 2012-06-19 08:19:48

Guest
Guest

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

Hi Trixar_za smile sorry, maybe I didnt explain properly.. even if the aircrack-ng main page proposes outdated code, the project is indeed very alive and kicking, the bleeding-edge new code is always available from their public repository (for who read the wiki.. smile In my personal opinion, no new "official" Slitaz-Aircrack will be released, as they dont seem very interested (last Slitaz-aircrack releases from 2009.. wink Im doing just a "private" cooking for myself, I successfully compiled the last binaries for Slitaz 4, tested working, so I was just wondering if someone were interested-thats all smile

#10 2012-06-19 09:33:27

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

@nikitan,

Sounds good.

I am not an expert but I think you could make a "pizza" http://pizza.slitaz.org/.

What about explaining your project on the mailing list? I guess help is always well appreciated and welcome.

Cheers.

Offline

#11 2012-06-19 12:26:16

Guest
Guest

Re: Slitaz 4 Core & rtc & compat-wireless, install permanent change?

smile Sure totoetsasoeur, my project is as simple as its predecessor: an ultralight portable wireless audit/troubleshoot tool smile it was simple, the most was already done because of the new modular Slitaz structure wink I just compiled the aircrack binaries, added few more packages (Wireshark, Macchanger, Mdk3, patched drivers for my rtl8187..) and finish smile the power of Slitaz 4 Core + Aircrack-ng in 45 MBytes.. wink

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

Board footer

Powered by FluxBB
Modified by Visman

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