OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: sbarman on March 01, 2004, 09:10:39 am
-
Hi,
Does somebody have the sl5600 kernel source and the kernel configuration. I need to enable the wireless extension which seems to have been disabled in the 1.32 ROM that is available in the Sharp Website. I wanted to go back to the previous ROM (1.21) but it is nowhere to be found. Also is \"poodle\" the kernel configuration for sl5600.
Thanks,
Sibon.
-
Hi,
Does somebody have the sl5600 kernel source and the kernel configuration. I need to enable the wireless extension which seems to have been disabled in the 1.32 ROM that is available in the Sharp Website. I wanted to go back to the previous ROM (1.21) but it is nowhere to be found. Also is \"poodle\" the kernel configuration for sl5600.
After a number of different versions, I\'m back to the Sharp ROM and it has the wireless extentions. What makes you think that you do not have them?
Yes, the SL-5600 is a poodle (yeck!)
-
The 5600 kernel source is here: https://www.oesf.org/commu...rom1_00.tar.bz2 (https://www.oesf.org/community/66.180.235.230/download.php/349/linux-sl5600-20030509-rom1_00.tar.bz2)
AFAIK there is only one version of the kernel source, certainly only one that has been released. Yes, poodle is the 5600, so you load the configuration arch/arm/def-configs/poodle . Make sure you only use \'make menuconfig\', as \'make xconfig\' has some bugs that do not configure the kernel properly.
I think I enabled Wireless Extensions in the latest kernels I compiled here: http://www.zaurususergroup.com/modules.php...download&sid=53 (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=53) . But I don\'t have a WiFi card to test that with.
-
The 5600 kernel source is here: https://www.oesf.org/commu...rom1_00.tar.bz2 (https://www.oesf.org/community/66.180.235.230/download.php/349/linux-sl5600-20030509-rom1_00.tar.bz2)
AFAIK there is only one version of the kernel source, certainly only one that has been released. Yes, poodle is the 5600, so you load the configuration arch/arm/def-configs/poodle . Make sure you only use \'make menuconfig\', as \'make xconfig\' has some bugs that do not configure the kernel properly.
I wondered about that. I downloaded the C860 code yesterday,
but has Sharp released different sets for different models? I did run
through xconfig yesterday, but did not build a kernel with it. After
selecting the poodle configuration, wireless extentions were preset
to on already.
Is there any advantage to building BlueZ into the kernel instead of
the installable package? I have noticed that the BlueZ package
reports device I/O errors if no card is installed in the CF slot when
booting the Zaurus.
-
I think the xconfig bug is only in the 5600 source. The kernel source is different for the C860, but it still comes with the poodle configuration and if you use this then it does create a fully compatible kernel for the 5600, if not identical. That\'s what ced used for the \'special\' kernel since the CCCR overclock patch cannot be applied to the 5600 source.
I\'m no WiFi expert but I think Wireless Extensions is more than just Wireless support and requires a patch on the standard kernel, which I used when I compiled those kernels.
I don\'t see any advantage to including BlueZ in the kernel itself. There is also a limited size that the kernel can be.
-
After a number of different versions, I\'m back to the Sharp ROM and it has the wireless extentions. What makes you think that you do not have them?
Yes, the SL-5600 is a poodle (yeck!)
Yes I think the wireless extension was in ROM 1.21 and then when I upgraded to ROM 1.32, then it seems not to have the wireless extension. The reason I am saying that is because when i do \"iwconfig eth0\" it complains:
eth0 no wireless extension
which is the case when wireless extension is not availalve. I compiled the kernel and used the poodle configuration with CONFIG_NET_RADIO option set to y and still the wireless extension doesn\'t seem to exist when i install the kernel on my 5600. Wireless extension is different from wireless support in that it provides extra functionalities in the driver level for scanning and other WIFI related features.
I tried the last special kernel from the 4 kernels in http://www.zaurususergroup.com/modules.php...download&sid=53 (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=53) and still no luck --- it says the there is no wireless extension.
-
I was hoping that wireless extensions would have been in the preemtive kernel and you could use this with zynergy, and sharp roms... Hmmm, what is the main differences betwee the sharp rom 1.21 and 1.32 (sl-5600) and is the 1.21 still available for download?
-
Yes I think the wireless extension was in ROM 1.21 and then when I upgraded to ROM 1.32, then it seems not to have the wireless extension. The reason I am saying that is because when i do \"iwconfig eth0\" it complains:
eth0 no wireless extension
which is the case when wireless extension is not availalve. I compiled the kernel and used the poodle configuration with CONFIG_NET_RADIO option set to y and still the wireless extension doesn\'t seem to exist when i install the kernel on my 5600. Wireless extension is different from wireless support in that it provides extra functionalities in the driver level for scanning and other WIFI related features.
You haven\'t said what kind of WiFi card that you are using. Until I added spectrum and spectrum.conf to my /etc/pcmcia directory, my Symbol card would not return anything for iwconfig or show the little world in the taskbar either. I got these files from the spectrum driver package, but I don\'t need anything else from this package to get a working setup with the Sharp 1.32 ROM and kernel.
I tried the last special kernel from the 4 kernels in http://www.zaurususergroup.com/modules.php...download&sid=53 (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=53) and still no luck --- it says the there is no wireless extension.
In some cases, I\'ve noticed that iwconfig doesn\'t return anything if the card is not powered up, though it\'s not exhibiting that behavior for me now.
-
You haven\'t said what kind of WiFi card that you are using. Until I added spectrum and spectrum.conf to my /etc/pcmcia directory, my Symbol card would not return anything for iwconfig or show the little world in the taskbar either. I got these files from the spectrum driver package, but I don\'t need anything else from this package to get a working setup with the Sharp 1.32 ROM and kernel.
I am using Linksys WCF11 and WCF12 cards which I think uses the Orinoco drivers. I even patched the kernel using the wireless extension patch availalable for 2.4.18 kernel and when I install the patched kernel, it freezes as soon as I insert the WCF cards.
In some cases, I\'ve noticed that iwconfig doesn\'t return anything if the card is not powered up, though it\'s not exhibiting that behavior for me now.
iwconfig returns everytime for me ------ but it says lo and eth0 doesn\'t have wireless extensions
-
Just to clear this one up:
In order to enable wireless exstensions you need to patch the kernel source with the latest spectrum drivers (24-0.4.2) and then apply the orinoco patch (0.13e or later) to add the exstensions. The wireless exstensions are enabled by default in hte kernel config but needs these patches to work. In order to test if you have wireless extensions enabled you MUST connect to your AP or something before running iwconfig from the terminal.
btw I sent tumnus the wireless drivers pre-patched so if these were included in his last kernel submitted to the zug ? then this kernel should work o.k.
Richard
-
Just to clear this one up:
In order to enable wireless exstensions you need to patch the kernel source with the latest spectrum drivers (24-0.4.2) and then apply the orinoco patch (0.13e or later) to add the exstensions. The wireless exstensions are enabled by default in hte kernel config but needs these patches to work. In order to test if you have wireless extensions enabled you MUST connect to your AP or something before running iwconfig from the terminal.
btw I sent tumnus the wireless drivers pre-patched so if these were included in his last kernel submitted to the zug ? then this kernel should work o.k.
Richard
Would it be possible to get your patched kernel ---- I would definitely need it quite urgently. Was your patched kernel stable? ---- I tried to manually patch it and it was very buggy ---- inserting my WIFI card would not bring up the globe and it will freeze the GUI. I patched it with the wireless extension and ornico driver.
-
Just to clear this one up:
In order to enable wireless exstensions you need to patch the kernel source with the latest spectrum drivers (24-0.4.2) and then apply the orinoco patch (0.13e or later) to add the exstensions. The wireless exstensions are enabled by default in hte kernel config but needs these patches to work. In order to test if you have wireless extensions enabled you MUST connect to your AP or something before running iwconfig from the terminal.
The Sharp 1.32 ROM for the SL-5600 contains the spectrum driver 0.3.4 and orinoco 0.12 driver. Any clear cut method of determining if the wireless extentions are there and what would they offer beyond 128-bit WEP access that I currently have?
-
sbarman:
I think tumnus kernel (last one) has it installed. He has stated that he included it. I don\'t know if he used the ones I sent or did it himself. Try it out if it doesn work I will compile one and post to the ZUG.
w4lna:
No the driver you mention will not work. To check (anyway) follow my instruction in the last post if you get \"no wireless exstentions\" then you don have them.
Edit: Forgot to add that the main reason for doing this is so you can use Wellenreiter or Kismet for sniffing out Access Points.
Richard
-
sbarman:
I think tumnus kernel (last one) has it installed. He has stated that he included it. I don\'t know if he used the ones I sent or did it himself. Try it out if it doesn work I will compile one and post to the ZUG.
Richard
I just tried to install tumnus kernel and it stopped my zaurus from booting. I guess it is normal because the patched kernel is for 760/750 series and not for sl5600. I would appreciate if you can upload the patch files that I have to apply to my sl5600 kernel source or if you have the patched kernel source that would be great too. I can make the kernel image from that point on. But it would be better for me if you can provide the source of the patches suitable for 5600 kernel source --- rather than just the zImage.
-
I haven\'t compiled any kernels for the 760/750. They\'re all for the 5600 what I have done. And yes I used the patch that Richjn sent me. All I had to do was copy the files over the existing orinoco files and then compile, right?
-
tumnus:
Yep, just copy in and compile 8)
Richard
-
sbarman:
I think tumnus kernel (last one) has it installed. He has stated that he included it. I don\'t know if he used the ones I sent or did it himself. Try it out if it doesn work I will compile one and post to the ZUG.
w4lna:
No the driver you mention will not work. To check (anyway) follow my instruction in the last post if you get \"no wireless exstentions\" then you don have them.
Edit: Forgot to add that the main reason for doing this is so you can use Wellenreiter or Kismet for sniffing out Access Points.
Richard
Ok for your edification with stock 1.32 Sharp ROM and kernel, and also notice that SSH doesn\'t require password for unknown reasons:
Last login: Mon Mar 1 19:57:55 on console
Welcome to Darwin!
[Infinity:~] w4lna% ssh -l zaurus 192.168.129.201
This system is for the use of authorized users only. Individuals using this computer system are subject to having all of their activities on this system monitored and recorded. Anyone using this system expressly consents to such monitoring and is advised that if such monitoring reveals possible criminal activity, system personel may provide evidence of such monitoring to law enforcement.
$ iwconfig
lo no wireless extensions.
eth0 IEEE 802.11-DS ESSID:\"\" Nickname:\"zaurus\"
Mode:Managed Bit Rate:11Mb/s Tx-Power=15 dBm
RTS thr:off
usbd0 no wireless extensions.
$
So it looks like wireless extentions to me though I have not been able to get Kismet to do anything useful yet...
Now if I start a connection with 128-bit WEP, I get this:
$ iwconfig
lo no wireless extensions.
Warning: Driver for device eth0 has been compiled with version 12
of Wireless Extension, while this program is using version 13.
Some things may be broken...
eth0 IEEE 802.11-DS ESSID:\"Murphree\" Nickname:\"zaurus\"
Mode:Managed Frequency:2.462GHz Access Point: 00:01:24:F0:67:B5
Bit Rate:11Mb/s Tx-Power=15 dBm
Retry limit:16 RTS thr:off Fragment thr=0 B
Power Management:off
Link Quality:21/92 Signal level:128/153 Noise level:107/153
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
usbd0 no wireless extensions.
$
-
w4lna:
You said you had orinoco .12 not .13 ?
Are you sure you have the stock kernel (check under sysinfo)
Also run df after a reboot and see what message you get about wireless exstensions (you may well get two entrys so check entire text)
Richard
-
w4lna:
You said you had orinoco .12 not .13 ?
Yep...
you sure you have the stock kernel (check under sysinfo)
Yep...
Also run df after a reboot and see what message you get about wireless exstensions (you may well get two entrys so check entire text)
Assuming you meant dmesg, here are the relevant parts:
$ dmesg
Linux version 2.4.18-rmk7-pxa3-embedix-021129 (yamade@yampc) (gcc version 2.95.2 19991024 (release)) #1 Tue, 29 Jul 2003 08:52:01 +0900
CPU: Intel XScale-PXA250 revision 4
Machine: SHARP Poodle
Converting old-style param struct to taglist
Memory clock: 99.53MHz (*27)
Run Mode clock: 199.07MHz (*2)
Turbo Mode clock: 398.13MHz (*2.0, active)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@0k(smf),22528k@7168k(root),-(home) jffs2_orphaned_inodes=delete
GA Chip: L1
Console: colour dummy device 80x30
Calibrating delay loop... 397.31 BogoMIPS
Memory: 32MB = 32MB total
Memory: 29772KB available (1800K code, 541K data, 96K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
RCSR = 2
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.14)
FCS : CCCR = 241
batok installed
Starting kswapd
JFFS2 version 2.1. © 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
Console: switching to colour frame buffer device 30x40
get comadj 107
keyboard initilaized.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
SharpSL serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xf8100000x (irq = 14) is a 16550A
ttyS01 at 0xf8700000x (irq = 12) is a 16550A, using IRDA
ttyS02 at 0xf8200000x (irq = 13) is a 16550A
rs_init: IRDA H/W initializaion
sharpled_init: done.
Cotulla Real Time Clock driver v1.00
Cotulla Touch Screen driver initialized
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP BSD Compression module registered
ide_cs.c 1.26 1999/11/16 02:10:49 (David Hinds)
Poodle audio driver initialize
Sharp SL series flash device: 1000000 at 0
Using static partision definition
Creating 1 MTD partitions on \"sharpsl-flash\":
0x00120000-0x007f0000 : \"Filesystem\"
NAND device: Manufacture ID: 0x98, Chip ID: 0x76 (Toshiba TH58512FT)
Creating 3 MTD partitions on \"Toshiba TH58512FT\":
0x00000000-0x00700000 : \"smf\"
0x00700000-0x01d00000 : \"root\"
0x01d00000-0x04000000 : \"home\"
Linux Kernel Card Services 3.1.22
options: [pm]
Intel PXA250/210 PCMCIA (CS release 3.1.22)
pxa_pcmcia_init(0)
pxa_pcmcia_init(1)
orinoco.c 0.12 (David Gibson <hermes@gibson.dropbear.id.au> and others)
hermes.c: 7 Jun 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco_cs.c 0.12 (David Gibson <hermes@gibson.dropbear.id.au> and others)
spectrum_cs.c 0.3.4
Frontlight Driver Initialized.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 © 1998-1999 Rebel.com
IrCOMM protocol (Dag Brattli)
cramfs: wrong magic
FAT: bogus logical sector size 480
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing init memory: 96K
<and>
eth0: Station identity 0021:0002:0002:0001
eth0: Looks like a Symbol firmware version [F3.10-06] (parsing to 31006)
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:A0:F8:A0:41:81
eth0: Station name \"Prism I\"
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 39, io 0xf6000000-0xf6000047
iwconfig output is same as connected mode before...
-
Assuming you meant dmesg, here are the relevant parts:
Yep typing faster than my brain (not that fast at all)
Confused why you get the message about version conflicts from previous post but as I posted earlier you don\'t have a kernel with wireless exstensions enabled. Try the last one posted by tumnus and let us know.
Richard
-
In order to have a sane wireless extension setup I recommend disabling all builtin wireless drivers (_not_ the subsystem) and build them externally. We do this in OZ and have much less problems with wireless networking.
-
I haven\'t compiled any kernels for the 760/750. They\'re all for the 5600 what I have done. And yes I used the patch that Richjn sent me. All I had to do was copy the files over the existing orinoco files and then compile, right?
Tumnus or Richjn,
Could any of you send me the patches? Which kernel source do you use --- the Sharp ROM 1.00 for 5600 that was availalble from Sharp at one time or C860 kernel source from http://tetsu.homelinux.org/zaurus/kernel/ (http://tetsu.homelinux.org/zaurus/kernel/)
-
In order to have a sane wireless extension setup I recommend disabling all builtin wireless drivers (_not_ the subsystem) and build them externally. We do this in OZ and have much less problems with wireless networking.
Is this external as in modules?
If not, please explain....
TIA
-
In order to have a sane wireless extension setup I recommend disabling all builtin wireless drivers (_not_ the subsystem) and build them externally. We do this in OZ and have much less problems with wireless networking
This worked for me:
- rebuilding the kernel with orinico/spectrum/hostap drivers
- upgrading WE to version 13-14-15
- rebuilding wireless tools agains kernel headers
- removing all wlanng binaries
- removing wlanng drivers
I\'m now using orinico/hostap drivers in my ROM with almost latest wireless extentions available without any problem.
-
This worked for me:
- rebuilding the kernel with orinico/spectrum/hostap drivers
- upgrading WE to version 13-14-15
- rebuilding wireless tools agains kernel headers
- removing all wlanng binaries
- removing wlanng drivers
I\'m now using orinico/hostap drivers in my ROM with almost latest wireless extentions available without any problem.
How are you copying the wireless tools to Zaurus ---- every time I try to copy the wireless tools iwconfig and others to /sbin it says can\'t be copied to readonly filesystem --- i am guessing /sbin is a readonly file system. Doing a ls -l on / shows /sbin has rwx permissions for all users. So I don\'t understand why it won\'t allow me to copy the files when i am root.
Also would it be possible for you to write a more detailed step by step approach listing all the links for the different souces that used to intgerate the latest wireless extension.
-
Neither of the premptive kernels is available for download from ZUg downloads (I can get the special kernel files). Is there any other place to get them?
Or is it just me???
-
I know this thread has been dead for awhile but I still have not found good information for this. I have the Zynergy ROM which is based on the 1.32 Sharp ROM but I have been unable to verify if the wireless extensions have been enabled. After running dmesg, I have exactly the same info as w4lna had posted except for the eth0 part. If I run iwconfig it shows that no wireless extensions have been enabled on eth0.
I am using the AmbiCom WL1100C CF card and run Kismet 2.8.1 without any problems but have been unable to get Wellenreiter to work. I have not specified the AmbiCom card in the spectrum.conf, would this make a difference?
I have tried the v1.3 Preemptive patch from ZUG download but it still shows that \"no wireless extensions\" for eth0 after connecting to my AP and running iwconfig.
-
sbarman,
My situation is very similar to yours, have you had any luck with getting the wireless extensions enabled? I have tried the v1.3 kernel from ZUG download and I still get the eth0 no wireless extensions enable wheither I am connected to an AP or not.
-
Me too, I downloaded the premptive pactch 1/18/2004. Dmesg confirms the wireless extension but iwconfig says no extensions. I can connect to an AP. I am to install Kismet and see if that works.
I am headed down the same path with wallenreiter and I will probaby hit the same problem.
-CB