View previous topic :: View next topic |
Author |
Message |
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Thu May 13, 2004 3:59 pm Post subject: Compiling ndiswrapper kernel sources error |
|
|
When I make:
env ACCEPT_KEYWORDS="~x86" emerge ndiswrapper
it crash with this error:
Code: |
make[1]: Entering directory `/var/tmp/portage/ndiswrapper-0.6-r1/work/ndiswrapper-0.6/driver'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
You don't seem to have sources for your kernel; install them in /usr/src, link //usr/src/linux to it and try again.
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/var/tmp/portage/ndiswrapper-0.6-r1/work/ndiswrapper-0.6/driver'
make: *** [all] Error 2
!!! ERROR: net-wireless/ndiswrapper-0.6-r1 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
|
and I have kernel source in /usr/src:
ls -l /usr/src
Code: |
total 12
lrwxr-xr-x 1 root root 22 May 13 17:50 linux -> linux-2.6.5-gentoo-r1/
drwxr-xr-x 16 573 573 4096 May 8 19:15 linux-2.4.25
drwxr-xr-x 18 root root 4096 May 13 13:36 linux-2.6.5-gentoo
drwxr-xr-x 18 root root 4096 May 12 18:34 linux-2.6.5-gentoo-r1
|
Can anybody help me? lot of thanks. |
|
Back to top |
|
|
pasquale n00b
Joined: 05 Dec 2003 Posts: 26 Location: Knoxville, TN
|
Posted: Fri May 14, 2004 3:12 pm Post subject: ndiswrapper problems |
|
|
Hi,
you should try to download and install ndiswrapper 0.7 from their website on sourceforge. this is the version i am using and it worked fine without any problems.
i'm not sure why the emerge fails, but i know the newer the version of ndiswrapper software the better it works. they do a lot of changes in each version.
hope this helps somewhat.
cheers _________________ If you enjoy using your computer, your probably on linux. |
|
Back to top |
|
|
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Mon May 17, 2004 8:01 am Post subject: It works but... |
|
|
Thanks for your idea, I made an ebuild for 0.7 version and it compiles fine but when I load ndiswrapper and ndiswrapper module, all seems well but when I run 'iwconfig' it doesn't show me my wireless interface.
How can I debug this? |
|
Back to top |
|
|
pasquale n00b
Joined: 05 Dec 2003 Posts: 26 Location: Knoxville, TN
|
Posted: Tue May 18, 2004 1:51 am Post subject: Debugging application |
|
|
I'm not sure the best way to debug this..
you can check to make sure the modules are loaded with "lsmod"
you can check your internet connection with "iwconfig"
you can check the connection in general with "ifconfig"
you can check to see if you can connect to the internet with "dhcpcd"
you can check the wireless card driver with "lspci"
you can check the driver loaded with "ndiswrapper -l"
hope this helps somewhat...
let me know if you need more help and i will see what i can come up with _________________ If you enjoy using your computer, your probably on linux. |
|
Back to top |
|
|
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Tue May 18, 2004 8:12 am Post subject: Debug info |
|
|
PCI device:
Code: |
mini2 root # lspci | grep BCM94306
0000:02:04.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03)
|
Loading ndiswrapper:
Code: |
mini2 root # ndiswrapper -i /usr/lib/hotplug/drivers/bcmwl5.inf
Installing bcmwl5
mini2 root # ndiswrapper -l
Installed ndis drivers:
bcmwl5 present
|
Loading module:
Code: |
mini2 root # modprobe ndiswrapper
mini2 root # lsmod | grep ndiswrapper
ndiswrapper 68288 0
|
iwconfig and ifconfig:
Code: |
mini2 root # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
mini2 root # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0F:1F:43:42:E3
inet addr:192.168.2.111 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:629954 errors:0 dropped:0 overruns:0 frame:0
TX packets:402604 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:367915754 (350.8 Mb) TX bytes:67271330 (64.1 Mb)
Interrupt:11
eth1 Link encap:UNSPEC HWaddr 00-06-5B-40-04-FC-82-E3-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1854 errors:0 dropped:0 overruns:0 frame:0
TX packets:1854 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:92784 (90.6 Kb) TX bytes:92784 (90.6 Kb)
|
kernel info:
Code: |
mini2 root # dmesg
...
eth0: Tigon3 [partno(BCM95705A50) rev 3001 PHY(5705)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:0f:1f:43:42:e3
eth0: HostTXDS[1] RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
ip1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
...
ndiswrapper version 0.7 loaded
|
and now??? I don't know... thanks for your help. |
|
Back to top |
|
|
pasquale n00b
Joined: 05 Dec 2003 Posts: 26 Location: Knoxville, TN
|
Posted: Wed May 19, 2004 12:13 am Post subject: now what |
|
|
okay, i hope this helps..
what connection device is eth1, is that your wireless device?
i will see if i can find anything tommorrow when i have some time, if not i'll post what i got... _________________ If you enjoy using your computer, your probably on linux. |
|
Back to top |
|
|
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Wed May 19, 2004 6:45 am Post subject: No it isn't |
|
|
eth1 is my ethernet over IEEE1394 device.
kernel info (dmesg):
Code: |
ip1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
|
|
|
Back to top |
|
|
pasquale n00b
Joined: 05 Dec 2003 Posts: 26 Location: Knoxville, TN
|
Posted: Wed May 19, 2004 3:42 pm Post subject: more help |
|
|
hi,
i was setting up my laptop eth0 at work.
after it was plugged in and detected it didn't show up under ifconfig until i did a dhcpcd eth0...
have you tried after loading ndiswrapper to do dhcpcd on the wlan0 card yet?
if you need to do it manually, there is good information on how to setup a static IP in the gentoo handbook under manually setting up networking to continue the installation process.
let me know if this helps and i will try other things.
cheers,
Pasquale _________________ If you enjoy using your computer, your probably on linux. |
|
Back to top |
|
|
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Fri May 21, 2004 10:11 am Post subject: No work |
|
|
I tried it, but it doesn't work
|
|
Back to top |
|
|
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Sat May 22, 2004 5:34 pm Post subject: New error |
|
|
I disabled APCI option from my kernel options, and I have new error in kernel messages.
dmesg:
Code: |
ndiswrapper version 0.7 loaded
ndiswrapper adding bcmwl5.sys
wlan0: ndiswrapper ethernet device 00:90:96:a3:65:ec using driver bcmwl5.sys
wlan0 (WE) : Buffer for request 8B0B too small (308<564)
wlan0 (WE) : Buffer for request 8B0B too small (308<564)
wlan0 (WE) : Buffer for request 8B0B too small (308<564)
wlan0 (WE) : Buffer for request 8B0B too small (308<564)
wlan0 (WE) : Buffer for request 8B0B too small (308<564)
mtrr: base(0xe8020000) is not aligned on a size(0x300000) boundary
wlan0 (WE) : Buffer for request 8B0B too small (308<564)
|
but I look wlan0 interface:
Code: |
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:54Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
|
but I can't change essid, when I do: iwconfig wlan0 essid somthing doesn't change
Help please! the solution is near, isn't it? |
|
Back to top |
|
|
codedmart l33t
Joined: 18 Nov 2003 Posts: 647 Location: Not Quite Sure
|
Posted: Sat May 22, 2004 5:45 pm Post subject: |
|
|
This is the coding I used Code: | iwconfig wlan0 mode Managed
iwconfig wlan0 essid YOUR_ESSID
iwconfig wlan0 channel YOUR_CHANNEL |
is that what you are trying. |
|
Back to top |
|
|
youmin n00b
Joined: 07 Jan 2003 Posts: 24
|
Posted: Sat May 22, 2004 6:58 pm Post subject: :( |
|
|
I tried it but it doesn't work for me it is like until.
But thanks... |
|
Back to top |
|
|
|