View previous topic :: View next topic |
Author |
Message |
MishY Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 18 Mar 2004 Posts: 147
|
Posted: Wed Mar 24, 2004 8:07 pm Post subject: A ndiswrapper question [Solved] |
|
|
Hi,
I am using ndiswrapper-0.6 and have successfully got my truemobile 1300 working also with acpi enabled in kernel.
Currently after every reboot I have to do the following:
modprobe ndiswrapper
iwconfig wlan0 essid default
ifconfig wlan0 up
dhcpcd wlan0
Is there anyway which I can have this done at boot time ?
Last edited by MishY on Fri Mar 26, 2004 4:33 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Earthwings Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/49753421747790001d409d.png)
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Wed Mar 24, 2004 9:50 pm Post subject: |
|
|
The ndiswrapper package has already prepared it for you. You've got to run ebuild ... config and edit /etc/modules.d/ndiswrapper. Do a "grep einfo <path-to-ndiswrapper-ebuild>" to find out how to do it in detail. Next edit /etc/conf.d/net and copy a net.wlan0 or net.eth0 or whatever to /etc/init.d and add it to the default runlevel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MishY Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 18 Mar 2004 Posts: 147
|
Posted: Thu Mar 25, 2004 1:22 am Post subject: |
|
|
Thank you for your reply Earthwings.
I am a little confused still...
I have no ndiswrapper file in:
/etc/modules.d/
Weird ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
latexer Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 05 Mar 2003 Posts: 239 Location: NYC
|
Posted: Thu Mar 25, 2004 5:07 am Post subject: |
|
|
The ebuild for ndiswrapper includes the file in /etc/modules.d/
I just bumped the version inportage to 0.6 for everyone. It's still marked ~x86 for testing though. hth. _________________ overlays - Use at your own risk. File bug reports on this stuff and i'll kick you in the junk. Ask me before asking upstream if these fail. I mean it. No, really.
#gentoo-dotnet on freenode |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MishY Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 18 Mar 2004 Posts: 147
|
Posted: Thu Mar 25, 2004 7:17 am Post subject: |
|
|
Thanks latexer - I got this error though when trying to install it:
bash-2.05b# emerge ndiswrapper-0.6.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-0.6 to /
>>> md5 src_uri ndiswrapper-0.6.tar.gz
>>> Unpacking source...
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.4-rc1 found in /usr/src/linux
>>> Unpacking ndiswrapper-0.6.tar.gz to /var/tmp/portage/ndiswrapper-0.6/work
>>> Source unpacked.
make -C driver
make[1]: Entering directory `/var/tmp/portage/ndiswrapper-0.6/work/ndiswrapper-0.6/driver'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make -C //usr/src/linux SUBDIRS=/var/tmp/portage/ndiswrapper-0.6/work/ndiswrapper-0.6/driver DRV_VERSION=0.6 modules
make[2]: Entering directory `/usr/src/linux-2.6.4-rc1'
CHK include/linux/version.h
ACCESS DENIED open_wr: /usr/src/linux-2.6.4-rc1/include/linux/version.h.tmp
/bin/sh: line 1: include/linux/version.h.tmp: Permission denied
UPD include/linux/version.h
mv: cannot stat `include/linux/version.h.tmp': No such file or directory
make[2]: *** [include/linux/version.h] Error 1
make[2]: Leaving directory `/usr/src/linux-2.6.4-rc1'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/ndiswrapper-0.6/work/ndiswrapper-0.6/driver'
make: *** [all] Error 2
!!! ERROR: net-wireless/ndiswrapper-0.6 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_ndiswrapper-0.6-4576.log"
open_wr: /usr/src/linux-2.6.4-rc1/include/linux/version.h.tmp
--------------------------------------------------------------------------------
bash-2.05b# |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Earthwings Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/49753421747790001d409d.png)
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Mar 25, 2004 9:05 am Post subject: |
|
|
You'll get that error for every package that uses the kernel-module eclass on 2.6 kernels. As a workaround it's possible to disable sandboxing in FEATURES - or wait some more days as latexer is working on a a new one I believe that will be released soon ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MishY Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 18 Mar 2004 Posts: 147
|
Posted: Thu Mar 25, 2004 7:20 pm Post subject: |
|
|
Sorry to appear nubbish (only had Gentoo installed for 4days)
How do I change that setting in FEATURES ? Is that a command or file ?
Thanks for your help ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MishY Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 18 Mar 2004 Posts: 147
|
Posted: Thu Mar 25, 2004 7:48 pm Post subject: |
|
|
ah got it
FEATURES="-*" emerge ndiswrapper-0.6.ebuild
Will see if this works ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
latexer Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 05 Mar 2003 Posts: 239 Location: NYC
|
Posted: Thu Mar 25, 2004 7:50 pm Post subject: |
|
|
MishY wrote: | Sorry to appear nubbish (only had Gentoo installed for 4days)
How do I change that setting in FEATURES ? Is that a command or file ?
Thanks for your help ![Smile :)](images/smiles/icon_smile.gif) |
Code: | # FEATURES="-sandbox -usersandbox" ACCEPT_KEYWORDS='~x86' emerge ndiswrapper" |
I just put 0.6 in, but i've not had time to update the /etc/modules.d/ndiswrapper to use the new ndiswrapper tool for things. that'll hopefully get fixed soon. _________________ overlays - Use at your own risk. File bug reports on this stuff and i'll kick you in the junk. Ask me before asking upstream if these fail. I mean it. No, really.
#gentoo-dotnet on freenode |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MishY Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Sumo.jpg)
Joined: 18 Mar 2004 Posts: 147
|
Posted: Fri Mar 26, 2004 4:33 am Post subject: |
|
|
I have managed to solve my original problem by using the scripts found here:
https://forums.gentoo.org/viewtopic.php?t=122435
Unfortunately I didn't have much like with the ndiswrapper-0.6 ebuild however I know its still being worked on so no matter
Thanks for your efforts guys ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|