[Soekris] gentoo on soekris (atheros)
KF
dotslash at snosoft.com
Sat Aug 2 06:12:50 UTC 2003
Oh yeah.. I have Atheros working too... with kismet at least... DWL-G650
and using the vanrtonix driver.
soekris vt_ar5k_cvs # lsmod
Module Size Used by Tainted: P
vt_ar5k 30912 0 (unused)
vt_ar5k: PCI/CardBus 802.11a WirelessLAN driver for Atheros AR5k chipsets
Reyk Floeter <reyk at vantronix.net>, (C) 2002 by .vantronix | secure
systems and Reyk Floeter
src/wdev.c: Common wireless stack implementation for Linux
Reyk Floeter <reyk at vantronix.net>, (C) 2003 by .vantronix | secure
systems and Reyk Floeter
vt_ar5k: regulation domain 'fcc'
PCI: Setting latency timer of device 02:00.0 to 64
vt_ar5k: card 0: mem_start:0xc4825000, len: 65536, irq:10
vt_ar5k: card 0: AR5001X+ chipset (not fully supported)
cs: warning: no high memory space available!
cs: unable to map card memory!
cs: unable to map card memory!
src/wdev.c: registered new wireless device 'wlan0'!
vt_ar5k (wlan0): starting card in standard mode
vt_ar5k (wlan0): MAC revision 0x0056
vt_ar5k (wlan0): PHY revision 0x0041
vt_ar5k (wlan0): hardware address 00:80:C8:18:CB:81 (from EEPROM)
vt_ar5k (wlan0): card initialized successfully (status 0x00000100)
soekris vt_ar5k_cvs # iwconfig wlan0
wlan0 802.11-OFDM ESSID:"test"
Mode:Managed Frequency:5.32GHz Access Point: 00:00:00:00:00:00
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
-KF
KF wrote:
> Nick Rout wrote:
>
>> Excellent. Got a howto?
>>
> I sort of cheated. I first booted the system using the instructions
> located here: http://www.innercite.com/~mike/soekris/
> This allowed me to access the flash card as /dev/hda. I took a gentoo
> stage3 (you can use stage 2 or 1 also but thats alot of compiling)
> cdrom from:
> http://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/1.4_rc4/x86/x86/stages/
> and copied its contents to a random directory on my filesystem.
> Next chroot to this location with "chroot /path/to/random/directory".
> You then have access to emerge and other gentoo utilities. You can now
> roll your own gentoo that fits within your disk limits. My disk is 256
> mb and I currently have 50 meg left. After building the system you
> will want to set aside some scratch space for nfs mounting later. You
> will want to move a few large directories to this scratch space like
> /usr/lib/gcc-lib and /usr/portage. This will help trim some of the
> uneeded disk hogs out of your way. Below is the shell script I use on
> the soekris when I want to access portage and emerge.
>
> soekris root # cat mounts.sh
> portmap
> echo mounting gcc-lib
> mount -t nfs 192.168.1.124:/nfsroot/gcc-lib/ /usr/lib/gcc-lib
> echo mounting kern src
> mount -t nfs 192.168.1.124:/nfsroot/kernel /usr/src
> echo mounting portage
> mount -t nfs 192.168.1.124:/nfsroot/portage /usr/portage
> echo mounting misc
> mount -t nfs 192.168.1.124:/nfsroot/misc /root/misc
> mount | grep nfs
>
> Next you will want to place this chroot dir in your /etc/exports so
> that it can be accessed by the debian nfs boot setup that you are
> using from above. Just mount the chroot via nfs and copy away.
> Obviously you need to fdisk the card first. Simply cp -r everything
> but /proc (if its still mounted) to the compact flash card. Next on
> the soekris mount /dev/hdaX and "chroot /path/to/flashcardmount" . You
> need to edit lilo.conf and run lilo. Most importantly is the kernel...
> I did not use the gentoo kernel that comes with emerge. Instead I used
> the vanilla source for 2.4.18 and the same .config from the
> innercite.com site by mike. You MUST do one thing to the kernel config
> and that is enable devfs. Gentoo HATES to not have devfs. Because of
> devfs you will need to put tts/0 in /etc/securetty or you will pull
> your hair out for 3 days because you can't login on the console. =] Oh
> yeah /etc/make.global needs to have all the i586 changed to i486 for
> best optimization maybe?
>
> That should be a good run down until such time as I can write a proper
> doc on how to do things...
>
> If you are not familiar with gentoo follow this doc for general
> install questions. http://www.gentoo.org/doc/en/gentoo-x86-install.xml
>
> -KF
>
>
> _____________________________________________________________________
> Soekris Engineering, technical discussion mailing list
> [un]subscribe: http://lists.soekris.com/mailman/listinfo/soekris-tech
>
More information about the Soekris-tech
mailing list