LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2007, 12:21 AM   #1
SyCo123
Member
 
Registered: May 2007
Posts: 96

Rep: Reputation: 15
Wireless broadcom woes


Hi
Not a total Linux noob but it's been a while.

I've just installed Ubuntu 7.04 using Wubi (HDD wont partition) on a HP DV5215us with XP. US robotics router.

It's working sweet and would like to make it the default boot option if I can just get the wireless working.

I've found he tut here
http://www.linuxquestions.org/linux/...WPA_Encryption
and have tried it a couple of times but no joy.

I hope someone can help me walk through it.
lspci give a load of info including this

Quote:
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
aptitude install wireless-tools wpasupplicant network-manager network-manager-gnome

Quote:
dieu@ubuntu:~$ sudo aptitude install wireless-tools wpasupplicant network-manager network-manager-gnome
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
dieu@ubuntu:~$
downloaded and extracted bcm43xx-fwcutter-006.tar.bz2

downloaded the drver from here
http://h10025.www1.hp.com/ewfrf/wc/s...184207&lang=en

===========
Ok so far
===========

next not sure what directory it should be, or if it matters, but i put the extracted folder in
/home/dieu/wireless

contents now
bcm43xx-fwcutter-006 sp33008.exe
( .exe is the windows driver)

CD'd to bcm43xx-fwcutter-006
typed make

and got a ton of errors eg
Quote:
fwcutter.c:263: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:265: warning: implicit declaration of function ‘ftell’
fwcutter.c:266: error: ‘SEEK_SET’ undeclared (first use in this function)
fwcutter.c:267: warning: implicit declaration of function ‘malloc’
fwcutter.c:267: warning: incompatible implicit declaration of built-in function ‘malloc’
fwcutter.c:269: warning: implicit declaration of function ‘fputs’
fwcutter.c:269: error: ‘stderr’ undeclared (first use in this function)
fwcutter.c:270: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:272: warning: implicit declaration of function ‘fread’
fwcutter.c:274: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c: At top level:
fwcutter.c:280: error: expected ‘)’ before ‘fwtype’
fwcutter.c:346: error: expected ‘)’ before ‘flags’
fwcutter.c:357: error: expected ‘)’ before ‘fwdata’
fwcutter.c: In function ‘analyse_ucode’:
fwcutter.c:387: error: ‘uint32_t’ undeclared (first use in this function)
fwcutter.c:387: error: expected ‘;’ before ‘fwdata’
fwcutter.c:389: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:392: error: ‘fwdata’ undeclared (first use in this function)
fwcutter.c:394: warning: implicit declaration of function ‘print_ucode_version’
fwcutter.c:399: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:409: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:425: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c: In function ‘get_ucode_rev’:
fwcutter.c:450: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:457: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:459: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c: In function ‘get_ucode_info’:
fwcutter.c:469: error: ‘const struct file’ has no member named ‘uc2_pos’
fwcutter.c:470: error: ‘const struct file’ has no member named ‘uc2_length’
fwcutter.c:472: error: ‘const struct file’ has no member named ‘uc4_pos’
fwcutter.c:473: error: ‘const struct file’ has no member named ‘uc4_length’
fwcutter.c:475: error: ‘const struct file’ has no member named ‘uc5_pos’
fwcutter.c:476: error: ‘const struct file’ has no member named ‘uc5_length’
fwcutter.c:478: error: ‘const struct file’ has no member named ‘uc11_pos’
fwcutter.c:479: error: ‘const struct file’ has no member named ‘uc11_length’
fwcutter.c:481: error: ‘const struct file’ has no member named ‘uc13_pos’
fwcutter.c:482: error: ‘const struct file’ has no member named ‘uc13_length’
fwcutter.c: In function ‘print_banner’:
fwcutter.c:487: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: In function ‘print_file’:
fwcutter.c:495: warning: implicit declaration of function ‘strlen’
fwcutter.c:495: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:496: warning: implicit declaration of function ‘strncpy’
fwcutter.c:496: warning: incompatible implicit declaration of built-in function ‘strncpy’
fwcutter.c:497: warning: incompatible implicit declaration of built-in function ‘snprintf’
fwcutter.c:499: warning: implicit declaration of function ‘strcpy’
fwcutter.c:499: warning: incompatible implicit declaration of built-in function ‘strcpy’
fwcutter.c:501: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:502: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:503: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:506: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:507: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c: In function ‘print_supported_files’:
fwcutter.c:518: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:524: error: ‘struct file’ has no member named ‘flags’
fwcutter.c:538: error: ‘struct file’ has no member named ‘flags’
fwcutter.c: At top level:
fwcutter.c:544: error: expected ‘)’ before ‘*’ token
fwcutter.c: In function ‘get_endianess’:
fwcutter.c:613: warning: ISO C forbids nested functions
fwcutter.c:613: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
fwcutter.c:613: error: ‘p’ undeclared (first use in this function)
fwcutter.c:613: error: ‘uint32_t’ undeclared (first use in this function)
fwcutter.c:613: error: expected expression before ‘)’ token
fwcutter.c:620: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c:621: warning: incompatible implicit declaration of built-in function ‘exit’
fwcutter.c:612: warning: unused variable ‘x’
fwcutter.c: In function ‘print_usage’:
fwcutter.c:628: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: In function ‘do_cmp_arg’:
fwcutter.c:655: error: ‘size_t’ undeclared (first use in this function)
fwcutter.c:655: error: expected ‘;’ before ‘arg_len’
fwcutter.c:659: error: ‘arg_len’ undeclared (first use in this function)
fwcutter.c:659: warning: incompatible implicit declaration of built-in function ‘strlen’
fwcutter.c:660: error: ‘template_len’ undeclared (first use in this function)
fwcutter.c:667: warning: implicit declaration of function ‘memcmp’
fwcutter.c:676: warning: implicit declaration of function ‘strcmp’
fwcutter.c:681: warning: incompatible implicit declaration of built-in function ‘printf’
fwcutter.c: In function ‘main’:
fwcutter.c:782: error: ‘FILE’ undeclared (first use in this function)
fwcutter.c:782: error: ‘fd’ undeclared (first use in this function)
fwcutter.c:798: warning: implicit declaration of function ‘fprintf’
fwcutter.c:798: warning: incompatible implicit declaration of built-in function ‘fprintf’
fwcutter.c:798: error: ‘stderr’ undeclared (first use in this function)
fwcutter.c:803: warning: implicit declaration of function ‘find_file’
fwcutter.c:803: warning: assignment makes pointer from integer without a cast
fwcutter.c:814: error: ‘const struct file’ has no member named ‘uc2_length’
fwcutter.c:815: warning: implicit declaration of function ‘extract_fw’
fwcutter.c:816: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:817: error: ‘const struct file’ has no member named ‘uc2_pos’
fwcutter.c:818: error: ‘const struct file’ has no member named ‘uc2_length’
fwcutter.c:819: error: ‘const struct file’ has no member named ‘uc4_length’
fwcutter.c:821: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:822: error: ‘const struct file’ has no member named ‘uc4_pos’
fwcutter.c:823: error: ‘const struct file’ has no member named ‘uc4_length’
fwcutter.c:824: error: ‘const struct file’ has no member named ‘uc5_length’
fwcutter.c:826: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:827: error: ‘const struct file’ has no member named ‘uc5_pos’
fwcutter.c:828: error: ‘const struct file’ has no member named ‘uc5_length’
fwcutter.c:829: error: ‘const struct file’ has no member named ‘uc11_length’
fwcutter.c:831: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:832: error: ‘const struct file’ has no member named ‘uc11_pos’
fwcutter.c:833: error: ‘const struct file’ has no member named ‘uc11_length’
fwcutter.c:834: error: ‘const struct file’ has no member named ‘uc13_length’
fwcutter.c:836: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:837: error: ‘const struct file’ has no member named ‘uc13_pos’
fwcutter.c:838: error: ‘const struct file’ has no member named ‘uc13_length’
fwcutter.c:839: error: ‘const struct file’ has no member named ‘pcm4_length’
fwcutter.c:841: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:842: error: ‘const struct file’ has no member named ‘pcm4_pos’
fwcutter.c:843: error: ‘const struct file’ has no member named ‘pcm4_length’
fwcutter.c:844: error: ‘const struct file’ has no member named ‘pcm5_length’
fwcutter.c:846: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:847: error: ‘const struct file’ has no member named ‘pcm5_pos’
fwcutter.c:848: error: ‘const struct file’ has no member named ‘pcm5_length’
fwcutter.c:849: error: ‘const struct file’ has no member named ‘iv_map’
fwcutter.c:850: warning: implicit declaration of function ‘extract_iv’
fwcutter.c:850: error: ‘const struct file’ has no member named ‘flags’
fwcutter.c:851: error: ‘const struct file’ has no member named ‘iv_pos’
fwcutter.c:852: error: ‘const struct file’ has no member named ‘iv_map’
make: *** [fwcutter.o] Error
I guess i got it to work on one attempt though because now
bcm43xx-fwcutter -l
give the output

Quote:
Extracting firmware is possible from these binary driver files:

<filename> <version> <MD5 checksum>

AppleAirPort2 3.30.15.p3 (3.1.1b2) a8275cc50107a13b5be15d067b2245a0
AppleAirPort2 3.30.15.p3 (3.1.2b3) 55134c1298abaa85f190331f016d4d36
AppleAirPort2 3.30.15.p3 (3.1.2b3) ac232f87f4ccfd1342a878fa85cb95e0
AppleAirPort2 3.30.15.p7 (3.2) e74e8d2df2e4eb97e28602f3b2dd4647
AppleAirPort2 3.30.15.p8 (3.3b1) 87c74c55d2501d2e968f8c132e160b6e
AppleAirPort2 3.50.37.p4 (3.4.2b1) 1739c357ade1d04c9be47e8604afb1c2
AppleAirPort2 3.50.37.p4 (3.4.3f1) c672b8c218c5dc4a55060bdfa9f58a69
AppleAirPort2 3.50.37.p4 (3.4.4f5) 2c388e3e8ea9310a58cf76a3757e8ccc
AppleAirPort2 3.50.37.p4 (3.4.4f5) 3860545266b554d2955664db55452f5a
AppleAirPort2 3.50.37.p6 (3.5f1) a62e35ee9956b286c46b145d35bd6e0c
AppleAirPort2 3.50.37.p6 (3.5f1) b6f3d2437c40277c197f0afcf12208e9
AppleAirPort2 3.90.34.0.p11 (400.17) ca0f34df2f0bfb8b5cfd83b5848d2bf5
AppleAirPort2 3.90.34.0.p11 (400.17) dc3a69aac95c68fe8edc760e39bbb2c9
AppleAirPort2 3.90.34.0.p13 (401.2) 6ecf38e5ab6997c7ec483c0d637f5c68
AppleAirPort2 3.90.34.0.p13 (402.6) 2ba0c4de95344b00f2c7efad917490f5
AppleAirPort2 3.90.34.0.p16 (404.2) 1b44556cc33b4625f3115ce2942761c6
AppleAirPort2 3.90.34.0.p16 (404.2) 6abbe6468954c510b36546f3cdb89efc
AppleAirPort2 3.90.34.0.p16 (404.2) 7200d1aef5f413ebc811046d068b40dc
AppleAirPort2 3.90.34.0.p16 (404.2) 86cc708e8df3b035a1dbea41ac4eb7d2
AppleAirPort2 3.90.34.0.p18 (405.1) 6ad97ec30caee8c5580abdc93c36a2da
AppleAirPort2 3.90.34.0.p18 (405.1) 85c71d658b650fd2ef546d1d81b113a0
AppleAirPort3 3.90.34.0.p3 (3.6f2) 5aa65bf75ae1bee0f81092a076d1ad1d
AppleAirPortBrcm4311 3.120.28.3 (101.3) 71f2dbea1dab2ec630b84f4076d9a14e
AppleAirPortBrcm4311 3.120.28.3 (103.2) e97c1a92bc961f3334992fe8eea2b185
AppleAirPortBrcm4311 3.120.28.3.p19 (104.1) 96be03e7d08d14db3a323078aa318a53
AppleAirPortBrcm4311 4.80.46.0 e99ad02fdd7699fa52f0b9153c8411c8
bcmwl5.sys 3.8.28.0 f7c6cc420c21eb1a73f6a73bfec96f2c
bcmwl5.sys 3.8.37.0 e39e934eccd3b15bbb5f8d8f52f172b2
bcmwl5.sys 3.10.8.0 288923b401e87ef76b7ae2652601ee47
bcmwl5.sys 3.10.36.0 94cf83440955c49387ab7d9d4a8ee138
bcmwl5.sys 3.10.39.0 5204362ec9ae6d7a5e2c9ec97a869f3f
bcmwl5.sys 3.10.39.7 def910106deec0ad67712d124fc2047d
bcmwl5.sys 3.10.39.8 bdbd3b9bf07ead2e8e00cc6dc267fb4a
bcmwl5.sys 3.10.52.0 4a8e982a023e48a6941d4581a88777a4
bcmwl5.sys 3.10.53.0 50e009df2dbecf7a53fcefee6b137358
bcmwl5.sys 3.10.53.6 b43c593fd7c2a47cdc40580fe341f674
bcmwl5.sys 3.20.21.0 595a1b9c589b5d969b08c49c15649609
bcmwl5.sys 3.20.23.0 1b1cf5e962c15abca83d1ef2b3906e2f
bcmwl5.sys 3.20.26.0 a8be5b44170d7d1fbdb4dac89d2dacda
bcmwl5.sys 3.30.15.0 ebf36d658d0da5b1ea667fa403919c26
bcmwl5.sys 3.30.15.1 b3b3936d52a38b0257ffc7acf2d69a54
bcmwl5.sys 3.40.20.0 0c3fc803184f6f85e665dd012611225b
bcmwl5.sys 3.40.25.3 5e58a3148b98c9f356cde6049435cb21
bcmwl5.sys 3.40.65.0 ba58cf7f9e8243f19c3eed2f2dcec770
bcmwl5.sys 3.40.69.0 6b670978465408373ae70ab19d70ba7e
bcmwl5.sys 3.40.73.0 52d67c5465c01913b03b7daca0cc4077
bcmwl5.sys 3.40.100.0 431195b941dff794f23c2077fcbf8377
bcmwl5.sys 3.50.21.10 7e5c80e858ce5f9f273017e8fecf12fe
bcmwl5.sys 3.50.21.11 ae96075a3aed5c40f1ead477ea94acd7
bcmwl5.sys 3.60.7.0 c5616736df4e83930780dca5795387ca
bcmwl5.sys 3.60.7.5 d2ae116c741c215ef3ef68603db9917f
bcmwl5.sys 3.70.12.0 d409b089370486521d5408baed9bffde
bcmwl5.sys 3.70.17.0 d87b4e14e890091d8e64fb5c570cf192
bcmwl5.sys 3.70.22.0 185a6dc6d655dc31c0b228cc94fb99ac
bcmwl5.sys 3.90.16.0 980a7b1e46a368edbeff944ec22f30ad
bcmwl5.sys 3.90.41.1 0a87541dd24c6f046a4bf8f671f74de2
bcmwl5.sys 3.94.41.1 b553a59b798f398975083e240f9d0dcf
bcmwl5.sys 3.94.41.2 904f2564fbdf2313bec37d5f7116ed05
bcmwl5.sys 3.100.35.0 c3ab2d6954c7b5103770832a3a6a591b
bcmwl5.sys 3.100.35.1 da7ca369a1a3593ceac85dec2d267a08
bcmwl5.sys 3.100.46.0 38ca1443660d0f5f06887c6a2e692aeb
bcmwl5.sys 3.100.64.0 e7debb46b9ef1f28932e533be4a3d1a9
bcmwl5.sys 3.100.64.50 4b3e367b829b9b2c0c088909a617e04e
bcmwl5.sys 3.100.65.1 d5f1ab1aab8b81bca6f19da9554a267a
bcmwl5.sys 3.104.64.50 12554a8f91c5d565b96b6ebcfeb6a91a
bcmwl5.sys 3.104.64.52 3ccb53e4f0f5e9f4ae270cb2924cb941
bcmwl5.sys 3.120.27.0 8d49f11238815a320880fee9f98b2c92
bcmwl5.sys 3.140.16.0 fa4a4a50b4b2647afedc676cc68c69cc
bcmwl5.sys 4.10.23.2 cc04de6690d2f15c7fe2095a476141ba
bcmwl5.sys 4.10.40.0 30d20fc98bcfd52e1da778cf19b223d4
bcmwl5.sys 4.10.40.1 69f940672be0ecee5bd1e905706ba8ce
bcmwl5.sys 4.10.47.2 2b87cd8a92bc5003067534aba4349db0
bcmwl5.sys 4.40.19.0 114234fafec7060392195170e1c4d45e
bcmwl5.sys 4.80.5.0 4e89609eac698835250acd02851cc594
bcmwl5.sys 4.80.9.0 85fb2a9069a3cdef3a591606844d0036
bcmwl5.sys 4.80.9.2 2ee34b694d1ce077678662d7884f6c79
bcmwl5.sys 4.80.17.0 90ef35fb5ae531420577c8f40d8a16f5
bcmwl5.sys 4.80.28.2 5538cd4cadc0ed0c0295192fd041860d
bcmwl5.sys 4.80.28.7 3003c21e5e1f04ba84fc8e705a65db2b
bcmwl5.sys 4.80.46.0 c50861ee37c900bfbc666d49439dc778
bcmwl5.sys 4.80.53.0 e8814dbec973681ae2b2e502ed1a8f44
bcmwl5.sys 4.100.15.5 b89bcf0a25aeb3b47030ac83287f894a
bcmwl564.sys 3.70.17.5 f5590c8784b91dfd9ee092d3040b6e40
bcmwl564.sys 3.100.64.10 b8d76da338ecf2c650f5f7ca226ccf89
bcmwl564.sys 4.10.23.2 7f4786fb45f509d8c2808b6e423addf1
bcmwl564.sys 4.40.19.0 68f48a63a827a87bc04f6c8763228054
bcmwl564.sys 4.80.9.2 c24bb2a1207a6f2c0ed79e2463df9dea
bcmwl564.sys 4.80.17.0 4cf95baf3c3011e4c59d37336e50be57
bcmwl564.sys 4.80.28.2 038dedd70e8ddfe2b241c75b0d8c1633
bcmwl564.sys 4.100.15.5 feaf7ec9f38a37945b6fb169617ec859
bcmwl5a.sys 3.90.16.0 e6d927deea6c75bddf84080e6c3837b7
d11ucode.o 3.31.16.0 ? 31e6cac8a8129bf8f91291293e017329
d11ucode.o 3.50.21.10 2781ba96ee69bffd316315240be1f35b
d11ucode.o 3.60.7.0 ? (1.3.2) 7774e5dda1daa2b3f83d279552ca1cc4
d11ucode.o 3.60.13.0 020a36ac61eff3fc833489f7b4dc0a8a
d11ucode.o 3.90.7.0 b2580361620881b06fa810422ec8b7ce
d11ucode.o 3.90.37.0 2543935259739a8a879ccb8386647ac7
wl.o 3.31.15.0 a85af65b5ae1d64ee11eab714faab843
wl.o 3.31.15.0 98dd50a95b02c8bcb3725c770df81dfc
wl.o 3.50.21.0 f71be0e1d14f68c98d916465a300d835
wl.o 3.50.21.10 191029d5e7097ed7db92cbd6e6131f85
wl.o 3.60.7.0 ? (1.3.2.0) 7009220d84c445797443aa0221b7d8a4
wl.o 3.60.13.0 275dd4958eb94058d4650f58d534c635
wl.o 3.60.13.0 4f20653a0b7c0bb3bd1ee0dd79f77785
wl.o 3.90.7.0 f15b59ad4d6f6ad2c7f45193d033aff8
wl.o 3.90.23.0 2bbeb870cf50b1231b9fd61e320aee19
wl.o 3.90.37.0 984c42947552652d5ab61b78e7d12227
wl.o 3.90.38.0 cdcdefb185700461a207d9671c6c501f
wl.o 3.130.20.0 9b39b50b7b4c02115c348d645878ab2d
wl.o 4.80.9.1 c3bf18125b65de73f2d6b68dd63d60cf
wl.o 4.80.9.1 de3a5d0d4a795cf85dc706f75ac4c56d
wl_ap.o 3.31.16.0 463633e7bf0efc6c0f8eac2514a71024
wl_ap.o 3.90.7.0 e0b96342c6a48a7eee8b4423fcb65b63
wl_ap.o 3.90.37.0 0538296d46a854d2facc9a0db2088180
wl_ap.o 3.90.37.0 6c9073531a528dd455b716b5e821e696
wl_ap.o 3.130.20.0 1e3a8bb0b994a929ef38da3a5a29155b
wl_ap.o 4.80.9.2 dc87fafbb53fc70ca161be3de97b5be1
wl_ap.o 4.80.17.0 5f698bc71300590208dcfe86e8dde860
wl_apsta.o 3.31.16.0 22b90e4cbeee45ad7f78ff536c65712a
wl_apsta.o 3.31.16.0 dfce35a8b5cb6e53e1ab75342c7e7194
wl_apsta.o 3.90.7.0 8aec09b7cf92538182729eddc6d89d97
wl_apsta.o 3.90.37.0 2922e6c48917eacd6c8c094347d2ec4b
wl_apsta.o 3.90.37.0 f9fa565a766e8befeb495a8a8c0c134b
wl_apsta.o 3.130.20.0 e08665c5c5b66beb9c3b2dd54aa80cb3
wl_apsta.o 3.130.35.0 e88dbfc4dfeff43ce9028c74bd0088c7
wl_apsta.o 4.80.9.1 5cc3774df07ef15506d08e45fab9b691
wl_apsta.o 4.80.9.1 cfc06ff322a4e3024bc4040ebe3d1bb9
wl_apsta.o 4.80.9.2 2b353750e7063949fa08951370c8b06b
wl_apsta.o 4.80.17.0 1fb9e0cc7613ccb82c8e2da3da888ed1
wl_apsta.o 4.80.53.0 9207bc565c2fc9fa1591f6c7911d3fc0
wl_sta.o 3.31.16.0 c3e663cb78b2fc299088de69fc11a9a9
wl_sta.o 3.90.7.0 df4eeee4c50323c823527084cbac7935
wl_sta.o 3.90.37.0 4631d4d4c3ab943462e1ea24f4dba7bd
wl_sta.o 3.90.37.0 bf824b38b3993e0a8b5a9bf717c428ed
wl_sta.o 3.130.20.0 dbe071c3090297c1014c1c7f56d655ce
wl_sta.o 4.80.9.2 a4a396c45a4e88526fa8a8baca681cd3
wl_sta.o 4.80.17.0 30e0f1a8fea33d4869e1a45ed3a91b1b
wl96345GW.o_save 3.91.41.0 1b1b9cdceccf0758a6bb21371edfe011
wl96348GW.o_save 3.91.41.0 4578369ebe849f268b464d7fb3d1ea6b
wl96348GW.o_save 3.91.41.0 4b64e7bf6b308cd8433ba5f04a091a79
wl96348GW.o_save 3.131.35.0 4af53099070fc26a755c42e86c824003
wl96348GWV_DT.o_save 3.91.41.0 e48ecf90086e48061f49cd4af2c158b3


So what next? Would really appreciate some help

.
 
Old 05-17-2007, 12:58 AM   #2
intricatic
LQ Newbie
 
Registered: Aug 2005
Location: Plantation, Florida USA
Distribution: Ubuntu Feisty, Gentoo, DragonflyBSD
Posts: 23

Rep: Reputation: 15
I usually use ndiswrapper...

I've always found it to be a lot easier to work with, so I'm not sure how to go about it with fwcutter. If you want a quick walkthrough with ndiswrapper, I might be able to swing that, though.

Last edited by intricatic; 05-17-2007 at 12:59 AM.
 
Old 05-17-2007, 08:54 AM   #3
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
That'd be great thanks. I'm certainly not tied to any one method, I just want to get the wireless working.

I'm in US mountain time zone and will be home to continue this evening, in the meantime is there a good place to start reading about the ndiswrapper method?
 
Old 05-17-2007, 11:51 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
@SyCo123,

You're mixing up the instructions from two drivers. Ndiswrapper requires itself and a Windows driver and nothing else. The bcm43xx driver requires firmware you create with fwcutter. The 4318 chipset you've got doesn't work very well with bcm43xx, so I would suggest that you use ndiswrapper. That means you need to do two things:

1) Visit the ndiswrapper wiki (see my sig for the link). They have excellent installation instructions there.

2) You need to blacklist the bcm43xx driver by adding the line blacklist bcm43xx to your /etc/modprobe.d/blacklist file. That prevents bcm43xx from being loaded at boot. The reason you need to do this is that bcm43xx and ndiswrapper can't be loaded at the same time. They will interfere with each other.
 
Old 05-17-2007, 01:23 PM   #5
intricatic
LQ Newbie
 
Registered: Aug 2005
Location: Plantation, Florida USA
Distribution: Ubuntu Feisty, Gentoo, DragonflyBSD
Posts: 23

Rep: Reputation: 15
What he said.

It's not really that complicated, you just have to make sure you have the right firmware - you have to get firmware for the right chipset.

lspci -n should tell you what chipset you're using like this;

Example on my laptop, lspci alone gives me this output -- 02:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

lspci -n gives me this output for the above card;

02:03.0 0280: 14e4:4318 (rev 02)

The second column is the PCI ID. That's the chipset on this card (14e4:4318).
 
Old 05-17-2007, 02:19 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by intricatic
What he said.

It's not really that complicated, you just have to make sure you have the right firmware - you have to get firmware for the right chipset.
Uh, not really. He is using ndiswrapper, in which case firmware never enters the picture. There are two drivers for this chipset, he needs to keep them straight, and not doing so leads to trouble.

Quote:
Originally Posted by intricatic
lspci -n should tell you what chipset you're using like this;
Yeah, and he already posted his lspci output. We know he's got a 4318, which means he should probably use ndiswrapper.
 
Old 05-17-2007, 03:05 PM   #7
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks for your help guys. I'll read up and let you know how it goes.
 
Old 05-17-2007, 11:05 PM   #8
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

06:02.0 0280: 14e4:4318 (rev 02)

I think i installed ndiswrapper ok. Only way i know how to check is with locate, is there another way?

dieu@ubuntu:~/Desktop/ndiswrapper-1.44$ locate ndiswrapper
/home/dieu/Desktop/ndiswrapper_setup
/usr/src/linux-headers-2.6.20-15/ubuntu/misc/ndiswrapper
/usr/src/linux-headers-2.6.20-15/ubuntu/misc/ndiswrapper/Makefile
/usr/src/linux-headers-2.6.20-15-generic/include/config/ndiswrapper
/usr/src/linux-headers-2.6.20-15-generic/include/config/ndiswrapper/wq.h
/usr/src/linux-headers-2.6.20-15-generic/include/config/ndiswrapper.h
/lib/modules/2.6.20-15-generic/kernel/ubuntu/misc/ndiswrapper
/lib/modules/2.6.20-15-generic/kernel/ubuntu/misc/ndiswrapper/ndiswrapper.ko
dieu@ubuntu:~/Desktop/ndiswrapper-1.44$

A search for the windows driver of the 'list' here
http://ndiswrapper.sourceforge.net/
returns no results even though this pci id is all over google

It's even the same pci id in the tut i stumbled onto on this site
http://www.linuxquestions.org/linux/...ltimate_Guide/
 
Old 05-18-2007, 07:18 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you don't know the make/model of your wireless card, then you probably can use the drivers that came with your computer, or you can check the HP site for drivers.
 
Old 05-18-2007, 09:03 AM   #10
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
I've found this sp33008.exe but as it a .exe I'm not sure if this is what I'm after?

From page
http://h10025.www1.hp.com/ewfrf/wc/s...os=228&lang=en
 
Old 05-18-2007, 11:10 AM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
That certainly has the right look and feel to it. I'd give it a go.

A lot of .exe archives are self-extracting zip files, and the Linux unzip command frequently can handle them. So try unzip sp33008.exe and see what happens. If it doesn't work, you're going to need to extract this on a Windows box and copy the drivers to someplace Linux can reach them.
 
Old 05-20-2007, 06:13 PM   #12
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
So I've found the drivers I think. However I had an error that ndiswrapper wasnt installed so i've uninstalled and am trying to install again but now I have an error with loadndisdriver.

Similar error here
http://forums.techguy.org/unix-linux...ke-i-need.html

But a the end of whats below then you'll see locate and find turned up nothing so stuck again.\

Here's the whole ndiswrapper install printout following the instructions in the wiki.


simon@ubuntu:~/Desktop/ndiswrapper-1.44$ sudo make distclean
make -C driver clean
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
rm -rf ndiswrapper.ko ndiswrapper.o crt.o hal.o iw_ndis.o loader.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o rtl.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o win2lin_stubs.o \
divdi3.o workqueue.o .*.ko.cmd .*.o.cmd \
ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C utils clean
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
rm -f *~
rm -fr ndiswrapper-1.44 ndiswrapper-1.44.tar.gz patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
rm -rf ndiswrapper.ko ndiswrapper.o crt.o hal.o iw_ndis.o loader.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o rtl.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o win2lin_stubs.o \
divdi3.o workqueue.o .*.ko.cmd .*.o.cmd \
ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
rm -f *_exports.h .\#* win2lin_stubs.h built-in.o
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C utils distclean
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
rm -f .\#*
simon@ubuntu:~/Desktop/ndiswrapper-1.44$ sudo make
make -C driver
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/simon/Desktop/ndiswrapper-1.44/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
LD /home/simon/Desktop/ndiswrapper-1.44/driver/built-in.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/crt.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/hal.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/iw_ndis.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/loader.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/ndis.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/ntoskernel.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/ntoskernel_io.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/pe_linker.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/pnp.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/proc.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/rtl.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/wrapmem.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/wrapndis.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/wrapper.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/usb.o
CC [M] /home/simon/Desktop/ndiswrapper-1.44/driver/divdi3.o
LD [M] /home/simon/Desktop/ndiswrapper-1.44/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/simon/Desktop/ndiswrapper-1.44/driver/ndiswrapper.mod.o
LD [M] /home/simon/Desktop/ndiswrapper-1.44/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C utils
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
loadndisdriver.c:15:20: error: stdlib.h: No such file or directory
loadndisdriver.c:16:19: error: stdio.h: No such file or directory
loadndisdriver.c:17:19: error: errno.h: No such file or directory
loadndisdriver.c:18:20: error: string.h: No such file or directory
loadndisdriver.c:19:20: error: libgen.h: No such file or directory
loadndisdriver.c:21:22: error: sys/mman.h: No such file or directory
loadndisdriver.c:23:23: error: sys/types.h: No such file or directory
loadndisdriver.c:24:23: error: sys/ioctl.h: No such file or directory
loadndisdriver.c:25:22: error: sys/stat.h: No such file or directory
loadndisdriver.c:26:20: error: unistd.h: No such file or directory
loadndisdriver.c:27:19: error: fcntl.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
from loadndisdriver.c:28:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
loadndisdriver.c:29:19: error: ctype.h: No such file or directory
loadndisdriver.c:30:20: error: dirent.h: No such file or directory
loadndisdriver.c:31:20: error: syslog.h: No such file or directory
loadndisdriver.c:34:25: error: linux/major.h: No such file or directory
loadndisdriver.c:35:25: error: linux/ioctl.h: No such file or directory
In file included from loadndisdriver.c:37:
../driver/loader.h:24: error: expected specifier-qualifier-list before ‘size_t’
loadndisdriver.c: In function ‘load_file’:
loadndisdriver.c:67: error: ‘size_t’ undeclared (first use in this function)
loadndisdriver.c:67: error: (Each undeclared identifier is reported only once
loadndisdriver.c:67: error: for each function it appears in.)
loadndisdriver.c:67: error: expected ‘;’ before ‘size’
loadndisdriver.c:68: error: ‘NULL’ undeclared (first use in this function)
loadndisdriver.c:69: error: storage size of ‘statbuf’ isn’t known
loadndisdriver.c:71: warning: implicit declaration of function ‘basename’
loadndisdriver.c:71: warning: initialization makes pointer from integer without a cast
loadndisdriver.c:73: warning: implicit declaration of function ‘open’
loadndisdriver.c:73: error: ‘O_RDONLY’ undeclared (first use in this function)
loadndisdriver.c:75: warning: implicit declaration of function ‘syslog’
loadndisdriver.c:75: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:75: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:75: warning: implicit declaration of function ‘strerror’
loadndisdriver.c:75: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:76: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:79: warning: implicit declaration of function ‘fstat’
loadndisdriver.c:81: warning: implicit declaration of function ‘close’
loadndisdriver.c:84: error: ‘size’ undeclared (first use in this function)
loadndisdriver.c:86: warning: implicit declaration of function ‘mmap’
loadndisdriver.c:86: error: ‘PROT_READ’ undeclared (first use in this function)
loadndisdriver.c:86: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
loadndisdriver.c:86: warning: assignment makes pointer from integer without a cast
loadndisdriver.c:87: error: ‘MAP_FAILED’ undeclared (first use in this function)
loadndisdriver.c:93: warning: implicit declaration of function ‘strncpy’
loadndisdriver.c:93: warning: incompatible implicit declaration of built-in function ‘strncpy’
loadndisdriver.c:95: error: ‘struct load_driver_file’ has no member named ‘size’
loadndisdriver.c:96: error: ‘struct load_driver_file’ has no member named ‘data’
loadndisdriver.c:69: warning: unused variable ‘statbuf’
loadndisdriver.c: In function ‘parse_setting_line’:
loadndisdriver.c:109: warning: implicit declaration of function ‘isspace’
loadndisdriver.c:115: warning: implicit declaration of function ‘strchr’
loadndisdriver.c:115: warning: incompatible implicit declaration of built-in function ‘strchr’
loadndisdriver.c:115: error: ‘NULL’ undeclared (first use in this function)
loadndisdriver.c:117: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:117: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:118: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:138: warning: implicit declaration of function ‘strlen’
loadndisdriver.c:138: warning: incompatible implicit declaration of built-in function ‘strlen’
loadndisdriver.c: In function ‘read_conf_file’:
loadndisdriver.c:150: error: storage size of ‘statbuf’ isn’t known
loadndisdriver.c:151: error: ‘FILE’ undeclared (first use in this function)
loadndisdriver.c:151: error: ‘config’ undeclared (first use in this function)
loadndisdriver.c:157: warning: implicit declaration of function ‘lstat’
loadndisdriver.c:158: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:158: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:158: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:160: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:163: warning: implicit declaration of function ‘sscanf’
loadndisdriver.c:163: warning: incompatible implicit declaration of built-in function ‘sscanf’
loadndisdriver.c:178: warning: implicit declaration of function ‘fopen’
loadndisdriver.c:178: error: ‘NULL’ undeclared (first use in this function)
loadndisdriver.c:182: warning: implicit declaration of function ‘fgets’
loadndisdriver.c:194: warning: incompatible implicit declaration of built-in function ‘strncpy’
loadndisdriver.c:205: warning: implicit declaration of function ‘fclose’
loadndisdriver.c:150: warning: unused variable ‘statbuf’
loadndisdriver.c: In function ‘load_bin_file’:
loadndisdriver.c:217: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:217: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:219: warning: implicit declaration of function ‘tolower’
loadndisdriver.c:221: warning: implicit declaration of function ‘chdir’
loadndisdriver.c:222: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:224: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:230: warning: incompatible implicit declaration of built-in function ‘strncpy’
loadndisdriver.c:232: warning: implicit declaration of function ‘ioctl’
loadndisdriver.c:232: warning: implicit declaration of function ‘_IOW’
loadndisdriver.c:232: error: expected expression before ‘struct’
loadndisdriver.c: In function ‘load_driver’:
loadndisdriver.c:249: error: ‘DIR’ undeclared (first use in this function)
loadndisdriver.c:249: error: ‘driver_dir’ undeclared (first use in this function)
loadndisdriver.c:251: error: ‘NULL’ undeclared (first use in this function)
loadndisdriver.c:255: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:255: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:257: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:259: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:261: warning: implicit declaration of function ‘opendir’
loadndisdriver.c:267: warning: implicit declaration of function ‘malloc’
loadndisdriver.c:267: warning: incompatible implicit declaration of built-in function ‘malloc’
loadndisdriver.c:271: warning: implicit declaration of function ‘memset’
loadndisdriver.c:271: warning: incompatible implicit declaration of built-in function ‘memset’
loadndisdriver.c:272: warning: incompatible implicit declaration of built-in function ‘strncpy’
loadndisdriver.c:280: warning: implicit declaration of function ‘readdir’
loadndisdriver.c:280: warning: assignment makes pointer from integer without a cast
loadndisdriver.c:282: error: storage size of ‘statbuf’ isn’t known
loadndisdriver.c:284: error: dereferencing pointer to incomplete type
loadndisdriver.c:287: warning: implicit declaration of function ‘stat’
loadndisdriver.c:287: error: dereferencing pointer to incomplete type
loadndisdriver.c:288: warning: implicit declaration of function ‘S_ISREG’
loadndisdriver.c:289: error: dereferencing pointer to incomplete type
loadndisdriver.c:294: warning: incompatible implicit declaration of built-in function ‘strlen’
loadndisdriver.c:294: error: dereferencing pointer to incomplete type
loadndisdriver.c:296: warning: implicit declaration of function ‘strcasecmp’
loadndisdriver.c:296: error: dereferencing pointer to incomplete type
loadndisdriver.c:299: error: dereferencing pointer to incomplete type
loadndisdriver.c:302: error: dereferencing pointer to incomplete type
loadndisdriver.c:303: error: dereferencing pointer to incomplete type
loadndisdriver.c:305: error: dereferencing pointer to incomplete type
loadndisdriver.c:311: error: dereferencing pointer to incomplete type
loadndisdriver.c:312: error: dereferencing pointer to incomplete type
loadndisdriver.c:313: warning: implicit declaration of function ‘strcpy’
loadndisdriver.c:313: warning: incompatible implicit declaration of built-in function ‘strcpy’
loadndisdriver.c:314: error: dereferencing pointer to incomplete type
loadndisdriver.c:317: error: ‘struct load_driver_file’ has no member named ‘size’
loadndisdriver.c:318: error: ‘struct load_driver_file’ has no member named ‘data’
loadndisdriver.c:321: error: dereferencing pointer to incomplete type
loadndisdriver.c:282: warning: unused variable ‘statbuf’
loadndisdriver.c:344: error: expected expression before ‘struct’
loadndisdriver.c:346: warning: implicit declaration of function ‘closedir’
loadndisdriver.c:348: warning: implicit declaration of function ‘free’
loadndisdriver.c:355: warning: implicit declaration of function ‘munmap’
loadndisdriver.c:355: error: ‘struct load_driver_file’ has no member named ‘data’
loadndisdriver.c:355: error: ‘struct load_driver_file’ has no member named ‘size’
loadndisdriver.c:357: error: ‘struct load_driver_file’ has no member named ‘data’
loadndisdriver.c:357: error: ‘struct load_driver_file’ has no member named ‘size’
loadndisdriver.c: In function ‘get_device’:
loadndisdriver.c:367: error: storage size of ‘statbuf’ isn’t known
loadndisdriver.c:370: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:370: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:373: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:374: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:376: warning: implicit declaration of function ‘snprintf’
loadndisdriver.c:376: warning: incompatible implicit declaration of built-in function ‘snprintf’
loadndisdriver.c:407: warning: incompatible implicit declaration of built-in function ‘strncpy’
loadndisdriver.c:367: warning: unused variable ‘statbuf’
loadndisdriver.c: In function ‘load_device’:
loadndisdriver.c:419: error: ‘DIR’ undeclared (first use in this function)
loadndisdriver.c:419: error: ‘dir’ undeclared (first use in this function)
loadndisdriver.c:423: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:423: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:424: warning: incompatible implicit declaration of built-in function ‘memset’
loadndisdriver.c:426: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:427: error: ‘EINVAL’ undeclared (first use in this function)
loadndisdriver.c:429: error: ‘NULL’ undeclared (first use in this function)
loadndisdriver.c:434: warning: assignment makes pointer from integer without a cast
loadndisdriver.c:435: error: dereferencing pointer to incomplete type
loadndisdriver.c:436: error: dereferencing pointer to incomplete type
loadndisdriver.c:439: error: dereferencing pointer to incomplete type
loadndisdriver.c:447: error: expected expression before ‘struct’
loadndisdriver.c: In function ‘get_ioctl_device’:
loadndisdriver.c:464: error: ‘FILE’ undeclared (first use in this function)
loadndisdriver.c:464: error: ‘proc_misc’ undeclared (first use in this function)
loadndisdriver.c:472: warning: implicit declaration of function ‘strstr’
loadndisdriver.c:472: warning: incompatible implicit declaration of built-in function ‘strstr’
loadndisdriver.c:473: warning: implicit declaration of function ‘strtol’
loadndisdriver.c:473: error: ‘NULL’ undeclared (first use in this function)
loadndisdriver.c:483: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:483: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:488: warning: implicit declaration of function ‘unlink’
loadndisdriver.c:489: warning: implicit declaration of function ‘mknod’
loadndisdriver.c:489: error: ‘S_IFCHR’ undeclared (first use in this function)
loadndisdriver.c:489: error: ‘MISC_MAJOR’ undeclared (first use in this function)
loadndisdriver.c:490: error: ‘errno’ undeclared (first use in this function)
loadndisdriver.c:495: error: ‘O_RDONLY’ undeclared (first use in this function)
loadndisdriver.c: In function ‘main’:
loadndisdriver.c:511: warning: implicit declaration of function ‘openlog’
loadndisdriver.c:511: error: ‘LOG_PERROR’ undeclared (first use in this function)
loadndisdriver.c:511: error: ‘LOG_CONS’ undeclared (first use in this function)
loadndisdriver.c:511: error: ‘LOG_KERN’ undeclared (first use in this function)
loadndisdriver.c:511: error: ‘LOG_DEBUG’ undeclared (first use in this function)
loadndisdriver.c:513: error: ‘LOG_INFO’ undeclared (first use in this function)
loadndisdriver.c:515: warning: implicit declaration of function ‘strncmp’
loadndisdriver.c:517: warning: implicit declaration of function ‘printf’
loadndisdriver.c:517: warning: incompatible implicit declaration of built-in function ‘printf’
loadndisdriver.c:527: warning: implicit declaration of function ‘atoi’
loadndisdriver.c:542: warning: implicit declaration of function ‘atof’
loadndisdriver.c:549: warning: implicit declaration of function ‘strcmp’
loadndisdriver.c:556: warning: incompatible implicit declaration of built-in function ‘sscanf’
loadndisdriver.c:590: warning: implicit declaration of function ‘closelog’
make[1]: *** [loadndisdriver] Error 1
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
make: *** [all] Error 2
simon@ubuntu:~/Desktop/ndiswrapper-1.44$ find . -name "stdlib.h" -print
simon@ubuntu:~/Desktop/ndiswrapper-1.44$ locate stdlib.h
simon@ubuntu:~/Desktop/ndiswrapper-1.44$
 
Old 05-20-2007, 06:27 PM   #13
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
I'm reading this
http://ubuntuforums.org/showthread.php?p=2071292
Look like im missing the header packages.

http://packages.ubuntu.com/ is down right now too, damm!
 
Old 05-20-2007, 06:39 PM   #14
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
found this command

sudo apt-get install build-essential

It will install missing libraries (and gcc)

another go at installing appears to have worked

Code:
simon@ubuntu:~/Desktop/ndiswrapper-1.44$ sudo make
make -C driver
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/simon/Desktop/ndiswrapper-1.44/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C utils
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
simon@ubuntu:~/Desktop/ndiswrapper-1.44$ sudo make install
make -C driver install
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/simon/Desktop/ndiswrapper-1.44/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
echo /lib/modules/2.6.20-15-generic/misc
/lib/modules/2.6.20-15-generic/misc
mkdir -p /lib/modules/2.6.20-15-generic/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.20-15-generic/misc
/sbin/depmod -a 2.6.20-15-generic -b /
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/driver'
make -C utils install
make[1]: Entering directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/simon/Desktop/ndiswrapper-1.44/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
install -m 644 loadndisdriver.8 /usr/share/man/man8
simon@ubuntu:~/Desktop/ndiswrapper-1.44$
So will continue trying with ndiswrapper wiki instructions and will let you know how it goes!

Last edited by SyCo123; 05-20-2007 at 08:38 PM.
 
Old 05-20-2007, 08:38 PM   #15
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
Look like I'm getting somewhere!!

Code:
simon@ubuntu:~$ ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: bcm43xx)
simon@ubuntu:~$
I've rebooted but no wireless light.
System>Administration>Network has no mention of a wireless connection either.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 12:53 PM
Broadcom 4318 woes poblano Linux - Wireless Networking 4 11-13-2006 02:12 AM
[FC-6 x86_64] Broadcom Corporation Dell Wireless 1390 woes homer420 Linux - Laptop and Netbook 2 11-02-2006 01:54 PM
HP Laptop, Broadcom 54G Woes. Noctaire Mandriva 3 12-04-2005 11:50 AM
wireless problems; Broadcom 802.11G Mini PCI Wireless with redhat WS surfbass Linux - Laptop and Netbook 1 12-17-2004 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration