Gå til innhold

Madwifi installasjon! guide please?


H2H

Anbefalte innlegg

Skrevet

heisann... kunne noen linux guruer guide meg gjennom denne installasjonen?

 

bruker fedora core 2...

 

OBS! er totalt noob i linux!

 

Madwifi

 

har lasta det ned men klarer ikke installere det... noe trøbbel med "make"?

Videoannonse
Annonse
Skrevet

Bare så det er sagt så er ".. noe trøbbel med 'make'" en altfor dårlig forklaring på

problemet. Neste gang så må du gi oss feilmeldingen og litt om systemet ditt

(distrobusjon f.eks.) for at vi skal kunne hjelpe deg (eller noen andre for den saks

skyld).

Skrevet
Bare så det er sagt så er ".. noe trøbbel med 'make'" en altfor dårlig forklaring på

problemet. Neste gang så må du gi oss feilmeldingen og litt om systemet ditt

(distrobusjon f.eks.) for at vi skal kunne hjelpe deg (eller noen andre for den saks

skyld).

ja ok skal heller boote opp linuxen.... er jo tross alt litt noob i linux da...

Skrevet (endret)

Hva slags prosessor har du?

 

Om du kjører en terminal og sier oss hva du får når du skrive følgende, så hadde det

vært kjempefint.

uname -r

 

 

 

EDIT: Det er lettere gjennom 'DAG', så vi prøver den løsning først. :)

Endret av Rafael
Skrevet

[root@localhost madwifi]# make

for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \

        (cd $i; make) || exit 1; \

done

make[1]: Entering directory `/root/madwifi/ath_hal'

uudecode ./../hal/linux/i386-elf.hal.o.uu

make[1]: uudecode: Command not found

make[1]: *** [hal.o] Error 127

make[1]: Leaving directory `/root/madwifi/ath_hal'

make: *** [all] Error 1

 

dette får jeg opp når jeg kjører "make"

Skrevet (endret)

ooOOoo!! klarte å innstallere shiiten! Fant ut at APT var genialt! Men nå har jeg ett nytt problem

ath_pci device eth2 does not seem to be present, delaying initialization.

 

noen med en løsning?

Endret av H2H
Skrevet

You need to build a kernel with CONFIG_NET_RADIO and CONFIG_NET_WIRELESS enabled. Normally selecting the former in menuconfig automatically enables the latter too, but if you're editing by hand, remember to set both, since its the 'WIRELESS' bit that switches on /proc/wireless.

dette må visst osgå gjøres... ehh hvordan?

 

http://www.mattfoster.clara.co.uk/madwifi-3.htm

Skrevet
HUsk at eth0 er det første nettverkskortet, eth1 er det andre etc

jah... nå har ike jeg satt opp dette her... kjørte APT også ble det slik...

Skrevet

[root@localhost root]# iwconfig

lo        no wireless extensions.

 

sit0      no wireless extensions.

 

eth0      no wireless extensions.

 

[root@localhost root]#

Skrevet (endret)

Laster du modulene til madwifi i riktig rekkefølge?

Linux 2.6

    insmod wlan/wlan.ko

    insmod ath_hal/ath_hal.ko

    insmod driver/ath_pci.ko

Når du har gjort dette, så skal du få opp ath0 når du kjører iwconfig.

Endret av obotron
Skrevet

sann skal det se ut

 

 

# iwconfig

lo no wireless extensions.

 

eth0 no wireless extensions.

 

eth1 no wireless extensions.

 

ath0 IEEE 802.11 ESSID:""

Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00

Bit Rate:0 kb/s Tx-Power:50 dBm Sensitivity=0/3

Retry:off RTS thr:off Fragment thr:off

Encryption key:off

Power Management:off

Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm

Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

Tx excessive retries:0 Invalid misc:0 Missed beacon:0

 

sit0 no wireless extensions.

 

 

dette er ifra min debian box..

 

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:0A:E4:4E:0D:00

inet addr:10.0.0.2 Bcast:255.255.255.255 Mask:255.255.255.0

inet6 addr: fe80::20a:e4ff:fe4e:d00/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:53010 errors:0 dropped:0 overruns:0 frame:0

TX packets:99235 errors:0 dropped:0 overruns:0 carrier:2

collisions:0 txqueuelen:1000

RX bytes:34132295 (32.5 MiB) TX bytes:7411897 (7.0 MiB)

Interrupt:10

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:84 errors:0 dropped:0 overruns:0 frame:0

TX packets:84 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:5320 (5.1 KiB) TX bytes:5320 (5.1 KiB)

 

 

se ingen trådløst der.

Skrevet (endret)
Laster du modulene til madwifi i riktig rekkefølge?
Linux 2.6

    insmod wlan/wlan.ko

    insmod ath_hal/ath_hal.ko

    insmod driver/ath_pci.ko

Når du har gjort dette, så skal du få opp ath0 når du kjører iwconfig.

 

ok... fant ut at jeg har glemt noe... configurere makefile.inc... har åpnet den men jeg ANER jo ikke va som skal stå på di angitte plassene... litt hjelp?

Endret av H2H
Skrevet
#

# Copyright © 2002, 2003 Sam Leffler, Errno Consulting

# All rights reserved.

#

# Redistribution and use in source and binary forms, with or without

# modification, are permitted provided that the following conditions

# are met:

# 1. Redistributions of source code must retain the above copyright

#    notice, this list of conditions and the following disclaimer,

#    without modification.

# 2. Redistributions in binary form must reproduce at minimum a disclaimer

#    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any

#    redistribution must be conditioned upon including a substantially

#    similar Disclaimer requirement for further binary redistribution.

# 3. Neither the names of the above-listed copyright holders nor the names

#    of any contributors may be used to endorse or promote products derived

#    from this software without specific prior written permission.

#

# Alternatively, this software may be distributed under the terms of the

# GNU General Public License ("GPL") version 2 as published by the Free

# Software Foundation.

#

# NO WARRANTY

# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT

# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY

# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL

# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,

# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF

# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS

# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)

# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF

# THE POSSIBILITY OF SUCH DAMAGES.

#

# $Id: Makefile.inc,v 1.14 2003/07/31 17:48:47 sam Exp $

#

 

DESTDIR=

#

# Define this to build the HAL from source code

#

#HAL_SRC= true

#

#

# Define these for cross-compilation; e.g.

#

#TOOLPREFIX= /export/tools/bin/mips-linux-

#TARGET_OPTS= -g -O -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -Wa,--trap

#

CC=  ${TOOLPREFIX}gcc

LD=  ${TOOLPREFIX}ld

STRIP=  ${TOOLPREFIX}strip

OBJCOPY= ${TOOLPREFIX}objcopy

TARGET_OPTS= -g -O

#

NM=  nm

AWK=  awk

 

#

#

# Path to the Linux kernel, include files, and where to install the modules.

#

VERSION= $(shell uname -r)

KERNEL_PATH= /lib/modules/${VERSION}/build

LINUX=  ${KERNEL_PATH}/include

MODULE_PATH= /lib/modules/${VERSION}/net

#

# A numeric version of the running system's version string, suitable

# for doing if checks in make files.

#

LINUX_VERSION= $(shell uname -r | \

  awk '{ split($$0,a,"."); print a[1]*100+a[2]; }')

#

# Path to the HAL source code.

#

HAL= ${DEPTH}/hal

#

# Path to the HAL build area.

#

ATH_HAL=${DEPTH}/ath_hal

#

# Path to the 802.11 include files

#

WLAN= ${DEPTH}/wlan

#

# Path to the device driver.

#

DRIVER= ${DEPTH}/driver

 

#

# Basic build components.

#

COPTS= -Wall ${TARGET_OPTS}

INCS= -include ${DEPTH}/include/compat.h -I${DEPTH}/include

CLEANFILES= .depend

 

include ${KERNEL_PATH}/.config

 

ifdef CONFIG_SMP

COPTS+= -D__SMP__ -DSMP

endif

 

ifndef CONFIG_FRAME_POINTER

COPTS+= -fomit-frame-pointer

endif

 

ifdef CONFIG_MODVERSIONS

MODOPTS=-DMODVERSIONS -include $(KERNEL_PATH)/include/linux/modversions.h

 

GENKSYMS= /sbin/genksyms

ifdef CONFIG_SMP

GENKSYMS+= -p smp_

endif

endif

 

#

# 2.4, 2.5, 2.6 handling.

# Wish we had proper conditionals to use here..

#

ifneq (${LINUX_VERSION}, 204)

KMODSUF= ko

INCS+=  -I${KERNEL_PATH}/include/asm/mach-default

MODOPTS+= -DKBUILD_BASENAME=${KMODNAME} -DKBUILD_MODNAME=${KMODNAME}

CLEANFILES+= *.mod.c

else

KMODSUF= o

endif

det var den fila... slipper alle lissom laste ned heile greiå...

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...