View previous topic :: View next topic |
Author |
Message |
HogRider Apprentice
Joined: 29 May 2002 Posts: 160
|
Posted: Mon Jun 03, 2002 2:14 pm Post subject: Samba without eth0? |
|
|
What changes are required to start samba without eth0? I tried commenting out the depend's, but it still fails if eth0 is down.
samba will load manually (smb -D, nmbd -D), but I'd prefer to call it from the rc* scripts.
FYI, I store Lotus Notes files for my VMware session on the host system.
Thanks, Mike _________________ Mike
"Computers are like air conditioners, they stop working properly if you open Windows"
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Mon Jun 03, 2002 2:21 pm Post subject: |
|
|
Change the /etc/init.d/samba script remove the "need net" option, think that should fix it, well it should if you can just load smb and nmbd.
Cya lX
note: rc-update add samba default _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
HogRider Apprentice
Joined: 29 May 2002 Posts: 160
|
Posted: Mon Jun 03, 2002 3:48 pm Post subject: Tried that, still fails |
|
|
Already removed all depend's
Code: | # depend() {
# need net
# use cupsd
# }
|
Still fails.
Any other suggestions? _________________ Mike
"Computers are like air conditioners, they stop working properly if you open Windows"
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Mon Jun 03, 2002 4:06 pm Post subject: |
|
|
Ooops my mistake, sorry sorry, didn't read your post properly. Do smbd and nmdb (manually starting) spit out any messages ?. Should think starting-deamon bla bla ain't different from doing smdb -D . What is the output of running (if any)
You could replace the lines with smbd -D and nmdb -D, then use pkill smdb to stop the process.
I can't help, I can't just turn off networking, sry lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Mon Jun 03, 2002 4:24 pm Post subject: |
|
|
On what interfaces do you want it to bind if you don't have eth0 ? ppp or vmware's modules maybe ?
Sometime samba bombs if it can't find the interface to bind o. You can set the interfaces to bind on in /etc/samba/smb.conf. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Sun Jun 16, 2002 12:47 am Post subject: |
|
|
I don't mean to start a flame war but AAARGHHHHHHH!!!!! I *HATE* LOTUS NOTES!!!!!!!!!! Its absolute worst program I've ever been forced to use. in fact I managed to find a website to back up this hatred of mine.
http://www.iarchitect.com/lotus.htm
heres a snippet for those too lazy to click (The site is called the User-Interface hall of shame)
'We wish we found IBM's Lotus Notes a long time ago. This single application could have formed the basis for the entire site. The interface is so problematic, one might reasonably conclude that the designers had previously visited this site, and misread "Hall of Shame" as "Hall of Fame". Lotus Notes 4.6 contains almost every example of inefficient design illustrated thoughout the entire Hall of Shame site'
now, I'm not sure what you use Notes for, but if you're an admin and force your users to use it.... gawd do I ever pity them...
</rant> |
|
Back to top |
|
|
HogRider Apprentice
Joined: 29 May 2002 Posts: 160
|
Posted: Mon Jun 17, 2002 1:56 pm Post subject: |
|
|
Both smbd & nmbd operate in daemon mode when started manually. It's the script which fails. Currently, I've patched my system to check the state of the pcmcia card, and substitute a 192.* address when offline. It's clumsy, but it works.
BTW, part of the issue is the ongoing requirement of eth0 for all of these services. I'm often switching between eth0, ppp0, and tr0 (I know), and I'm forced to reconfigure these scripts prior to working. This applies to samba, cups, squid, inetd, etc.
Yes, I'm binding to vmware's modules primarily, to support my Notes/VPN issues. As far as squid, inetd, etc, I use them to authenticate to IIS servers on client sites (saves repeat authentications).
And MetalHedd, I'm forced to use Lotus Notes, I work for their parent company.
<rant_reply>
With that disclaimer in place, I find Notes good for somethings, and cumbersome for others. Notes is designed to support collaboration, which it does well, particularly for mobile people such as myself. I can replicate copies of any group discussion with ease, and work offline to manage documents, information, and replies. Email is another story. Yes, the interface could use some polishing (overhaul?) Most of what I read at the link you provided is dictated by the designers at each client, and therefore out of Lotus' hands, and some of them are intended functions to support specific needs. A few of them are users misdirection/error (why use local replicas in an office enviroment?), and a couple, such as saving drafts and text properties are areas that need the overhaul. We could debate the functions if you like (with the agreement, no flaming), but I actually use most of them, and I've already stated Notes is overkill and cumbersome for straight email. </rant_reply> _________________ Mike
"Computers are like air conditioners, they stop working properly if you open Windows"
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Mon Jun 17, 2002 5:03 pm Post subject: |
|
|
actually I only use it for email I've never seen any of its other features so I wouldn't be well equipped enough to debate it. I just know that i hate using it |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|