Linux-Setup Digest #355, Volume #21 Sat, 2 Jun 01 16:13:08 EDT
Contents:
Re: Can't get out of READONLY ("mkb")
Can't find a dependency file for Samba (AWK) ("Roberto Mason")
Re: why can't I login through the console? ("ne...")
Partition size. ("Rama")
Re: Change NIC (Smoothwall/Redhat) (Nick Traxler)
Re: Linux Video conferencing ([EMAIL PROTECTED])
imap vs imaps? (ivo welch)
Re: lp: no devices found... (Laurent Bloch)
Re: problem with network card (Stefaan Margot)
Re: access Ext2fs under Windows (Konstantin Komarov)
Re: sshd - slow initializing connection (Vilmos Soti)
Re: have ssh1 trying to install ssh2 (Vilmos Soti)
Re: sshd - slow initializing connection (Michael Heiming)
Re: why can't I login through the console? (Vilmos Soti)
Re: Dual Booting (Vilmos Soti)
Re: route (Felix Miata)
Re: Can't get out of READONLY ("Peter T. Breuer")
Re: Can't find a dependency file for Samba (AWK) ("Peter T. Breuer")
----------------------------------------------------------------------------
From: "mkb" <[EMAIL PROTECTED]>
Subject: Re: Can't get out of READONLY
Date: Sat, 2 Jun 2001 13:15:24 -0500
Thanks - that's only fair, as I realize I need to learn in order to help
others. Will explore documentation along this route fully. Thanks Peter.
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> mkb <[EMAIL PROTECTED]> wrote:
> > Problem is, when I do a text login as 'linux single' I can't get out of
> > READONLY mode to write my changes back to my Linux native drive! I've
tried
>
> Why not? man mount! Pay attention to the -o remount and -w options.
>
> > logging in as root, chmoding on the file I want to change before
editing,
> > heck, I even tried unmounting my drive and mounting it with the '-w'
option.
>
> What do you mean "even"? This is the only thing to try, and the
> only thing to do in order to change the filesystem mode to readwrite.
> But "umount"? How? I suspect you are talking about /, and you can't
> umount /!
>
> > NO GO. I've tried all editors and none will let me write.
>
> EEEEEh? And so what? Editing is not a test of anything! If you can make
> a file, then the fs is readwrite. Full stop.
>
> > I do notice this during boot: VFS:Mounted Root (ext2 filesystem)
readonly
>
> That's correct, and normal.
>
> > I need to ask for help at this point - any would be appreciated.
>
> You need to state what you are doing, and the responses it provokes.
> I don't see why I should spend time guessing. As it happens, I have a
> pretty good idea of what you ARE doing, and it is not what you SAY you
> are doing. So I'm going to wait until you come up with a
> problem statement, and error log, before offering you an answer that
> I could offer you now, with 70% certainty of it being correct.
> There's enough info for you above, if YOU feel like doing the work of
> researching it.
>
> Peter
------------------------------
From: "Roberto Mason" <[EMAIL PROTECTED]>
Subject: Can't find a dependency file for Samba (AWK)
Date: Sat, 2 Jun 2001 13:12:22 -0400
I'm a newbie when it comes to Linux, so I hope you can bear with me my lack
of knowledge. I have a home network with among other things a Window 2000
Workstation which acts as router to the internet. I've recently added to my
small network Linux (Redhat 7.1)
From what I've heard, there are problems between Samba 2.07 and Windows
2000. I haven't been able to share any directories on my Linux machine, even
though I do see the Server.
I've decided to upgrade to Samba 2.2.0, and all their dependencies, but
one. When I go upgrade it tell me that I need AWK. I do have GAWK, and have
been unable to fine the awk rpm. If anyone can direct me to where I can
download this file
------------------------------
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: why can't I login through the console?
Date: Sat, 02 Jun 2001 17:36:53 GMT
On Jun 2, 2001 at 07:57, Dowson Tong eloquently wrote:
>Environment:
>RedHat 7.0 (just upgraded from RedHat 6.0)
>
>For some reasons, I can't login as any user through the
>console or telnet after the upgrade. (I am not sure if
>the problem exists before upgrade though.) Fortunately,
>I have sshd started during reboot, I can ssh in as any
>user successfully. Does anyone have some suggestions
>as to how to fix this problem?
>
>I don't think it is related to hosts.deny or hosts.allow.
>But for completeness, here is the info about these files.
>
>My hosts.deny is empty.
>
>My hosts.allow has the following:
>
>ALL: LOCAL <my hosted domains> <internal subnet> <static IP from broadband>
>in.ftpd: ALL
>
>Any suggestions are appreciated.
RH7.0 no longer uses inetd to start services. It now uses
xinetd. Look in the /etc/xinetd.d directory and make sure
the telnet and ftp file allow connections.
--
Registered Linux User # 125653 (http://counter.li.org)
I am looking for a honest man.
-- Diogenes the Cynic
1:34pm up 3 days, 21:29, 8 users, load average: 0.00, 0.00, 0.00
------------------------------
From: "Rama" <[EMAIL PROTECTED]>
Subject: Partition size.
Date: Sun, 3 Jun 2001 01:42:39 -0700
hi,
i want to install linux 7.1 workstation. I have win 98 SE. I want to
install linux workstation in another partition with 1.3GB.
What is the recommended file size for each of the directory?
For e.g. /
/boot
/home
/var
/usr
/tmp swap
Hope to hear from you soon.
thanks.
------------------------------
From: Nick Traxler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Change NIC (Smoothwall/Redhat)
Date: Sat, 02 Jun 2001 12:44:46 -0500
On Redhat, this is fairly easy to do. In /etc/modules.conf (RH7)
or /etc/conf.modules (RH6.x or less), there should be a line that
starts with 'alias eth0' and is followed by a module name. You just
need to change that module name to the module for your new NIC. It
just lists the filename of the module; you don't need to type the
full path. (I'm not entirely sure how that works, but it does.)
If you just installed redhat, it should have modules for lots of
network cards, so you should be able to check the hardware or
ethernet HOWTO to find the correct driver for your new card.
(For your card, it should be 'rtl8139'. Remember, you need a driver
for the *chip*, not the card.)
To make sure you've got the right module, just install the new NIC,
boot, and try loading modules until you find the correct one,
then make the change to /etc/modules.conf as described above.
Make sure you take out the old NIC, or it might think one of them
is eth1, which you probably don't want.
The most recent version of the hardware HOWTO should be at:
http://www.linuxdoc.org/HOWTO/Hardware-HOWTO/index.html
and the Ethernet HOWTO:
http://www.linuxdoc.org/HOWTO/Ethernet-HOWTO.html
Darren Wyn Rees wrote:
>
> How do I change the NIC in a box running Smoothwall ?
>
> I installed Smoothwall and it recognised my 3COM509 ISA NIC, but
> now I would like to install a D-Link DFE-830TX PCI NIC (which
> is an RL 8139 chipset card).
>
> I have succesfully changed the NIC in an OpenBSD box, with a little help,
> but I do not know how to do this using Linux.
>
> --
> Darren Wyn Rees [EMAIL PROTECTED]
> ASK your ISP to ADD the NEW england.* Newsgroups
> http://www.england.news-admin.org/accessfaq.html
--
Nick Traxler
Computer Science, Purdue University
http://www.cs.purdue.edu/people/traxlend
"The two most common things in the Universe are Hydrogen and Stupidity."
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: Linux Video conferencing
Date: 2 Jun 2001 17:36:52 GMT
In comp.os.linux.admin Subba Rao <[EMAIL PROTECTED]> wrote:
> I am looking for some information for setting up Video conferencing using my
> Linux system. What devices are required for such setup? I do have USB ports
> available. I am confused about WebCams and NetCams. Is there a difference
> between these devices? Will this be streaming video? What software is
> available to do the conferencing?
MBONE tools sdr, vic & vat could be a good selection. Most cameras with
pci/brooktree boards seems to be supported ( at least in BSD's), for
audion you need something with full-duplex ( most soundblaster will do)
> Any pointers and information is appreciated.
> Thank you in advance.
> Subba Rao
> [EMAIL PROTECTED]
--
Peter H�kanson
IPSec Sverige (At the Riverside of Gothenburg, home of Volvo)
Sorry about my e-mail address, but i'm trying to keep spam out.
Remove "icke-reklam"and "invalid" and it works.
------------------------------
From: ivo welch <[EMAIL PROTECTED]>
Subject: imap vs imaps?
Date: Sat, 02 Jun 2001 13:45:19 -0400
mandrake 8, standard imap-2000: how do I enable imaps? I have imaps
enabled in xinetd.d/imaps, and the xinetd server is telling me that it
is "readjusting imaps" on xinetd startup, but my netscape navigator
client refuses to connect when ssl security is checked.
this all works fine when I use imap and no security. of course, I would
rather not transmit passwords in the clear...
/iaw
------------------------------
From: Laurent Bloch <[EMAIL PROTECTED]>
Subject: Re: lp: no devices found...
Date: 2 Jun 2001 17:59:27 GMT
Dave Uhring <[EMAIL PROTECTED]> wrote:
> Laurent Bloch wrote:
>> All is in the subject. The kernel has been compiled
>> with the parallel port and parallel port printer
>> options. MAKEDEV lp has been made. The printcap
>> entry is:
>>
>> lp|otero:\
>> :lp=/dev/lp0:\
>> :sh:pw#80:pl#72:px#1440:mx#0:\
>> :sd=/var/spool/lpd/lp:\
>> :af=/var/log/lp-acct:\
>> :lf=/var/log/lp-errs:
>>
>> lpq says:
>>
>> Status: cannot open '/dev/lp0' - 'No such device', attempt 1, sleeping
>> 10...
>>
>> The printer is a Lexmark Optra E312, the motherboard an
>> ASUS S97- V.
> What is the ownership/group of /dev/lp0 and what are its permissions?
> If you are running RedHat-7 or 7.1, the owner/group should be root/lp or
> lp/lp with 660 permission.
It' OK
> BTW, you do not have an input filter configured in /etc/printcap and unless
> your printer already knows to add a CR after a LF, you are going to have
> stair-step printing.
It is a PostScript printer, so I believe it doesn't need
a filter.
I thougt it was maybe a hardware problem, so I've connected
the printer to the Windows 2000 computer of my son : it works
perfectly. It's a shame...
Laurent
------------------------------
From: [EMAIL PROTECTED] (Stefaan Margot)
Subject: Re: problem with network card
Date: Sat, 02 Jun 2001 18:01:26 GMT
On Fri, 01 Jun 2001 21:13:34 -0400, KCmaniac <[EMAIL PROTECTED]> wrote:
>
>Stefaan Margot wrote:
>
>> I have installed SuSE 7.0 on a 486 with a Netgear EA201 card
>> As my hard drive is rather small (4000MB), I had to skip some packages
>> during installation.
>> I've installed the network card and it has been detected just fine.
>> I can address an IP address and a netmask.
>> If I want to ping a PC in my local network it does not work. The ping
>> gets a time out. If I ping from a PC to my Linux host, the ping also
>> times out. So it seems that I can not generate network traffic.
>> If I ping the linux host from the linux host, it works fine.
>> Can anybody help me with this problem? Should I check for certain
>> daemons to be running?
>> Any help is much appreciated
>>
>
>I am getting a little more experience now with RH and Debian concerning
>networking that I think I can at least steer you into the right
>direction. I am not familiar with SuSE so I can't get specific. There
>are differences between the way RH and Debian, for example, interface with
>common Linux systems. Debian's packaging system is significantly
>different than RedHat's, as well. It is supposed to be smarter. What I
>am saying is there apparently are subtle different from dists to dists as
>far as setting up and configuring common systems.
>
>One thing for sure, you need TCP/IP networking capability configured into
>your kernal. Ping localhost. If it replies then you do, if it doesn't
>then you don't.
>
>Next you have to make sure that your Linux host knows who it is. You
>said: "If I ping the linux host from the linux host, it works fine." I
>take that to mean you can ping your network card. If you can ping it then
>you need to confirm properly configured /etc/hosts, hosts.deny,
>hosts.allow and resolv.conf files. SuSE may have a network configuring
>utility that will write to these files through an interface. If not then
>there are networking or PPP HOWTO's to show you what should be in those
>files.
>
>Run "ifconfig". You should see eth0 with its assigned private IP
>address. Run "route" to also see an entry for eth0. Another diagnostic
>is netstat -i and -t. If either one of these does not include eth0 then
>you need to double check those configuration files. If you are postive
>you have the card configured properly, then I would begin troubleshooting
>the hardware such as the card itself and/or the cables.
>
>RLH
>
Dean,
I have checked my config and everything works fine.
The eth0 is there, it has the correct IP address, the IO & IRQ are
fine, I have used the correct driver ...
I can ping the local machine but I can't reach any other machine.
Any other suggestions ....
TIA
Stefaan.
------------------------------
From: [EMAIL PROTECTED] (Konstantin Komarov)
Subject: Re: access Ext2fs under Windows
Date: 2 Jun 2001 11:26:27 -0700
Dave Uhring <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> john paul miller wrote:
>
> > Yes, I understand Linux will read off the windows partition, but the
> > reason I want an mp3's only drive is so when I want to reformat and
> > install windows or linux, the time to reformat that partition of the hard
> > drive is much less. i.e. I want my mp3s "isolated" from my programs and
> > OS's.
> >
> >
> >
>
> Then you will have to make it a VFAT partition because without added
> software, Windoze will not read a Linux ext2fs partition. Furthermore, you
> will have to make it a logical partition so that Windoze can see it as D:.
You can try Paragon Ext2FS Anywhere to mount Ext2fs Partiitons under Windows:
http://www.paragon-gmbh.com
------------------------------
Crossposted-To: comp.os.linux.misc
Subject: Re: sshd - slow initializing connection
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 02 Jun 2001 19:08:39 GMT
Michael Heiming <[EMAIL PROTECTED]> writes:
>> I'm running redhat 7.1 and was reading an article about different
>> methods of starting sshd. One problem I noticed is that the
>> connection to the server is very slow. The article mentioned
>> that this could be because the services is restarting evertime a
>> connection is attemped instead of running all the time.
>
> Mostly those problems are due to wrong/missing DNS config, try
> connecting
> with IP, setup /etc/hosts on both machines and check /etc/nsswitch.conf
> for the right resolution order.
It won't help if the client's ip address is unresolvable for the server.
Make sure that the sshd doesn't do a rdns.
Vilmos
------------------------------
Subject: Re: have ssh1 trying to install ssh2
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 02 Jun 2001 19:38:00 GMT
"Harison Phinizy" <[EMAIL PROTECTED]> writes:
> When I rpm -ivh I get conflicts with the ssh1 installation...
>
> Should i use the -U flag to update?
Yes.
Vilmos
------------------------------
Date: Sat, 02 Jun 2001 21:41:00 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: sshd - slow initializing connection
Vilmos Soti wrote:
>
> Michael Heiming <[EMAIL PROTECTED]> writes:
>
> >> I'm running redhat 7.1 and was reading an article about different
> >> methods of starting sshd. One problem I noticed is that the
> >> connection to the server is very slow. The article mentioned
> >> that this could be because the services is restarting evertime a
> >> connection is attemped instead of running all the time.
> >
> > Mostly those problems are due to wrong/missing DNS config, try
> > connecting
> > with IP, setup /etc/hosts on both machines and check /etc/nsswitch.conf
^^^^
> > for the right resolution order.
>
> It won't help if the client's ip address is unresolvable for the server.
Case /etc/hosts are setup correct and /etc/nsswitch.conf contain a line
like:
hosts: files dns
I can't see the problem?
Michael Heiming
------------------------------
Subject: Re: why can't I login through the console?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 02 Jun 2001 19:40:02 GMT
[EMAIL PROTECTED] (Dowson Tong) writes:
> Environment:
> RedHat 7.0 (just upgraded from RedHat 6.0)
>
> For some reasons, I can't login as any user through the
> console or telnet after the upgrade. (I am not sure if
> the problem exists before upgrade though.) Fortunately,
> I have sshd started during reboot, I can ssh in as any
> user successfully. Does anyone have some suggestions
> as to how to fix this problem?
Try looking at the log files in /var/log/messages, /var/log/secure, etc.
> I don't think it is related to hosts.deny or hosts.allow.
> But for completeness, here is the info about these files.
It has nothing to do with them. Hosts.allow and deny are for programs
which has something to do with inetd, which has to do with network
daemons. Login is not one of them.
Vilmos
------------------------------
Subject: Re: Dual Booting
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 02 Jun 2001 19:41:59 GMT
"<toor>" <[EMAIL PROTECTED]> writes:
> I have a clean 20 MB HD. And currently I made a 2.0g for Win98 using FDISK.
> If I want to install Suse Linux 6.3. How would I do that?
>
> Is it a good idea to install WIN98 first and then Linux, or Install Linux
> first and then Win98?
Install Windows first (since it will overwrite your bootsector with its
own without asking and there is no way to costumoze it) then Linux.
When you install Linux, it will ask if you want to add Windows to the
boot menu. Say yes.
BTW why do you want to install SuSE 6.3? They are well beyond that now.
Vilmos
------------------------------
From: Felix Miata <[EMAIL PROTECTED]>
Subject: Re: route
Reply-To: [EMAIL PROTECTED]
Date: Sat, 02 Jun 2001 15:56:12 -0400
"Peter T. Breuer" wrote:
> Felix Miata wrote:
> > When I execute the route command, the result is as follows:
> What "route command"?
"route" without command line options from the mc shell.
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > st21s.atlantic. * 255.255.255.255 UH 0 0 0 eth0
> > localhost.local * 255.255.255.255 UH 0 0 0 lo
> > 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> > default 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
> > default 192.168.0.254 0.0.0.0 UG 1 0 0 eth0
> use route -n. You have an incomplete hosts or networks table, or a bad DNS,
networks table?
> as not all addresses are being translated. In particular you do not
> have a hosts or dns entry for your gateway!
I still don't fully understand the gateway concept. ST21S is Linux
intended to ppp the ISP and provide NAT internet access for the other
three machines as well as itself. Methinks ST21S should be the gateway,
but this is still a blur.
"route -n" got it to complete immediately.
> And remove one of those default routes. And please mend your localhost
> entry in hosts! It's
> 127.0.0.1 localhost loghost
changed
> Nothing else. No FQDN.
FQDN means what?
> Aside from that, it's not too bad. The static route to st21s is not
> being used, as far as I can see, but then I don't know if it's in
> the 192.168 net or not.
The four machines are all connected to one RT314 gateway router being
used currently only as a hub. st21s is the RedHat machine I'm trying to
get to work with (and be a gateway for?) the OS/2 & windoze machines.
> > The book example looks rather different, and when I execute the command,
> What command?
"route"
> > it takes a very long time to complete, unlike the OS/2 counterpart,
> Sounds like your dns is bad. Use IP addresses instead of hostnames.
The DNS entry is for my ISP. Until the local net works as desired, my
ISP's nameserver is unavailable.
> > which completes instantly. Is this long time normal for Linux, over a
> > minute?
> Yes. All commands in linux take a minute to complete. That's why the
> minimum hardware requirement is a cray supercomputer. What do _you_
> think?
I think a 48 Mb Pentium 90 ought to be enough for a three year old Linux
distro. Does what I think count?
> > Anyone see a problem in any of my Linux configuration files:
> > /etc/hosts:
> > 127.0.0.1 localhost.localdomain localhost
> dong! 127.0.0.1 localhost loghost
My "Mastering Linux" book that RedHat 5.1 came with provided no example
of use of local host in the /etc/hosts file. The book's discussion of
hosts makes no mention of loghost. The OS/2 network configuration
program results in the following localhost syntax:
127.0.0.1 localhost localhost.localdomain
> > 192.168.0.54 st21s.atlantic.net ST21S
> > 192.168.0.51 ka13a.atlantic.net KA13A
> > 192.168.0.52 ax5t3.atlantic.net AX5T3
> > 192.168.0.53 td91w.atlantic.net TD91W
> Missing entry for 192.168.9.254. And don't use caps. Which is your machine?
Don't know any reason why there should be a *.9.254? RHL 5.1 is ST21S.
What's wrong with CAPS for nicks?
> Your /etc/networks file was also missing a few entries.
> > /etc/resolve.conf
> > domain atlantic.net
> > nameserver 209.208.25.18
> > nameserver 209.208.42.132
> Apparently they don't know about your intranet. Where's the DNS for the
> 192.168 domain? Well, you could do it on this machine.
This local net shouldn't need DNS to find itself and the other three
machines, right? Those are ISP nameservers, not accessible without a ppp
connection. The book listed two other entries involving "gateway".
> > search atlantic.net
The OS is tacking this on. I didn't put it there.
> Peter
Thanks for the response!
--
A fool gives full vent to his anger, but a wise man keeps himself under
control. Proverbs 29:11 NKJV
Team OS/2
Felix Miata *** http://mrmazda.members.atlantic.net/
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Can't get out of READONLY
Date: Sat, 2 Jun 2001 21:52:28 +0200
mkb <[EMAIL PROTECTED]> wrote:
> Thanks - that's only fair, as I realize I need to learn in order to help
> others. Will explore documentation along this route fully. Thanks Peter.
OK .. to expand, what you didn't say is that you have your entire
system mounted on a single root ( / ) partition, and that it's THAT
that is in readonly mode at the end of the bootup sequences, and that
it's THAT that you are trying to umount and mount :-) (it's
impossible).
I.e. I think you are doing
umount /
(fails)
mount -w /
(fails)
vi /etc/fstab
(fails)
What you should be doing is
mount -wno remount /
Check the mount man page for more info.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Can't find a dependency file for Samba (AWK)
Date: Sat, 2 Jun 2001 21:54:10 +0200
Roberto Mason <[EMAIL PROTECTED]> wrote:
> I've decided to upgrade to Samba 2.2.0, and all their dependencies, but
> one. When I go upgrade it tell me that I need AWK. I do have GAWK, and have
Gawk is awk. You have it. Look again at what it is telling you.
Peter
------------------------------
** 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
******************************