Installation af Broadcom wireless B43

Spørgsmål eller problemer med kablet netværk, trådløst netværk, netværkshåndteringen eller andet som vedrører netværk.
kim_knutzen
Indlæg: 15
Tilmeldt: 17. maj 2008, 12:45

Installation af Broadcom wireless B43

Indlægaf kim_knutzen » 21. maj 2008, 21:00

Her er en nem guide til installation af firmware til Broadcom wireless B43xx

Alle linier i denne guide skal skrives ind i terminalen en af gangen

Insallation af B43 på Linux-2.6.24

Brug version 011 af b43-fwcutter.
Download, udpak b43-fwcutter og byg den.

Kode: Vælg alt

wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
tar xjf b43-fwcutter-011.tar.bz2
cd b43-fwcutter-011
make
cd ..


Brug version 4.80.53.0 af Broadcom's "proprietary" driver
Download og udpak firmwaren fra driver pakken.

Kode: Vælg alt

export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
tar xjf broadcom-wl-4.80.53.0.tar.bz2
cd broadcom-wl-4.80.53.0/kmod
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o


OBS: hvis stedet hvor firmware ligger på dit system skal det ændres der hvor der står /lib/firmware.
Standart stedet for firmware i Ubuntu 8.04 er /lib/firmware



Insallation af B43 på Linux-2.6.25

Brug version 011 af b43-fwcutter.
Download, udpak b43-fwcutter og byg den.

Kode: Vælg alt

wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
tar xjf b43-fwcutter-011.tar.bz2
cd b43-fwcutter-011
make
cd ..


Brug version 4.150.10.5 af Broadcom's "proprietary" driver
Download og udpak firmwaren fra driver pakken.

Kode: Vælg alt

export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
tar xjf broadcom-wl-4.150.10.5.tar.bz2
cd broadcom-wl-4.150.10.5/driver
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o


OBS: hvis stedet hvor firmware ligger på dit system skal det ændres der hvor der står /lib/firmware.
Standart stedet for firmware i Ubuntu 8.04 er /lib/firmware


Denne guide er oversat af Kim Knutzen. Original Link http://linuxwireless.org/en/users/Drivers/b43#fw-b43legacy
jeg har selv prøvet dette på en Dell Latitude 131L Med Broadcom B94311 på Ubuntu 8.04 Linux-2.6.24.

Hvis der er rettelser eller nogen der har problemer med guiden skriv venligst =)

Mike
Indlæg: 8
Tilmeldt: 5. apr 2008, 19:23

Re: Installation af Broadcom wireless B43

Indlægaf Mike » 23. maj 2008, 20:17

Hej Kim

Jeg er ny til ubuntu, og har kæmpet en del med wireless. Mange tak, nu kan jeg se de netværk som er her i området, men jeg kan ikke komme på, har du en ide til dette.

PLH
Indlæg: 99
Tilmeldt: 24. apr 2008, 20:10

Re: Installation af Broadcom wireless B43

Indlægaf PLH » 23. maj 2008, 23:01

Når jeg skriver "make" fra første del kode ind siger kommandonen: fejl og advarsel ??

PS: Når jeg skriver det hele ind linje for linje virker det ikke. (skal man trykke enter, hvis der ikke sker andet når jeg sætter linjen ind?)

boldt
Indlæg: 38
Tilmeldt: 23. maj 2008, 21:12
Geografisk sted: Bornholm

Re: Installation af Broadcom wireless B43

Indlægaf boldt » 24. maj 2008, 22:01

undskyld, jeg er lidt tungnem.

Du skriver download flere gange, hvorfra?

Det er første gang jeg skal prøve kræfter med ubuntu/linux, så
Hvad betyder "byg den"
hvor skriver man al den kode du viser?

ha en god dag

Mikael Boldt

sådanUBUNTU
Indlæg: 901
Tilmeldt: 18. nov 2007, 00:25
Geografisk sted: Valby

Re: Installation af Broadcom wireless B43

Indlægaf sådanUBUNTU » 24. maj 2008, 22:54

Gå ind i Programmer -> Tilbehør -> Terminal.

Skriv

Kode: Vælg alt

uname -r
+ENTER for at finde ud af, hvilken linuxkerne du har. Så kan du se, hvilken del af guiden du skal følge (2.6.24 eller 2.6.25)

Kopier hver linje (fra de hvide kode-bokse) én efter én i den skrevne rækkefølge til terminalen. Tast ENTER efter hver linje.

Hvis du bliver bedt om at indtaste en adgangskode undervejs, skal du taste din brugers adgangskode+ENTER.

PS. Kims kommentarer er blot skrevet for at anskueliggøre, hvad kommandoerne betyder.
Ubuntu 8.10
IBM Thinkpad R50

Kharoof
Indlæg: 1
Tilmeldt: 25. maj 2008, 00:04

Re: Installation af Broadcom wireless B43

Indlægaf Kharoof » 25. maj 2008, 00:08

Jeg får bare en masse fejl og advarsler efter at have skrevet make..

sådanUBUNTU
Indlæg: 901
Tilmeldt: 18. nov 2007, 00:25
Geografisk sted: Valby

Re: Installation af Broadcom wireless B43

Indlægaf sådanUBUNTU » 25. maj 2008, 10:24

Det er umuligt at hjælpe, hvis du ikke poster fejlmeddelelserne til forum.
Ubuntu 8.10
IBM Thinkpad R50

azako
Indlæg: 1
Tilmeldt: 25. maj 2008, 12:23

Re: Installation af Broadcom wireless B43

Indlægaf azako » 25. maj 2008, 12:34

Hej, jeg er også helt ny til Ubuntu.

Jeg har fulgt 2.6.24 guiden, men når jeg når til det sidste stykke kode:
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o

giver den mig en fejlmeddelelse: sudo: ../../b43-fwcutter-011/b43-fwcutter: command not found

Hvad kan være problemet? Jeg har tjekket alle mapperne, og det hele ser ud til at stemme..

Hvad betyder sudo -w forresten?

boldt
Indlæg: 38
Tilmeldt: 23. maj 2008, 21:12
Geografisk sted: Bornholm

Re: Installation af Broadcom wireless B43

Indlægaf boldt » 25. maj 2008, 12:45

Så fik tid til at prøve forklaringen.
ved hjælp af uname fik jeg oplysningen: 2.6.24-16-generic

så jeg brugte første forklaring

Her efter tilføjede jeg linie for linie som forklaret. og ved første kode blok fik jeg følgende fejl:

Kode: Vælg alt

fwcutter_list.h:141: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:141: warning: excess elements in struct initializer
fwcutter_list.h:141: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[23]’)
fwcutter_list.h:141: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:141: warning: excess elements in struct initializer
fwcutter_list.h:141: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[23]’)
fwcutter_list.h:141: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:141: warning: excess elements in struct initializer
fwcutter_list.h:141: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[23]’)
fwcutter_list.h:142: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:142: warning: excess elements in struct initializer
fwcutter_list.h:142: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[24]’)
fwcutter_list.h:142: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:142: warning: excess elements in struct initializer
fwcutter_list.h:142: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[24]’)
fwcutter_list.h:142: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:142: warning: excess elements in struct initializer
fwcutter_list.h:142: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[24]’)
fwcutter_list.h:143: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:143: warning: excess elements in struct initializer
fwcutter_list.h:143: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[25]’)
fwcutter_list.h:143: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:143: warning: excess elements in struct initializer
fwcutter_list.h:143: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[25]’)
fwcutter_list.h:143: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:143: warning: excess elements in struct initializer
fwcutter_list.h:143: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[25]’)
fwcutter_list.h:144: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:144: warning: excess elements in struct initializer
fwcutter_list.h:144: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[26]’)
fwcutter_list.h:144: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:144: warning: excess elements in struct initializer
fwcutter_list.h:144: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[26]’)
fwcutter_list.h:144: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:144: warning: excess elements in struct initializer
fwcutter_list.h:144: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[26]’)
fwcutter_list.h:145: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:145: warning: excess elements in struct initializer
fwcutter_list.h:145: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[27]’)
fwcutter_list.h:145: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:145: warning: excess elements in struct initializer
fwcutter_list.h:145: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[27]’)
fwcutter_list.h:145: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:145: warning: excess elements in struct initializer
fwcutter_list.h:145: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[27]’)
fwcutter_list.h:146: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:146: warning: excess elements in struct initializer
fwcutter_list.h:146: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[28]’)
fwcutter_list.h:146: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:146: warning: excess elements in struct initializer
fwcutter_list.h:146: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[28]’)
fwcutter_list.h:146: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:146: warning: excess elements in struct initializer
fwcutter_list.h:146: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[28]’)
fwcutter_list.h:147: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:147: warning: excess elements in struct initializer
fwcutter_list.h:147: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[29]’)
fwcutter_list.h:147: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:147: warning: excess elements in struct initializer
fwcutter_list.h:147: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[29]’)
fwcutter_list.h:147: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:147: warning: excess elements in struct initializer
fwcutter_list.h:147: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[29]’)
fwcutter_list.h:148: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:148: warning: excess elements in struct initializer
fwcutter_list.h:148: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[30]’)
fwcutter_list.h:148: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:148: warning: excess elements in struct initializer
fwcutter_list.h:148: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[30]’)
fwcutter_list.h:148: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:148: warning: excess elements in struct initializer
fwcutter_list.h:148: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[30]’)
fwcutter_list.h:149: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:149: warning: excess elements in struct initializer
fwcutter_list.h:149: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[31]’)
fwcutter_list.h:149: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:149: warning: excess elements in struct initializer
fwcutter_list.h:149: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[31]’)
fwcutter_list.h:149: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:149: warning: excess elements in struct initializer
fwcutter_list.h:149: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[31]’)
fwcutter_list.h:150: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:150: warning: excess elements in struct initializer
fwcutter_list.h:150: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[32]’)
fwcutter_list.h:150: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:150: warning: excess elements in struct initializer
fwcutter_list.h:150: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[32]’)
fwcutter_list.h:150: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:150: warning: excess elements in struct initializer
fwcutter_list.h:150: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[32]’)
fwcutter_list.h:151: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:151: warning: excess elements in struct initializer
fwcutter_list.h:151: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[33]’)
fwcutter_list.h:151: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:151: warning: excess elements in struct initializer
fwcutter_list.h:151: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[33]’)
fwcutter_list.h:151: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:151: warning: excess elements in struct initializer
fwcutter_list.h:151: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[33]’)
fwcutter_list.h:152: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:152: warning: excess elements in struct initializer
fwcutter_list.h:152: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[34]’)
fwcutter_list.h:152: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:152: warning: excess elements in struct initializer
fwcutter_list.h:152: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[34]’)
fwcutter_list.h:152: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:152: warning: excess elements in struct initializer
fwcutter_list.h:152: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[34]’)
fwcutter_list.h:153: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:153: warning: excess elements in struct initializer
fwcutter_list.h:153: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[35]’)
fwcutter_list.h:153: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:153: warning: excess elements in struct initializer
fwcutter_list.h:153: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[35]’)
fwcutter_list.h:153: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:153: warning: excess elements in struct initializer
fwcutter_list.h:153: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[35]’)
fwcutter_list.h:154: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:154: warning: excess elements in struct initializer
fwcutter_list.h:154: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[36]’)
fwcutter_list.h:154: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:154: warning: excess elements in struct initializer
fwcutter_list.h:154: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[36]’)
fwcutter_list.h:154: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:154: warning: excess elements in struct initializer
fwcutter_list.h:154: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[36]’)
fwcutter_list.h:155: error: unknown field ‘offset’ specified in initializer
fwcutter_list.h:155: warning: excess elements in struct initializer
fwcutter_list.h:155: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[37]’)
fwcutter_list.h:155: error: unknown field ‘type’ specified in initializer
fwcutter_list.h:155: warning: excess elements in struct initializer
fwcutter_list.h:155: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[37]’)
fwcutter_list.h:155: error: unknown field ‘length’ specified in initializer
fwcutter_list.h:155: warning: excess elements in struct initializer
fwcutter_list.h:155: warning: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[37]’)
fwcutter_list.h:156: error: initializer element is not constant
fwcutter_list.h:156: error: (near initialization for ‘_cb8d70972b885b1f8883b943c0261a3c[38].name’)
fwcutter_list.h:171: error: unknown field ‘flags’ specified in initializer
fwcutter_list.h:171: warning: initialization makes pointer from integer without a cast
fwcutter_list.h:181: error: unknown field ‘flags’ specified in initializer
fwcutter_list.h:181: warning: initialization makes pointer from integer without a cast
fwcutter_list.h:191: error: unknown field ‘flags’ specified in initializer
fwcutter_list.h:191: warning: initialization makes pointer from integer without a cast
fwcutter_list.h:200: error: unknown field ‘flags’ specified in initializer
fwcutter_list.h:200: warning: initialization makes pointer from integer without a cast
fwcutter_list.h:209: error: unknown field ‘flags’ specified in initializer
fwcutter_list.h:209: warning: initialization makes pointer from integer without a cast
fwcutter.c: In function ‘file_ok’:
fwcutter.c:65: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:65: error: invalid operands to binary &
fwcutter.c: At top level:
fwcutter.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘to_be16’
fwcutter.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘to_be32’
fwcutter.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘from_be32’
fwcutter.c: In function ‘print_ucode_version’:
fwcutter.c:129: error: ‘struct insn’ has no member named ‘opcode’
fwcutter.c:129: warning: comparison between pointer and integer
fwcutter.c:129: error: ‘struct insn’ has no member named ‘opcode’
fwcutter.c:129: warning: comparison between pointer and integer
fwcutter.c:132: error: ‘struct insn’ has no member named ‘op1’
fwcutter.c:132: error: invalid operands to binary &
fwcutter.c:132: error: invalid operands to binary <<
fwcutter.c:132: error: ‘struct insn’ has no member named ‘op2’
fwcutter.c:132: error: invalid operands to binary &
fwcutter.c:132: error: invalid operands to binary |
fwcutter.c:132: warning: assignment makes integer from pointer without a cast
fwcutter.c:138: error: ‘struct insn’ has no member named ‘op3’
fwcutter.c:140: warning: implicit declaration of function ‘printf’
fwcutter.c:140: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: At top level:
fwcutter.c:156: error: expected ‘)’ before ‘in’
fwcutter.c:171: error: expected ‘)’ before ‘in’
fwcutter.c:186: error: expected ‘)’ before ‘in’
fwcutter.c:201: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
fwcutter.c:201: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
fwcutter.c: In function ‘analyse_ucode’:
fwcutter.c:203: error: ‘uint64_t’ undeclared (first use in this function)
fwcutter.c:203: error: (Each undeclared identifier is reported only once
fwcutter.c:203: error: for each function it appears in.)
fwcutter.c:203: error: ‘insns’ undeclared (first use in this function)
fwcutter.c:203: error: invalid operands to binary *
fwcutter.c:203: error: expected expression before ‘)’ token
fwcutter.c:203: error: invalid operands to binary *
fwcutter.c:203: warning: statement with no effect
fwcutter.c:205: error: ‘uint32_t’ undeclared (first use in this function)
fwcutter.c:205: warning: statement with no effect
fwcutter.c:205: error: expected ‘;’ before ‘i’
fwcutter.c:207: error: ‘i’ undeclared (first use in this function)
fwcutter.c:207: error: ‘len’ undeclared (first use in this function)
fwcutter.c:207: error: invalid operands to binary /
fwcutter.c:207: error: lvalue required as increment operand
fwcutter.c:210: warning: implicit declaration of function ‘disasm_ucode_1’
fwcutter.c:210: error: array subscript is not an integer
fwcutter.c:214: warning: implicit declaration of function ‘disasm_ucode_2’
fwcutter.c:214: error: array subscript is not an integer
fwcutter.c:218: warning: implicit declaration of function ‘disasm_ucode_3’
fwcutter.c:218: error: array subscript is not an integer
fwcutter.c: At top level:
fwcutter.c:225: error: expected ‘)’ before ‘*’ token
fwcutter.c: In function ‘swap_endianness_iv’:
fwcutter.c:238: error: ‘struct iv’ has no member named ‘reg’
fwcutter.c:238: warning: implicit declaration of function ‘bswap_16’
fwcutter.c:238: error: ‘struct iv’ has no member named ‘reg’
fwcutter.c:238: warning: statement with no effect
fwcutter.c:239: error: ‘struct iv’ has no member named ‘size’
fwcutter.c:239: error: ‘struct iv’ has no member named ‘size’
fwcutter.c:239: warning: statement with no effect
fwcutter.c:240: error: ‘struct iv’ has no member named ‘val’
fwcutter.c:240: warning: implicit declaration of function ‘bswap_32’
fwcutter.c:240: error: ‘struct iv’ has no member named ‘val’
fwcutter.c:240: warning: statement with no effect
fwcutter.c: At top level:
fwcutter.c:243: error: expected declaration specifiers or ‘...’ before ‘size_t’
fwcutter.c:244: error: expected declaration specifiers or ‘...’ before ‘size_t’
fwcutter.c:246: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
fwcutter.c: In function ‘build_ivs’:
fwcutter.c:250: error: ‘uint32_t’ undeclared (first use in this function)
fwcutter.c:250: warning: statement with no effect
fwcutter.c:250: error: expected ‘;’ before ‘i’
fwcutter.c:251: error: ‘size_t’ undeclared (first use in this function)
fwcutter.c:251: warning: statement with no effect
fwcutter.c:251: error: expected ‘;’ before ‘out_size’
fwcutter.c:254: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:255: warning: implicit declaration of function ‘exit’
fwcutter.c:255: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:258: warning: implicit declaration of function ‘malloc’
fwcutter.c:258: warning: incompatible implicit declaration of built-in function ‘malloc’
fwcutter.c:258: error: ‘in_size’ undeclared (first use in this function)
fwcutter.c:258: warning: passing argument 1 of ‘malloc’ makes integer from pointer without a cast
fwcutter.c:260: warning: implicit declaration of function ‘perror’
fwcutter.c:261: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:264: error: ‘i’ undeclared (first use in this function)
fwcutter.c:264: warning: division by zero
fwcutter.c:264: error: invalid operands to binary /
fwcutter.c:264: error: lvalue required as increment operand
fwcutter.c:264: warning: left-hand operand of comma expression has no effect
fwcutter.c:264: warning: value computed is not used
fwcutter.c:265: error: ‘flags’ undeclared (first use in this function)
fwcutter.c:265: error: invalid operands to binary &
fwcutter.c:268: error: ‘struct iv’ has no member named ‘reg’
fwcutter.c:268: warning: implicit declaration of function ‘to_be16’
fwcutter.c:268: error: invalid operands to binary &
fwcutter.c:269: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:270: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:272: error: ‘struct b43_iv’ has no member named ‘offset_size’
fwcutter.c:272: error: ‘struct iv’ has no member named ‘reg’
fwcutter.c:272: warning: statement with no effect
fwcutter.c:273: error: ‘struct iv’ has no member named ‘size’
fwcutter.c:273: warning: comparison between pointer and integer
fwcutter.c:274: error: ‘struct b43_iv’ has no member named ‘offset_size’
fwcutter.c:274: warning: statement with no effect
fwcutter.c:275: error: ‘struct b43_iv’ has no member named ‘data’
fwcutter.c:275: error: request for member ‘d32’ in something not a structure or union
fwcutter.c:275: error: ‘struct iv’ has no member named ‘val’
fwcutter.c:275: warning: statement with no effect
fwcutter.c:277: error: ‘out_size’ undeclared (first use in this function)
fwcutter.c:277: error: ‘be16_t’ undeclared (first use in this function)
fwcutter.c:277: error: ‘be32_t’ undeclared (first use in this function)
fwcutter.c:277: error: invalid operands to binary +
fwcutter.c:277: warning: statement with no effect
fwcutter.c:278: error: ‘uint8_t’ undeclared (first use in this function)
fwcutter.c:278: error: expected expression before ‘)’ token
fwcutter.c:278: error: invalid operands to binary *
fwcutter.c:279: error: ‘struct iv’ has no member named ‘size’
fwcutter.c:279: warning: comparison between pointer and integer
fwcutter.c:280: error: ‘struct iv’ has no member named ‘val’
fwcutter.c:280: warning: implicit declaration of function ‘to_be32’
fwcutter.c:280: error: invalid operands to binary &
fwcutter.c:281: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:282: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:284: error: ‘struct b43_iv’ has no member named ‘data’
fwcutter.c:284: error: request for member ‘d16’ in something not a structure or union
fwcutter.c:284: warning: implicit declaration of function ‘from_be32’
fwcutter.c:284: error: ‘struct iv’ has no member named ‘val’
fwcutter.c:284: warning: statement with no effect
fwcutter.c:286: error: invalid operands to binary +
fwcutter.c:286: warning: statement with no effect
fwcutter.c:287: error: expected expression before ‘)’ token
fwcutter.c:287: error: invalid operands to binary *
fwcutter.c:289: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:290: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:293: error: ‘struct fw_header’ has no member named ‘size’
fwcutter.c:293: warning: statement with no effect
fwcutter.c:294: error: ‘_out_size’ undeclared (first use in this function)
fwcutter.c:294: error: incompatible types in assignment
fwcutter.c:294: warning: statement with no effect
fwcutter.c: At top level:
fwcutter.c:297: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
fwcutter.c:297: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
fwcutter.c:298: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
fwcutter.c: In function ‘write_file’:
fwcutter.c:300: error: ‘FILE’ undeclared (first use in this function)
fwcutter.c:300: error: ‘f’ undeclared (first use in this function)
fwcutter.c:300: error: invalid operands to binary *
fwcutter.c:300: warning: statement with no effect
fwcutter.c:305: error: ‘flags’ undeclared (first use in this function)
fwcutter.c:305: error: invalid operands to binary &
fwcutter.c:310: warning: implicit declaration of function ‘snprintf’
fwcutter.c:310: warning: incompatible implicit declaration of built-in function ‘snprintf’
fwcutter.c:313: warning: implicit declaration of function ‘fprintf’
fwcutter.c:313: warning: incompatible implicit declaration of built-in function ‘fprintf’
fwcutter.c:313: error: ‘stderr’ undeclared (first use in this function)
fwcutter.c:314: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:317: warning: implicit declaration of function ‘mkdir’
fwcutter.c:318: error: ‘errno’ undeclared (first use in this function)
fwcutter.c:318: error: ‘EEXIST’ undeclared (first use in this function)
fwcutter.c:320: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:326: warning: incompatible implicit declaration of built-in function ‘fprintf’
fwcutter.c:327: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:329: warning: implicit declaration of function ‘fopen’
fwcutter.c:329: warning: statement with no effect
fwcutter.c:332: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:334: warning: implicit declaration of function ‘fwrite’
fwcutter.c:334: warning: incompatible implicit declaration of built-in function ‘fwrite’
fwcutter.c:336: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:338: warning: incompatible implicit declaration of built-in function ‘fwrite’
fwcutter.c:338: error: ‘buf’ undeclared (first use in this function)
fwcutter.c:338: error: ‘len’ undeclared (first use in this function)
fwcutter.c:338: warning: passing argument 3 of ‘fwrite’ makes integer from pointer without a cast
fwcutter.c:338: warning: comparison between pointer and integer
fwcutter.c:340: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:342: warning: implicit declaration of function ‘fclose’
fwcutter.c: At top level:
fwcutter.c:345: error: expected ‘)’ before ‘*’ token
fwcutter.c: In function ‘print_banner’:
fwcutter.c:415: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: In function ‘print_file’:
fwcutter.c:423: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:423: error: invalid operands to binary &
fwcutter.c:424: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:426: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:428: warning: implicit declaration of function ‘strlen’
fwcutter.c:428: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:429: warning: implicit declaration of function ‘strncpy’
fwcutter.c:429: warning: incompatible implicit declaration of built-in function ‘strncpy’
fwcutter.c:431: warning: incompatible implicit declaration of built-in function ‘snprintf’
fwcutter.c:433: warning: implicit declaration of function ‘strcpy’
fwcutter.c:433: warning: incompatible implicit declaration of built-in function ‘strcpy’
fwcutter.c:435: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:436: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:437: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:440: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c: In function ‘print_supported_files’:
fwcutter.c:452: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:466: error: ‘struct file’ has no member named ‘flags’
fwcutter.c:466: error: invalid operands to binary &
fwcutter.c:469: error: ‘struct file’ has no member named ‘flags’
fwcutter.c:469: error: invalid operands to binary &
fwcutter.c: At top level:
fwcutter.c:474: error: expected ‘)’ before ‘*’ token
fwcutter.c: In function ‘print_usage’:
fwcutter.c:515: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: In function ‘do_cmp_arg’:
fwcutter.c:543: error: ‘size_t’ undeclared (first use in this function)
fwcutter.c:543: warning: statement with no effect
fwcutter.c:543: error: expected ‘;’ before ‘arg_len’
fwcutter.c:547: error: ‘arg_len’ undeclared (first use in this function)
fwcutter.c:547: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:547: warning: statement with no effect
fwcutter.c:548: error: ‘template_len’ undeclared (first use in this function)
fwcutter.c:548: warning: statement with no effect
fwcutter.c:555: warning: implicit declaration of function ‘memcmp’
fwcutter.c:556: error: invalid operands to binary +
fwcutter.c:556: warning: assignment from incompatible pointer type
fwcutter.c:564: warning: implicit declaration of function ‘strcmp’
fwcutter.c:569: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: In function ‘parse_args’:
fwcutter.c:606: warning: passing argument 5 of ‘cmp_arg’ from incompatible pointer type
fwcutter.c:613: warning: passing argument 5 of ‘cmp_arg’ from incompatible pointer type
fwcutter.c:620: warning: passing argument 5 of ‘cmp_arg’ from incompatible pointer type
fwcutter.c:626: warning: passing argument 5 of ‘cmp_arg’ from incompatible pointer type
fwcutter.c:633: warning: passing argument 4 of ‘cmp_arg’ from incompatible pointer type
fwcutter.c:633: warning: passing argument 5 of ‘cmp_arg’ from incompatible pointer type
fwcutter.c: In function ‘main’:
fwcutter.c:663: error: ‘FILE’ undeclared (first use in this function)
fwcutter.c:663: error: ‘fd’ undeclared (first use in this function)
fwcutter.c:663: error: invalid operands to binary *
fwcutter.c:663: warning: statement with no effect
fwcutter.c:681: warning: statement with no effect
fwcutter.c:683: warning: incompatible implicit declaration of built-in function ‘fprintf’
fwcutter.c:683: error: ‘stderr’ undeclared (first use in this function)
fwcutter.c:688: warning: implicit declaration of function ‘find_file’
fwcutter.c:688: warning: assignment makes pointer from integer without a cast
fwcutter.c:692: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:692: error: invalid operands to binary &
fwcutter.c:699: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:702: warning: implicit declaration of function ‘extract_or_identify’
fwcutter.c:702: error: ‘const struct file’ has no member named ‘flags’
make: *** [fwcutter.o] Error 1


og da jeg kører anden del får jeg følgende til sidst: (jeg indtastede mit password da der blev bedt om det)

Kode: Vælg alt

mikael@mikael-laptop:~/broadcom-wl-4.80.53.0/kmod$ sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
sudo: unable to resolve host mikael-laptop
[sudo] password for mikael:
sudo: ../../b43-fwcutter-011/b43-fwcutter: command not found
mikael@mikael-laptop:~/broadcom-wl-4.80.53.0/kmod$


Så, hvad nu?

ha en god dag

Mikael Boldt

ps. Det her er faktisk sjovt. minder mig om gamle dage algolw, fortran, og dos ak, ja det er 25 år siden jeg stoppede som underviser i datakundskab i folkeskolen/ungdomsskolen.

boldt
Indlæg: 38
Tilmeldt: 23. maj 2008, 21:12
Geografisk sted: Bornholm

Re: Installation af Broadcom wireless B43

Indlægaf boldt » 28. maj 2008, 22:32

Jeg fandt en anden variant af den foreslåede løsning og den virker (for mig)

http://ubuntuforums.org/showthread.php?t=767372&highlight=Working+wireless+broadcom+b43+hardy+8.04

1) first install fwcutter, just open synaptic package manager and search for fwcutter, you need to install from your ubuntu 8.04 cd!

2) then download :-
http://downloads.openwrt.org/sources...0.53.0.tar.bz2

ok now open up a terminal and type the following

3) export FIRMWARE_INSTALL_DIR="/lib/firmware"

--------------press ENTER------------------

tar xjf broadcom-wl-4.80.53.0.tar.bz2

--------------press ENTER------------------

cd broadcom-wl-4.80.53.0/kmod

--------------press ENTER------------------

sudo b43-fwcutter -w "/lib/firmware" wl_apsta.o

--------------press ENTER------------------

and this should install the driver and it should work.


Kommentarer
til punkt 1)
Åbn System/Administration/Symaptic
og find programmet b43-fwcutter og installer det her fra.

punkt 2)
at klikke på linket og få håndteret pakken rigtigt kan jeg ikke forklare, men efter et par forsø så lykkedes det.

punkt 3)
Terminalen findes under
Programmer/tilbehør/

Dette indlæg er skrevet i min nye ubuntu/linux, sendt trådløst til min router og videre til dig :D

ha en god dag

Mikael Boldt

PLH
Indlæg: 99
Tilmeldt: 24. apr 2008, 20:10

Re: Installation af Broadcom wireless B43

Indlægaf PLH » 30. maj 2008, 23:05

boldt's guide funger sgu!

Tror jeg. lyset er tændt i den lampen, som fortæller den kan modtage trådløst net...

Men når klikker på de 2 computerskærme i topmenuen, (på skrivebordet på skærmen), så kan den ikke finde mit net!:(

Hvordan får jeg den til at finde det?

boldt
Indlæg: 38
Tilmeldt: 23. maj 2008, 21:12
Geografisk sted: Bornholm

Re: Installation af Broadcom wireless B43

Indlægaf boldt » 31. maj 2008, 07:32

ja - "lyset" blev tændt i wireless indikatoren på laptoppen, men jeg tror også at netværks-ikonet i øverste venstre hjørne ændrede sig. (husk at fjerne netværkskablet)

derefter klikkede jeg på netværksikonet og under wireless var 3 netværk angivet, hvor jeg valgte mit eget.(antallet og typen af netværk varier alt efter om naboen har en tændt laptop eller netværk)

Da jeg har valgt at bruge password som adgangskode til mit indtastede jeg dette, og computeren var på nettet - uden genstart eller andet.

Det er et par dage siden jeg installerede, så ovenstående er efter hukommelsen.

Ha en god dag

Mikael Boldt

PLH
Indlæg: 99
Tilmeldt: 24. apr 2008, 20:10

Re: Installation af Broadcom wireless B43

Indlægaf PLH » 31. maj 2008, 14:59

altså der kommer en trekant op hos de 2 skærme(intet netværk)

Når jeg venstreklikker derpå, så står der intet under trådløst net. Den kan åbenbart ikke finde mit netværk(bor ude på en gård, så den kan heller ikke se naboens, men det er normalt;))

Man kan ikke få den til at søge netværk?

PLH
Indlæg: 99
Tilmeldt: 24. apr 2008, 20:10

Re: Installation af Broadcom wireless B43

Indlægaf PLH » 31. maj 2008, 16:27

Hehe, det da utroligt - der er mange ting i dette ubuntu, som man bare lige skal lade stå lidt, så virker det... Nu virker det! Den har fundet det trådløse net:D


Super

Og igen mange tak til dig Mikael Boldt, der gav guiden der virkede for mig - men osse til jer andre, det er skønt med hjælp:D

Jakobsen
Indlæg: 32
Tilmeldt: 25. jul 2008, 16:36
IRC nickname: Jakobsen

Re: Installation af Broadcom wireless B43

Indlægaf Jakobsen » 2. aug 2008, 18:06

heej

jeg åbnede bar hardware og drivers sat flueben i Broadcom B43 wireless driver

da jeg skulle trykke næste satte jeg flueben ved fwcutter.

er det så instalerert korekt?

hilsen simon
Hilsen Simon.

Tilbage til "Netværk"

Hvem er online

Brugere der læser dette forum: [Crawler], Brandwatch [Crawler] og 0 gæster