New User and automatic Ndiswrapper


Forum: HD Install
Topic: New User and automatic Ndiswrapper
started by: Jazzy

Posted by Jazzy on Sep. 04 2005,18:59
Hello,

after looking around for quite a lot of time now, I decided to ask some questions here in the forum.

1) I added a new user (adduser) called TOM. This user can't install any software via mydsl (I have to install software by using the user DSL. How can I install software as TOM? (I tried to change permissions on mydsl-load without any effect)

2) My wirelesscard works perfectly using Ndiswrapper. How can I configure/start it automatically on bootup? (I have to use (as root) iwconfig, then wlcardconfig, then ndiswrapper).

thanks a lot for your help
Thomas

Posted by mikshaw on Sep. 04 2005,20:24
Installing myDSL apps as any user but dsl can break the myDSL setup, and possibly other things.  There was an increasing number of complaints about this, and it was eventually just prohibited from users other than dsl.

You can probably "su dsl -c mydsl-load app.dsl" (or maybe"sudo su dsl -c mydsl-load app.dsl"), although i've never tried that.  You can also have the apps loaded automatically during boot.

Posted by cbagger01 on Sep. 04 2005,21:11
Or

sudo -u dsl mydsl-load app.dsl

if your accout has sudo authority.

Then if you want to copy the new fluxbox menu over to your account, you could try something like:

mv /home/TOM/.fluxbox/menu /home/TOM/.fluxbox/menu.old
sudo cp /home/dsl/.fluxbox/menu /home/TOM/.fluxbox/menu
sudo chown TOM:staff /home/TOM/.fluxbox/menu

Posted by Jazzy on Sep. 05 2005,06:38
thanks a lot - I was looking for a possibility to actualise the menu... ;-) [btw: it seems that I was dreaming - sure that a normal user can't install software...]

what about saving ndiswrapper configuration? actually I'm not sure wether it is ndiswrapper configuration or config of iwconfig and wlcardconfig...

In general I was asking myself wether it is possible to save "all" the configurations and save them somewhere and so to replace "autoconfigure" on bootup...?

Posted by mikshaw on Sep. 05 2005,14:19
Normal user can't install software into the system, except in /opt (staff only).  The actual installation of files is being performed by root, but running the mydsl-load script as root can change file ownerships that will prevent the system from functioning properly in the future.

Saving configurations is done with the backup/restore system.  There is a gui tool available from the menu which allows to specify a device for backup.  Once that device has be properly saved, the backup process should be performed automatically during shutdown/init.  Specify files and directories you want to backup in .filetool.lst, or use the filetool button in emelfm to add files to the list.

Posted by Jazzy on Sep. 08 2005,09:46
Hi all,

thank you for the help. I'm working now with the backup/restore system and added some files to the .filetool.lst. It's a good thing but for the moment, automatic restore of my Wifi-Ndiswrapper-Internet-Connection doesn't work. I'll post here more information once I've successfully backuped/restored this Wifi-Connection.

Thank you, Mikshaw
Thomas

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.