I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
smbmount on initialization
Can't get smbmount to work at initialization

New Messagesmbmount on initialization (modified 0 times) mezman
Profile | Email
I learned from one of the previous threads how to use smbmount (samba) to mount my win2k directories. THe problem I have is getting it to work on initialization. I tried adding the commands to XFinit such as:
mkdir /tmp/music/
smbmount //GAMER/music /tmp/music/ -o username=mezman,password=fooman

of course I froze after I applied the edits. The music directory was made but the mount didn't happen. WHen I do this manually it works fine. Any Idea?

What I really attempting to do is to mount a thin web client that won't crash when it loads 700k jpegs. I hope I havn't exceeded reality here. If Dillo supported frames I might not have to do this. Opera crashes when one of my big pictures load.

Thanks,
Mezman

04-07-2002 14:07:21

New MessageRE:smbmount on initialization (modified 0 times) neptune
Profile
The problem is that the network has not been started when the XFinit script is run.

Take a look at /sbin/init - this seems to be the main init script. Specifically look for the three lines starting with "# 95 mlinit-0.2". This is where the network is started and it is after the /usr/sbin/init script is called which in turn calls the /usr/X11R6/init script (which is actually a link to /tmp/config/XFinit).

I fixed the XFinit mount problem by editing the /sbin/init file (in the build kit - not on the IA1 running Midori) and moving the network start and portmap lines directly before the call to /usr/sbin/init. Once you have made the change in the buildkit, simply run the "build" script. I am using RH 6.2, but it should work on other Linux distros.

I'm not sure why they chose to start the network after X, but my mod seems to work correctly and allows me to put my mount calls in XFinit and freeze the config without rebuilding the CF image.

-Neptune

04-07-2002 18:27:35

New MessageRE:smbmount on initialization (modified 0 times) coughcoughhack
Profile
Would you consider posting the fixed image? I use the excellent
workstation.img and suspect many of us want to mount a remote file
system and run some things on startup. Thanks!
06-08-2002 20:16:45

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3