General TC > General TC Talk

Introduction, plus: my ACX wireless card is online!

<< < (3/3)

giac_fab:
I did a symlink in /net of the header you indicated


--- Code: ---1-20080210/common.c:4482:5: error: conflicting types for 'acx_net_get_tx_stats'
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/acx_func.h:633:5: note: previous declaration of 'acx_net_get_tx_stats' was here
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c: In function 'acx_net_get_tx_stats':
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4492:16: error: dereferencing pointer to incomplete type
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4492:16: error: request for member 'data' in something not a structure or union
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4492:7: warning: assignment from incompatible pointer type [enabled by default]
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4493:6: error: dereferencing pointer to incomplete type
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4493:6: error: request for member 'len' in something not a structure or union
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4493:2: warning: statement with no effect [-Wunused-value]
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4494:6: error: dereferencing pointer to incomplete type
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4494:6: error: request for member 'limit' in something not a structure or union
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4494:2: warning: statement with no effect [-Wunused-value]
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4495:6: error: dereferencing pointer to incomplete type
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4495:6: error: request for member 'count' in something not a structure or union
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4495:2: warning: statement with no effect [-Wunused-value]
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c: In function 'acx_key_write':
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4642:36: error: 'ALG_WEP' undeclared (first use in this function)
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4642:33: warning: comparison between pointer and integer [enabled by default]
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c: In function 'acx_net_set_key':
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4706:13: error: 'struct ieee80211_key_conf' has no member named 'alg'
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4712:9: error: 'ALG_WEP' undeclared (first use in this function)
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4718:7: error: 'ALG_TKIP' undeclared (first use in this function)
/usr/local/src/linux-headers-3.0.3-tinycore/drivers/net/wireless/acx/acx-mac80211-20080210/common.c:4721:7: error: 'ALG_CCMP' undeclared (first use in this function)


--- End code ---


A lot of errors ....  ( the ones above are only some )

MikeLockmoore:
Hi giac_fab.

I've been delaying upgrading to TC 4.0, partly due to being busy with many other things and partly because I have been dreading problems like this from the kernel upgrade to the 3.0 series.  If/when I get sufficient time to work on this, I'll post whatever I find or figure out.  However, if you or some other people figure it out first, I thank you in advance.  ;)

MikeLockmoore:
All: I have an ACX driver working (kinda mostly  :-\) in TC 4.3 with the Linux 3.0.3 kernel.  It is not the older acx.ko module, but a newer "acx-mac80211.ko" version that also requires the mac80211.ko module to be loaded first.  However, it has been very touchy about associating with my access point, and sometimes after connecting, it seems to have an internal error and drops the connection.   

If anyone wants to duplicate what I did... I loaded compiletc.tcx, linux-headers-3.0.3-tinycore.tcz, xz.tcz,and git.  I downloaded the Core-patche linux source archive and decompressed it with xz -d and then unpacked it with tar -xf.  I changed to the [work area]/linux-3.0.3/drivers/net/wireless directory.  I fetched the acx driver source with:

  git clone git://acx100.git.sourceforge.net/gitroot/acx100/acx-mac80211

I then changed to the ./acx-mac80211 subdirectory and issued
  make

To run the new driver, I have the following in my /opt/bootlocal.sh

--- Code: ---sudo modprobe mac80211
sudo insmod /home/tc/drivers/acx-mac80211.ko

--- End code ---

Like I said, getting it to associate can be very frustrating... sometimes it connects right up, sometimes it refuses many many times in a row.  I use dmesg to see the status and error messages after each step of my attempts to connect using iwconfig.  Not for the feint of heart.  :P

I don't know if it is possible to build the older acx.ko to run in the 3.0.x kernels.  Maybe, but that version stopped being maintained in the Linux 2.6.x era.

sm8ps:
Hello all,

I have pondered on starting a new thread but since I am basically just re-writing things from this thread, I thought this might be a nice pool of information that is easy to find by search-engines.

My last tries with TinyCore go back quite a while and were not highly successful. Now I am trying to get my Compaq/HP TC1000 up on the road again. After some hardware issues, I got the machine running and installed CorePlus 4.6.1 on a IDE-to-CompactFlash-to-SDCard-to-MicroSDCard (!) adapter combo.

Next step was to replace the 802.11b wireless card. All I had was a refurbished Mini PCI card from a now useless ISDN router which -- we are getting closer to the landing point of this all -- happened to be a TI-ACX111 model. Thanks to the information in this thread, I was able to get it up and running within a short amount of time. Since I was uncertain about how to add the firmware I thought I would add this information here.

My kernel version is 3.0.21. I did as suggested by MikeLockmoore in his previous post from February 2012. I got firmware 1.2.1.34 via a link on the Sourceforge site of the acx100 project (http://sourceforge.net/apps/mediawiki/acx100/index.php?title=Firmware). After un-packing the archive, I extracted the file acx111_1.2.1.34/tiacx111c16 and put it into the newly created folder /lib/firmware.

After that the insmod command worked (if not then check dmesg) and I could easily connect to my WLAN. In fact, I am connected right now as I am posting.

Cheers!
St. Mueller

MikeLockmoore:
sm8ps:  I'm glad it worked for you, especially for Tiny Core version 4.6. 

My ACX-based WiFi system is still at version 4.3 of Tiny Core.  I'm planning to retire that machine soon, and since it is working well enough and the change in the Linux Kernel version for Tiny Core 4.4 and later would probably require a rebuild of the ACX driver module, I'm not likely to upgrade at this point.  I'll pass the ACX-sage baton to you, if you care to accept.  ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version