Linux-Setup Digest #80, Volume #21 Fri, 20 Apr 01 18:13:09 EDT
Contents:
Re: Please help: /dev/rft0 not found (Erik Veenstra)
Re: mandrake and the iomega zip100 (parallel) (Tim)
Help me: qmail setting a little. (Hun)
swat and samba. ("Kenny@BUI")
Re: RedHat7 Boot (Michael Matthews)
Re: How do I compile using kgcc? (Gregory Davis)
Re: Auto FTP , How To (��L)
Re: RAID Problems (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: FTP problem with RH 6.2, 7.0 (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: How do I compile using kgcc? ("BetrOffDed")
Re: LFS (Linux From Scratch) (hihihi)
Install password problem ("mpierce")
Modem's not detected (Michael Sorensen)
Re: Deb potato / AbitKT7A / AcerDVDROM (Kwan Lowe)
hdd: driver not found ([EMAIL PROTECTED])
Question about Disk Space on Linux , thanks ("harrison")
Re: DHCP and Road Runner blues (grooveman)
Just Started! (Rich)
Re: Cant ftp into machine (Chris)
Re: Just Started! (Kwan Lowe)
Re: swat and samba. (Mike Petersen)
Re: DHCP and Road Runner blues (grooveman)
----------------------------------------------------------------------------
Date: Fri, 20 Apr 2001 17:07:53 +0000
From: Erik Veenstra <[EMAIL PROTECTED]>
Subject: Re: Please help: /dev/rft0 not found
Crossposted-To: redhat.config,redhat.general
"H.A.J. van Niekerk" wrote:
>
> Hi,
>
> I've a tapestreamer connected to the floppy-controller, but I can't get
> it working. When I give the command 'tar cvf /dev/rft0 /usr/download' it
> says 'no /dev/rft0 found'. When I try it on RH 5.2 it's OK, but the pc's
> running RH 6.2 just don't work. Has there been any change under RH 6.2?
>
> Please help!!!!
>
> Thanks,
>
> Huub
mknod /dev/rft0 c 27 0
------------------------------
From: Tim <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: mandrake and the iomega zip100 (parallel)
Date: Fri, 20 Apr 2001 14:22:07 -0400
Hi Snowman,
Snowman wrote:
>
> Hi,
> any help from those more experienced than I would be appreciated. I
> recently moved to mandrake 7.2 from an old copy of redhat. For the most
> part, the transition has been painless, with the exception of my zip drive.
OK, here is how I set up my Zip100 parallel port drive. I added the
following lines to /etc/rc.d/rc.local:
# Zip Drive Access
insmod parport
insmod ppa
insmod lp
Then I added this line to /etc/fstab:
/dev/sda /mnt/zip ext2 user,noexec,nodev,nosuid,rw,noauto 0 0
Note that the filetype is ext2--I prefer to reformat my Zip disks.
Finally, add the mount-point "/mnt/zip" or whatever you prefer.
Good Luck!
Tim
--
Timothy J. Schutte
[EMAIL PROTECTED]
http://www.wwnet.net/~kc8hr
"I yam what I yam and that's all what I yam!" --Popeye the Sailor-Man
------------------------------
From: [EMAIL PROTECTED] (Hun)
Subject: Help me: qmail setting a little.
Reply-To: [EMAIL PROTECTED]
Date: Fri, 20 Apr 2001 18:58:50 GMT
Could somebody tell me the right steps to set up qmail?
I have two mail accounts: one is from the ISP, the other is from a mail server.
The ISP's domain name is home.com.
When I set localhost and localdomain, outgoing mails was failed so I changed like
above.
Also, using local hostname like 'hanixsmp' failed to delivery outgoing mails. The
below is the the domain and host information under /var/qmail/control I set.
The routing path is like this.
ISP's mail server
Linux Router
qmail server
defaultdomain: localhost
defaulthost: some_company.com
locals: localhost
me: localhost
plusdomain: localhost
rcpthost: localhost
Send e-mail some_company.com and home.com works fine and other domains too. but, when
I send to hotmail.com, the mail server rejects the mail as below:
Apr 20 14:17:55 qmail: 987790675.080557 starting delivery 51: msg 357746 to remote
[EMAIL PROTECTED]
Apr 20 14:17:55 qmail: 987790675.080763 status: local 0/10 remote 1/20
Apr 20 14:18:01 qmail: 987790681.316218 delivery 51: deferral:
Connected_to_64.4.50.71_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
Apr 20 14:18:01 qmail: 987790681.316391 status: local 0/10 remote 0/20
I changed the defaultdomain as 'home.com' the ISP's domain name but, no effect.
Thanks in advance,
Hun
--
Registered Linux user #207121
http://counter.li.org
------------------------------
From: "Kenny@BUI" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: swat and samba.
Date: Fri, 20 Apr 2001 15:00:31 -0400
hello,
i had redhat6.2 on my computer and i upgraded to 7.0. on 6.2 samba and swat
was running and setup properly. after the upgrade netscape cannot access
swat ie. samba.
A network error occured while netscape was receiving data.(network error:
connection reset by peer) try connection again.
now neither swat nor samba is running.
i noticed that my smb.conf was backed up to smb.conf.rpmsave and inetd.conf
was also. i tried renaming them. but that still did not resolve the problem.
thank you,
kenny.
------------------------------
From: Michael Matthews <[EMAIL PROTECTED]>
Subject: Re: RedHat7 Boot
Date: Sat, 21 Apr 2001 02:00:55 -0400
"Bahaa Eldin Y. Fahim" wrote:
> Hello,
>
> I was trying to install Redhat 7.0 on my PC. I have a 100MB IOMEGA zipdrive
> setup on hdd.. when I boot RedHat 7.0, detects the zip drive, but then it
> checks for "partitions" on it and then gives a "hdd : lost interrupt".. this
> keeps getting displayed on the screen. I tried using expert mode but it was
> no help as the booter would still autoprobe the devices giving me the same
> message and leaving me with no where to go but rebooting the system and
> trying something else.. but no success..
>
> I was wondering if any one of you guys has any ideas ? i would really
> appreciate the help.
For what it's worth. I had a lot of problems with RH7.0. Recently installed
RH7.1 and it worked MUCH better. Worth the upgrade I think.
------------------------------
From: Gregory Davis <[EMAIL PROTECTED]>
Subject: Re: How do I compile using kgcc?
Date: Fri, 20 Apr 2001 15:26:25 -0400
> When Red Hat bundled 7.0 for release, they bundled it with version
> 2.96 of GCC
Cool, I'm using SuSE 7 with a few things modified, but I've never ran gcc
at anything over 2.95.2 (explaining why I've never heard of kgcc).
> Red Hat bundled a copy of gcc 2.91.66 with their
> 7.0 distro and renamed it "kgcc". One should use "kgcc" to compile
> the kernel, since it will accept the source constructs that break
> 2.96, and (I guess) use gcc 2.96 for other things.
Is this going to be remedied for gcc 3 (which I have only heard
prototypical things about thus far)?
Greg
------------------------------
From: [EMAIL PROTECTED] (��L)
Subject: Re: Auto FTP , How To
Date: 20 Apr 2001 13:22:17 GMT
�� �ޭz�[EMAIL PROTECTED] (batman)�n���ʨ��G
> Hi,
> i'd like to copy every day (cron) my local webSite to my ISP WebSite
> how i can do that
> Maybe i had to use ftp with a script ?
> thanks for help
ncftp can help you to do this.
--
truelove# make love
Make: Don't know how to make love. Stop.
truelove# Oh! My God!
--
[1;32m�� Origin: [33m�Ӹ۸�T [37m<bbs.cynix.com.tw> [m
[1;31m�� From: [36mtm.ezla.idv.tw[m
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: RAID Problems
Date: Fri, 20 Apr 2001 21:31:38 +0200
On Fri, 20 Apr 2001, Graham Stewart wrote:
> I'm in a rush to get a development server up which is supposed to have two
> IDE disks which are mirrored using raid1 (mainly we are on a tight budget
> and using a couple of slightly-dodgey 4.3 gig disks we found).
>
> Following the howto's we manage to succuesfully get the raid running except
> that if we either disconnect one disk (or disable it in the bios) the system
> wont boot. It simply displays "LI 01 01 01 01 01 01 01 01 01 ....".
Eh, of couse it won't boot. Installing lilo an the primary harddisk
makes sure, it won't boot on the other and vice versa. Get an ancient
200Mb disk or so and use it for /boot. Having /boot on raid is an - ahem
- brave thing.
> Our partitioning scheme involves md0 the boot partition, md1 the root
> parition and md2 the swap partition.
md0 boot partition? Don't put /boot on raid - you ask for problems that
way.
> I'm at a loss to find out where the problem is but our lilo.conf files are
> as follows:
[...]
> /etc/lilo.conf.hda
[...]
> /etc/lilo.conf.hdc
You cannot have lilo installed twice. One of the configurations will
overwrite the other. The most important thing is probably the map-file.
It cannot be shared, so don't try.
> We are running the 2.2.18RAID kernel with Lilo 21.7-3
>
> Anyone got any ideas?
You probably could fiddle with lilo and get it to boot from both disks.
However, it is not sure, your bios will boot on both hard drives. I
think the best bet is to get a tiny disk for /boot and install it. And
of course (seems to be a critical system) have an identical twin ready
for use...
If one harddisk should crash, there is a pretty big chance, it will need
human intervention anyway to make it boot again...
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
Linux hackers are funny people: They count the time in patchlevels.
========================================= [ Remove 'spam' to reply ] ==0
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: FTP problem with RH 6.2, 7.0
Date: Fri, 20 Apr 2001 21:39:52 +0200
On 20 Apr 2001, Bill Brown wrote:
> No DNS is involved...attach to the ftp server directly via a unique
> routeable IP...
It _is_ involved. The RedHat setup always tries to solve the IP of the
client (and probably the server too). So make sure, people's IP's
resolve. Or turn DNS lookups off (in xinetd/inetd and wuftpd). Also make
sure, neither inetd/xinetd or wuftpd does identd lookups. If they are
firewalled in the other end, it will hang a loong time in trying to
connect to identd.
> I just finished uploading some files (large, streaming media to a streaming
> media hosting service) on an NT box using ws-ftp
> throughput was reported as 400-500 kb/s, approximately the same for
> download speeds...
>
> had a client send us some html last night, and he was supposed to get some
> .ai files (large) he was getting throuhput at around 80kb/s
[...]
> connected via vnc (again, lengthy logon process) to my RH6.2 box at work,
> and just like our client, about 60 to 80 kb/s
>
> came in to work, logged on to the RH box, and connected to my streaming
> media server ftp. This is the server I get 400kb/s+ from on the NT box.
>
> again, about 40kb/s on Linux
>
> So, it would appear that the bottleneck is on the Linux box, no?
>
> are there any switches, or config settings to make during the install? I
> don't remember seeing one...just asked for basic host and IP info.
Some time ago, we had a misconfigured network. Our optics (suited only
for full-duplex), was somehow running half-duplex. Don't know why, but
having those half/full duplex trouble hit linux rather hard. Connections
to/from my box went 80kb/s with Linux and Windows could do around 600k.
Now, running full-duplex, Linux does <10Mb/s and Windows <3Mb/s :)
So check for half/full duplex mismatches.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who
========================================= [ Remove 'spam' to reply ] ==0
------------------------------
From: "BetrOffDed" <[EMAIL PROTECTED]>
Subject: Re: How do I compile using kgcc?
Date: Fri, 20 Apr 2001 19:43:40 GMT
In article <9bq2as$ojl$[EMAIL PROTECTED]>, "Gregory Davis"
<[EMAIL PROTECTED]> wrote:
>> Red Hat bundled a copy of gcc 2.91.66 with their 7.0 distro and renamed
>> it "kgcc". One should use "kgcc" to compile the kernel, since it will
>> accept the source constructs that break 2.96, and (I guess) use gcc
>> 2.96 for other things.
>
> Is this going to be remedied for gcc 3 (which I have only heard
> prototypical things about thus far)?
>
> Greg
>
>
It has been remedied for quite some time, in the rawhide packages anyway.
I've used rawhide's gcc for kernel compiling on a RH7 system for some time
(it works on my system anyway, but YMMV I suppose). Sorry, I don't
remember the specific version or whether or not the official gcc update
(gcc-2.96-69) fixes it.
------------------------------
Date: Fri, 20 Apr 2001 21:54:56 +0200
From: hihihi <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: LFS (Linux From Scratch)
Jason Lott wrote:
> If you're using RH7 or gcc-2.96-x (from anywhere)... replace it (gcc-2.96-x, and
> it's libraries) before you begin...
Any idea if this is needed for red hat 7.1 ??
------------------------------
From: "mpierce" <[EMAIL PROTECTED]>
Subject: Install password problem
Date: Fri, 20 Apr 2001 20:55:40 GMT
Just rec'v this email from a friend asking for help for this problem
while trying to install Mandrake7.2:
>Marvin...
> Dad and I managed to get Linux on his machine, however, when we get to the
> place of creating the root password, the machine will not take any entries.
> I have reinstalled this about 6 times. We are installing in text mode and
> everything else goes fine. Do you have any ideas? The security level was
> set to med and high as an install variable...6 GB HD...loading all options
> as a server. Unfortunately, this is an AMD machine and I don't think it
> is Pentium class. Any insights would be appreciate. Keyboard just won't
> accept characters...tells me the passwords don't match.
Any suggestions as to what is causing this?
Marvin
------------------------------
From: Michael Sorensen <[EMAIL PROTECTED]>
Subject: Modem's not detected
Date: Fri, 20 Apr 2001 17:01:34 -0400
I have a Viking 56K ISA Modem (a renamed Rockwell 56K ACF II
Fax+Data+Voice Modem).
The modem is said to work with DOS and therefore should work with
Linux. I've disable the com ports in the CMOS. I've tried both setting
the IRQ and the I/O port with ISAPNP and with the jumpers on the card.
ISAPNP says it gives it an address but I can't get it to work with
anything. I've tried using minicom both ways (ISAPNP and jumpers). If
anyone has a Rockwell 56K ACF II modem and has it working tell me how.
Thank you.
Michael Sorensen
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Deb potato / AbitKT7A / AcerDVDROM
Date: Fri, 20 Apr 2001 21:04:22 GMT
Alan <[EMAIL PROTECTED]> wrote:
> I'm trying to install Debian potato on a new system.
> All is fine until it gets to the point of installing the base system (base2_2.tgz)
> Then it fails with the following error:
> "File error!
> There was a problem extracting the Base System from
>/instmnt/dists/potato/main/disks-i386/current/base2_2.tgz"
On older DVD drives I've had problems reading CD-Recordable media. Don't know if
this is the case with you...
------------------------------
From: [EMAIL PROTECTED]
Subject: hdd: driver not found
Date: Fri, 20 Apr 2001 21:04:04 GMT
Hi all,
I have two kernels sharing the same partiton.
a 2.2.16 from the RH 7.0 distro, and 2.2.18 from source.
The 2.2.16 has no problems mounting the floppy or zip,
but when I run 'mount /mnt/zip' on the 2.2.18 I get:
hdd: driver not present
mount: /dev/hdd4 has wrong major or minor number
I thought having CONFIG_BLK_DEV_IDEFLOPPY=y
would include this driver in my kernel.
Do I need some other config options?
I have no modules in the 2.2.18 kernel,
I had troubles getting them auto-probed.
thanks in advance
dave
------------------------------
From: "harrison" <[EMAIL PROTECTED]>
Subject: Question about Disk Space on Linux , thanks
Date: Fri, 20 Apr 2001 14:06:32 -0700
Hi, there:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 1.2G 551M 571M 49% /
/dev/sda6 4.7G 4.4G 0 100% /home
/dev/sda7 1.2G 106M 1015M 9% /var
I dont know why available space on /home is 0, it should be 300M left ,
right ?
Any Help will be greatly appreciated
Harrison Teng
------------------------------
From: grooveman <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Date: Fri, 20 Apr 2001 21:35:11 GMT
Thanks W:
I tried that last night, it went for about 9 hours unplugged.... unfortunately
it didn't seem to help :0(.
Thanks tho...
Chris
W Knight wrote:
> Chris,
>
> I had alot of problems getting my Optimum Online (comparable to RR)
> cablemodem service up and running under linux. They key for me, was to
> power the modem down for >30 minutes before trying to lease an ip with
> linux. After rebooting w/ the powered up modem, it would re-read the mac
> addy off the nic in the linux box and everythign would be fine. Then you
> dont have to power down the modem again unless you switch the modem over to
> another nic for some reason.
>
> Basically, you have to powerdown the modem long enough for it to forget the
> mac address of the nic for it to work.
>
> Hope this helps.
>
> WK
>
> grooveman <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hello.
> >
> > I am running Redhat 6.2, and I am tying to use it with Mediaone (Now
> > ATT) Road Runner service in the Detroit Metro area.
> >
> > My problem is that my machine would not lease from the DHCP server. Of
> > course, the customer support was useless in this issue: "we don't
> > support Line-ucks".
> >
> > I have researched this thoroughly, and have seen many people with the
> > same or similar issue, but every single one failed to document clearly
> > how they overcame this problem (if they did at all).
> >
> > I dropped pump all together. I have the version that comes stock with
> > RH 6.2. (0.7.8-1). I downloaded the latest version of DHCPCD version
> > 1.3.20-p10. I have gotten that to work -- but it only works about 10
> > percent of the time. 90% of the time (or so) it fails. The README for
> > this utility is not helpful at all. The howto I found was even worse.
> > When modifying the script of ifup an ifdown, it not only had the script
> > wrong, but it said to remove an "if" statement without touching the fi.
> > I am no scripting whiz, but I know you can't break conditionals like
> > that without trashing the script.
> >
> > I modified ifup and ifdown, basically by replacing the pump commands
> > with their dhcpcd equivalents. Then, I wrote a script that loops the
> > ifup until it gets a lease. I put the script at the end of rc.local,
> > rather than having eth0 come up at init level 3. The net result is that
> > it runs through everything fine, and at the very last stage, tries to
> > bring up eth0 until it is successful. It take about 10 times plus or
> > minus.
> >
> > (SIGH........)
> >
> > What can I do to get this to work?
> >
> > I really appreciate any help I can get.
> >
> > Thanks!
> >
> > Chris
> >
------------------------------
From: Rich <ricwar@linux>
Subject: Just Started!
Date: Fri, 20 Apr 2001 12:57:09 +0100
I've just successfully installed Suse Linux 6.4 to PIII machine - now what do I
do?! It's running KDE Desktop, and I've got Star Office to install, but how do
I go about installing (windows network) printers etc?
Any advice for a newbie would be greatly appreciated!
Rich
------------------------------
From: Chris <[EMAIL PROTECTED]>
Subject: Re: Cant ftp into machine
Date: Fri, 20 Apr 2001 16:15:51 -0500
I am trying to log in as a regular user. And that user
is listed in /etc/ftpusers.
I dont even get a login prompt. The connection is
refused before a prompt is issued.
Michael Heiming wrote:
> Chris wrote:
>
>> Hi I cant ftp into my machine. I get
>> a connection refused. Could someone
>> run through what is required to ftp?
>>
>> It shows ftp listening when I do netstat -vat.
>>
>> [root@hemlock /etc]# netstat -vat
>> Active Internet connections (servers and established)
>> Proto Recv-Q Send-Q Local Address Foreign Address State
>> tcp 0 0 hemlock:ssh cactus:3444 ESTABLISHED
>> tcp 0 0 *:www *:* LISTEN
>> tcp 0 0 *:smtp *:* LISTEN
>> tcp 0 0 *:auth *:* LISTEN
>> tcp 0 0 *:login *:* LISTEN
>> tcp 0 0 *:shell *:* LISTEN
>> tcp 0 0 *:ssh *:* LISTEN
>> tcp 0 0 *:telnet *:* LISTEN
>> tcp 0 0 *:ftp *:* LISTEN
>>
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>> In my hosts.allow I have:
>> in.ftpd: 192.168.1.
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>> in inetd.conf I have:
>> ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
>>
>> what else do I need to do?
>> Any ideas would be greatly appreciated.
>>
>> Chris
>
>
> Do you try to login as root?
>
> Disabled for security reasons on most distros per default.
>
> Edit /etc/ftpusers to enable.
>
> Anyway, use scp as root.
>
> Michael Heiming
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Just Started!
Date: Fri, 20 Apr 2001 21:46:45 GMT
Rich <ricwar@linux> wrote:
> I've just successfully installed Suse Linux 6.4 to PIII machine - now what do I
> do?! It's running KDE Desktop, and I've got Star Office to install, but how do
> I go about installing (windows network) printers etc?
Congratulations! For windows printing you need the Samba package. It's probably
installed by default on Suse. The command is smbprint.
> Any advice for a newbie would be greatly appreciated!
www.linuxnewbie.org has some good info for folks upgrading from Windows.
------------------------------
From: [EMAIL PROTECTED] (Mike Petersen)
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Re: swat and samba.
Date: Fri, 20 Apr 2001 21:50:16 GMT
Reply-To: [EMAIL PROTECTED]
Make sure you have smbd and nmbd starting, either manually or on
bootup (to configure on bootup add script to /etc/inet.d).
Also do the same for apache.
Once you know that both samba and Apache are starting up add this to
your /etc/services file.
swat 901/tcp
Then add the following to your /etc/inet.conf file
swat stream tcp nowait.400 root /usr/sbin/tcpd
/usr/sbin/swat
After you do this swat should be back up and running. Note that I
usually set-up Debian servers from source so this may or may not be
the correct places for swat configuration.
If you need a script to start/stop samba this is the one i use
#!/bin/sh
#
# Start/stops the Samba daemons (nmbd and smbd).
#
PATH=/usr/local/samba/:/usr/local/samba/bin:/sbin:/bin:/usr/sbin:/usr/bin
NMBDPID=/usr/local/samba/var/locks/nmbd.pid
SMBDPID=/usr/local/samba/var/locks/smbd.pid
# See if the daemons are there
test -x /usr/local/samba/bin/nmbd -a -x /usr/local/samba/bin/smbd ||
exit 0
case "$1" in
start)
echo -n "Starting Samba daemons:"
echo -n " nmbd"
start-stop-daemon --start --quiet --pidfile $NMBDPID
--exec /usr/local/samba/bin/nmbd -- -D
echo -n " smbd"
start-stop-daemon --start --quiet --pidfile $SMBDPID
--exec /usr/local/samba/bin/smbd -- -D
echo "."
;;
stop)
echo -n "Stopping Samba daemons:"
echo -n " nmbd"
start-stop-daemon --stop --quiet --pidfile $NMBDPID
--exec /usr/local/samba/bin/nmbd -- -D
echo -n " smbd"
start-stop-daemon --stop --quiet --pidfile $SMBDPID
--exec /usr/local/samba/bin/smbd -- -D
echo "."
;;
reload)
echo -n "Reloading /etc/samba/smb.conf (smbd only)"
start-stop-daemon --stop --signal HUP --pidfile
/var/samba/smbd.pid --exec /usr/local/samba/bin/smbd -- -D
echo "."
;;
restart|force-reload)
echo -n "Restarting Samba daemons:"
echo -n " nmbd"
start-stop-daemon --stop --quiet --pidfile $NMBDPID
--exec /usr/local/samba/bin/nmbd -- -D
sleep 2
start-stop-daemon --start --quiet --pidfile $NMBDPID
--exec /usr/local/samba/bin/nmbd -- -D
echo -n " smbd"
start-stop-daemon --stop --quiet --pidfile $SMBDPID
--exec /usr/local/samba/bin/smbd -- -D
sleep 2
start-stop-daemon --start --quiet --pidfile $SMBDPID
--exec /usr/local/samba/bin/smbd -- -D
echo "."
;;
*)
echo "Usage: /etc/init.d/samba
{start|stop|reload|restart|force-reload}"
exit 1
;;
esac
exit 0
------------------------------
From: grooveman <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Date: Fri, 20 Apr 2001 22:04:28 GMT
Sorry bit,
I posted the code outside this thread... but it is only a couple threads
away....
I tried this, and I still get nothing...
BTW: How did you know it was nic-c54-102?
Also, doing ls -al /etc/sysconfig/network-scripts/ifcfg-eth0 simply tells me
the mode for that file.... unless I am missing something there.... Was that
a typo, or am I in err?
Thanks a lot for your help!
Chris
Bit Twister wrote:
> Did you
>
> On Thu, 19 Apr 2001 22:04:27 GMT, grooveman <[EMAIL PROTECTED]> wrote:
> >
> >I modified ifup and ifdown, basically by replacing the pump commands
> >with their dhcpcd equivalents. Then, I wrote a script that loops the
> >ifup until it gets a lease. I put the script at the end of rc.local,
> >rather than having eth0 come up at init level 3. The net result is that
> >it runs through everything fine, and at the very last stage, tries to
> >bring up eth0 until it is successful. It take about 10 times plus or
> >minus.
> >
>
> At the command line can you do
> /sbin/dhcpcd -h "nic-c54-102" eth0
> and does
> ls -al /etc/sysconfig/network-scripts/ifcfg-eth0
> show the time you did the dhcpcd command or does it time out?
>
> if you are truly getting 1 in 10 their server is flaky.
>
> post your dhcpcd code you put in rc.local
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************