Author Topic: sl5600 kernel configuration and source  (Read 8474 times)

Richjn

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • http://
sl5600 kernel configuration and source
« Reply #15 on: March 01, 2004, 07:38:10 pm »
tumnus:

Yep, just copy in and compile  8)

Richard

w4lna

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
sl5600 kernel configuration and source
« Reply #16 on: March 01, 2004, 09:23:43 pm »
Quote
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.

$

Richjn

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • http://
sl5600 kernel configuration and source
« Reply #17 on: March 01, 2004, 09:48:44 pm »
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

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
sl5600 kernel configuration and source
« Reply #18 on: March 01, 2004, 10:44:44 pm »
Quote
w4lna:

You said you had orinoco .12 not .13 ?

Yep...

Quote
you sure you have the stock kernel (check under sysinfo)

Yep...

Quote
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...

Richjn

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • http://
sl5600 kernel configuration and source
« Reply #19 on: March 01, 2004, 11:52:08 pm »
Quote
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

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
sl5600 kernel configuration and source
« Reply #20 on: March 02, 2004, 05:55:26 am »
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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

sbarman

  • Newbie
  • *
  • Posts: 13
    • View Profile
sl5600 kernel configuration and source
« Reply #21 on: March 02, 2004, 08:41:03 am »
Quote
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/

w4lna

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
sl5600 kernel configuration and source
« Reply #22 on: March 02, 2004, 09:37:35 am »
Quote
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

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
sl5600 kernel configuration and source
« Reply #23 on: March 02, 2004, 12:53:53 pm »
Quote
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.

Anonymous

  • Guest
sl5600 kernel configuration and source
« Reply #24 on: March 02, 2004, 03:36:59 pm »
Quote
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.

yeswarchief

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
sl5600 kernel configuration and source
« Reply #25 on: March 02, 2004, 05:27:30 pm »
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???
SL-5600, Sharp ROM 1.32, preemptive + wireless ext
Lexar SD 256, Sandisk CF 256, Ambicom WL1100C-CF

wavz

  • Newbie
  • *
  • Posts: 12
    • View Profile
sl5600 kernel configuration and source
« Reply #26 on: April 13, 2004, 03:13:08 pm »
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.
sl-5600 OZ 3.3.6pre1
AmbiCom WL1100C
Socket 10/100 LAN CF

wavz

  • Newbie
  • *
  • Posts: 12
    • View Profile
sl5600 kernel configuration and source
« Reply #27 on: April 14, 2004, 11:16:31 am »
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.
sl-5600 OZ 3.3.6pre1
AmbiCom WL1100C
Socket 10/100 LAN CF

chimyfolkbutter

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://
sl5600 kernel configuration and source
« Reply #28 on: April 16, 2004, 10:41:27 am »
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