LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-13-2006, 10:09 AM   #1
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Rep: Reputation: 15
ndiswrapper from Live-CD error


Hello,

i'm experiencing a little problem and i need some help to resolve this problem.

I'm running Auditor security from a live cd and i receive an error, here are my steps:

-i downloaded the windows driver (total of 24 files) and copied everything to the tmp directory.
- ndiswrapper -i bcmwl5.inf
-ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present

-ndiswrapper -m
something like root/bin/modules/auditor2.10./___ cannot write to file read acces only

-depmod -a
same error here


apparently i don't have writing permissions

i'm in root so i don't understant. I did the same procedures with Knoppix live cd and everything was fine

anyone has a hint

Thanks in advanceļ
Raffi
 
Old 02-13-2006, 10:21 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Most likely, the driver is trying to write to somewhere that's on the CD. Obviously, CDs are read-only, so this operation fails.
 
Old 02-13-2006, 10:38 AM   #3
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
Humm ok, i didn't know that location was on the CD.

so how can i make it to write the settings on the RAM and not on the cd ?

And also how come when doing the same operations with Knoppix, it didn't try to write it on the cd and everything went fine ???
 
Old 02-13-2006, 10:51 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Auditor and Knoppix may handle some things differently. Try creating a symbolic link from the directory it's trying to write to to somewhere in /tmp/.
 
Old 02-13-2006, 10:57 AM   #5
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
Oufff !!

ok. I understand what i have to do but the problem is that i have no clue at all on how to do it.

I'm totally new to Linux (only 1 week )

Can you please tell me a step by step on creating a symbolic link.

Thanks for the info

Raffi
 
Old 02-13-2006, 11:01 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Well, if it wants to write to /bin/modules/auditor2.10/, but can't, try adding a symlink like:
Code:
ln -s /tmp/modules /bin/modules/auditor2.10/
 
Old 02-13-2006, 11:02 AM   #7
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
ok cool thank you i will try that
 
Old 02-13-2006, 01:22 PM   #8
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
ok so I tried to do a symbolic link just before typing ndiswrapper -m:

ln -s /tmp/modules /Lib/modules/2.6.11-auditor-10/modules.dep.temp

it gave me a message saying that symbolic link was created.

when i typed ndiswrapper -m or depmod -a I received the same error as before:
Could not open /Lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file system

humm I'm confused. Anybody can help me on this?

p.s. is Linux case sensitive for example lib or Lib ???

thanks

Raffi
 
Old 02-13-2006, 01:50 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Linux is definitely case sensitive.
 
Old 02-14-2006, 10:09 AM   #10
raffigee
Member
 
Registered: Feb 2006
Distribution: Backtrack
Posts: 41

Original Poster
Rep: Reputation: 15
Hi ,

i tried what you suggested but for some reason it didn't work.

here are my steps and the error i received, maybe someone can tell me where am i going wrong. I'm using auditor security collection on a Compaq R300 series laptop.

root@1[knoppix]# cd

root@1[~]# ls

Desktop tmp

root@1[~]# cd tmp

root@1[tmp]# cd broadcom

root@1[broadcom]# ls
Setup.ini bcmwl5a.ini bcmwlhom.ini data1.hdr launcher.ini setup.iss
bcm43xx.cat bcmwld2k.exe bcmwlntp.sys data2.cab layout.bin setupa.ini
bcmwl5.inf bcmwlhoa.ini bcmwlu00.exe ikernel.ex_ setup.exe setupd.ini
bcmwl5.sys bcmwlhom.exe data1.cab is.exe setup.inx sp30379.cva

root@1[broadcom]# ndiswrapper -i bcmwl5.inf
Installing bcmwl5

root@1[broadcom]# ln -s /tmp/module /Lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `/Lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp/module': No such
file or directory

root@1[broadcom]# ndiswrapper -l
Installed ndis drivers:
2802w driver present
bcmwl5 driver present, hardware present

root@1[broadcom]# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em

root@1[broadcom]#
root@1[broadcom]# ln -s /tmp/module /lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `/lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp/module': Read-on
ly file system

root@1[broadcom]# ndiswrapper -m
modprobe config already contains alias directive

root@1[broadcom]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em

root@1[broadcom]# ln -s /tmp /lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `/lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp': Read-only file
system

root@1[broadcom]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em

root@1[broadcom]# ln -s /tmp/module /lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `/lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp/module': Read-on
ly file system
root@1[broadcom]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
root@1[broadcom]# cd

root@1[~]# ln -s /tmp/module /lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `/lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp/module': Read-on
ly file system

root@1[~]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
root@1[~]# ln -s /tmp /lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `/lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp': Read-only file
system
root@1[~]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
root@1[~]# ln -s /tmp root/lib/modules/2.6.11-auditor-10/modules.dep.temp
ln: creating symbolic link `root/lib/modules/2.6.11-auditor-10/modules.dep.temp' to `/tmp': No such fi
le or directory
root@1[~]# depmod -a
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
root@1[~]# depmod
FATAL: Could not open /lib/modules/2.6.11-auditor-10/modules.dep.temp for writing: Read-only file syst
em
 
  


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
error (ndiswrapper) mrh7184 Linux - Wireless Networking 16 10-03-2005 11:33 AM
Ndiswrapper error Tanel Mandriva 4 08-03-2005 10:22 AM
ndiswrapper error help please golpemortal Linux - Wireless Networking 6 07-25-2005 10:33 PM
ndiswrapper error asb Linux - General 5 04-16-2005 10:10 AM
ndiswrapper error FXRS Slackware 1 04-18-2004 09:42 PM


All times are GMT -5. The time now is 10:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration