Linux-Setup Digest #180, Volume #21 Mon, 7 May 01 04:13:12 EDT
Contents:
Re: how to add lan card without linuxconf? ("tin")
Re: how to add lan card without linuxconf? (Dean Thompson)
Re: RH7.1 - Can't telnet or SSH in from another host (Michael Heiming)
Re: Serious problem with the serial port (Nader)
Mandrake 8.0 install problem ("Phil Scheffler")
Re: Which Linux to Get for Win2k? ("Nils O. Sel�sdal")
Re: problem repartitioning for linux (Steve Hill)
Re: Can I Have A Warm Welcome? (Alexander Martinez)
Re: RH7.1 - Can't telnet or SSH in from another host (Lucius Chiaraviglio)
Re: growable disk partitions ("Eric")
Re: RH7.1 - Can't telnet or SSH in from another host (Aaron Kaase)
NT 4 and RH 6.2 dualboot (Jon Sjostedt)
FS: redhat 7.1 cd ("red hat 7.1")
ftp login delay from proxy ([EMAIL PROTECTED])
Stop GNOME!? ("professor bikey bike")
----------------------------------------------------------------------------
From: "tin" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: how to add lan card without linuxconf?
Date: Mon, 7 May 2001 13:15:43 +0800
i using redhat
is i add more ip = make one more file in
/etc/sysconfig/network-scripts/ifcfg-eth0:0 ....
thank you
"Dean Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hi!,
>
> > may i know how to add lan card by command line?(without linuxconf)
> > how to add ip, gateway , netmask, boardcast address etc...
>
> You might like to take a look through the NET-HOWTO which is located at
> http://www.linuxdoc.org. As you haven't specified which version of Linux
you
> are using, it is impossible to give you detailed instructions. I would
> recommend however, that you let Kudzu do the network card detction and
> installation for you. Once that is done, if you are using
RedHat/Mandrake,
> you might like to take a look at the files /etc/sysconfig/network and
> /etc/sysconfig/network-scripts/ifcfg-eth0.
>
> See ya
>
> Dean Thompson
>
> --
>
+____________________________+____________________________________________+
> | Dean Thompson | E-mail - [EMAIL PROTECTED]
|
> | Bach. Computing (Hons) | ICQ - 45191180
|
> | PhD Student | Office - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus) | Fax - +61 3 9903 1077
|
> | Melbourne, Australia |
|
>
+----------------------------+--------------------------------------------+
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: how to add lan card without linuxconf?
Date: Mon, 07 May 2001 15:28:22 +1000
Hi!,
> i using redhat
> is i add more ip = make one more file in
> /etc/sysconfig/network-scripts/ifcfg-eth0:0 ....
Yep, if you want to make use of IP aliasing (hence putting more than one IP on
one network card) then yes, you name your scripts with the primary interface
and then a ":" and then the number of the alias. Make sure that you change
the device name inside the file as well.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
Date: Mon, 07 May 2001 08:13:54 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: RH7.1 - Can't telnet or SSH in from another host
Aaron Kaase wrote:
>
> On Sun, 06 May 2001 14:49:08 +0200, Michael Heiming
> <[EMAIL PROTECTED]> wrote:
>
> >Telnet is mostly controlled via tcp wrappers (/etc/hosts.allow and
> >/etc/hosts.deny)
> >check "man tcpd" and "man 5 hosts_access" for details, may be there is
> >your problem.
>
> I am sure you are correct, it has something to do with the TCP
> wrappers. I did glance over those man pages. But a few newbie
> questions linger in my mind:
>
> Do I edit the /etc/hosts.allow text file to insert my parameters? I
> assume this is the case. I put ALL:ALL in there (after all the #
> comments), restarted the xinenetd service (typed '/sbin/service xinetd
> restart'). No improvement at all, telneting in from my other system
> still times out.
>
> >Direct root login is disabled per default on most distros for good
> >reasons.
>
> You're right, however I can't even get to the point where I can log in
> with any User ID, let alone root.
>
> With other distros, I've had no problems telneting into the system.
> I'm looking for assistance from someone experienced who has installed
> RH7.1, and has had this exact same problem, and to tell me exactly
> what changes I need to fix this problem.
>
> This, combined with the man pages, will teach me a lot more than the
> man pages themselves.
>
> >On the other hand you're just asking for trouble if you run telnet,
> >there are no
> >so called "security enthusiasts", it's just plain stupid to use telnet,
> >like buying a modern locking system for your home and then leave the key
> >below the doormat...So, use ssh & scp, there is really no need to run
> >telnet or
> >any kind of r* services.
>
> I'm having the same problems trying to SSH in, too. Times out. Again,
> didn't have this problem with other distros.
>
> I'm on a private network with a firewall, plus I have nothing to hide,
> so I'm not too concerned with the security issues of telnet. But I
> think once I'm able to telnet, I should also be able to SSH.
Hello,
this is how my /etc/hosts.allow looks:
# See tcpd(8) and hosts_access(5) for a description.
#(ALL EXCEPT in.fingerd) EXCEPT in.identd : ALL : (safe_finger -l @%h
2>&1| \
# /bin/mail -s "%d-%h %u" root) &
ALL : 127.0.0.1 192.168.0.99 192.168.0.100 192.168.1.53 LOCAL
This is from my /etc/hosts.deny:
ALL : ALL EXCEPT LOCAL
May be this gives you an idea, please respond to the ng too,
if you respond via mail, as others could be able to help you,
if all info would be available to them.
Good luck
Michael Heiming
------------------------------
From: Nader <[EMAIL PROTECTED]>
Subject: Re: Serious problem with the serial port
Date: Sun, 06 May 2001 23:15:15 -0700
I've had a very similar problem that once turned out to be fixed by a serial
driver update and kernel upgrade and the second time was due to utility files
needed along with the new 2.4 kernel. It sounds like you may have already
determined that is not the problem, but here are some questions to help us all
try to help you:
1. For the working and non-working installations: what kernel version? What
is the serial driver version "dmesg | grep Serial"? What is the wvdial
version?
2. What is in "cat /proc/pci"?
3. What is in "cat /proc/interrupts"?
4. What kind of modem is it? PCI? Winmodem? Linmodem?
5. What are the serial port settings "setserial -ag /dev/ttyS*"?
6. Which port is wvdial using? /dev/ttyS0? /dev/modem?
"Frank St�ckl" wrote:
> Hello,
>
> I am having a serious problem accessing the serial port with wvdial.
> One I was using SuSE Linux 6.4 and I used wvdial to dial up
> to my ISP. Then I decided to build a new installation right out
> of the sources because I was not satified with my installation because
> it was so "canned" and I wanted to learn more about it, get rid of things
> I did not really know what they did and I wantet to get rid of the package
> management. So I got the "Linux from Scratch"-book and started the
> installation.
> Everything worked perfectly and I got a nice system. Then I wantet to
> install the
> internet access and I compiled wvdial but wvdial said "ttyS0: Device or
> Resource busy".
>
------------------------------
From: "Phil Scheffler" <[EMAIL PROTECTED]>
Subject: Mandrake 8.0 install problem
Date: Mon, 7 May 2001 02:12:05 -0400
Hi,
I'm trying to install Mandrake 8.0 on a second partition of my hard
drive of my Sony Vaio FX 120 Laptop...It loads the install program all right
but then freezes on PCMCIA detection. My friends say it can't be
done...Does anyone know of any fixes or work arounds? Here's my specs
Windows ME
128 MB RAM
Intell PIII 700
total size of HDD = 10GB
partitioned into 2x 5GB
two PCMCIA slots (empty)
removable floppy
intergrated DVD drive
integrated ethernet
(let me know if there are any more details you would like to know.)
Thanks for any help...it is really appreciated :)
-Phil
------------------------------
Reply-To: "Nils O. Sel�sdal" <[EMAIL PROTECTED]>
From: "Nils O. Sel�sdal" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Which Linux to Get for Win2k?
Date: Mon, 7 May 2001 08:16:41 +0200
"Brett" <[EMAIL PROTECTED]> wrote in message
news:Q8lI6.7$[EMAIL PROTECTED]...
> Hi, all! I think I'm ready to succumb to the charms of Linux. But I'm
> clueless. I've spent the last 3 hours searching for answers on the Web but
I
> must say it's a real pain in the ass for a newbie like me to find relevant
> info about Linux.
>
> I hope someone can offer a straight answer to my question: Which Linux
> distrubition should I get so I can run it from within Windows 2000
> Professional?
>
> I have a PC with standard parts (i.e., nothing fancy). Pentium III, 256MB
of
> RAM, three hard drives one of which is FAT32. Since I have tons of
> important work saved across the three drives, ideally I'd like to install
> Linux as a Win2k application if possible. I.e., just launch Linux like the
> way one launches Word or Excel.
>
> If this is not feasible, at the least I'd like to install Linux onto the
> FAT32 drive without creating any partitions. Is this possible? I heard
> that Corel Linux can do that, but it doesn't support Win2k. Which
> distribution should I try, then?
>
> So -- don't laugh, please -- I'd like to play with Linux while preserving
> everything in Win2k. I'm not a risk taker at this point, because I can't
> afford to get fired from work for losing important files. My thinking is
if
> I like Linux, I'll get a new computer and install both win2k and linux on
> it.
Probably any distribution, as long as you have VMWare or som other
emulator...
------------------------------
From: Steve Hill <[EMAIL PROTECTED]>
Subject: Re: problem repartitioning for linux
Date: Sun, 06 May 2001 23:35:16 -0700
Thanks, Dave. What you wrote was pretty much spot on, except that Win
ME doesn't allow you to format a system disk. You must go to
"Add/Delete Software" and go to the create System Diskette tab (which I
have to admit, I hadn't remembered about.) I've done my partitioning
and am currently installing RH7.1 .. Woo woo!!
Steve
Dave Berntson wrote:
>
> On Sun, 06 May 2001 16:12:51 -0700, Steve Hill <[EMAIL PROTECTED]> wrote:
>
> >I have FIPS2.0 and was warned not to use it from windows ... but the new
> >machine that I'm trying to install this on doesn't have a "Restart from
> >DOS" capability, nor do I even see how to create a DOS boot disk. Has
> >Unca Billy done it to me again?? Has anyone repartitioned a WIN ME
> >drive, and if so, how??
> >
> >Steve
> >
> Although I used fips on a 98se, my instructions were for Win9x/ME, so, they
> should work for you too.
> You have the right version of Fips. The "warning" is that you should not
> use it in a DOS window from your winME. In other words, you have to boot
> directly to DOS from a floppy boot disk. Get a floppy disk (blank, or one
> that has nothing of importance on it). Boot your windows and go to the dos
> window or "exit to dos" (any dos will do). Put your floppy in the drive. I
> assume a: is your floppy drive, so, then type this:
> format a: /s
> and include the space after format and :
> That will make a boot floppy. Now go back to windows and copy fips to the
> floppy. Fips should include:
> fips.exe
> restorrb.exe
> errors.txt
> Now reboot with the floppy in it's drive to see if you got it right. If
> you boot to DOS, you have a working floppy boot disk. Now you should
> clean-up your windows and defrag the hard drive before using the fips
> program. You have to figure out how you want to allocate the space on your
> hard drive before you start partitioning. In my case, I gave windows about
> 2.3 gigabytes (which gives it about 400 megabytes of free space...for
> growth), and linux got 1.7 gigabytes. In fact, when you install, you will
> destroy the non-windows partition and make 3 partitions for the
> linux...swap, root (which appears as a slash mark), and boot.
>
> >Chiefy wrote:
> >> > Fips (First non-destructive Interactive Partition Splitting program) is the
> >> > safe way to re-partition a hard drive to maintain windows and dual boot with
> >> > linux.
> >>
> >> I'll second that. Must have used FIPS over a hundred times over a few
> >> years and haven't lost a single DOS partition. Haven't lost a single
> >> byte of data to my knowledge. Excellent little prog.
> >
> >-----------------------
> >email:
> > [EMAIL PROTECTED]
> >-----------------------
--
=======================
email:
[EMAIL PROTECTED]
=======================
------------------------------
From: Alexander Martinez <[EMAIL PROTECTED]>
Subject: Re: Can I Have A Warm Welcome?
Date: Mon, 07 May 2001 09:00:22 +0200
the-weirs wrote:
> Hey I'm totally new here (call me Monopoly) and I'm totally freaked out by
> the change and differences between my Windows Millennium Edition and some of
> those Linux distributions.
at least, it is more stable, faster and more secure than this windoze crap
> I've not yet got a distribution and I'm seeking
> some real good advice. I know that the best one decided to be best is by
> opinion and I'm sure you all have different opinions. Oh yeh todays my first
> day in being interested in Linux (May 6th 2001) and also the day I bought
> the 8th issue of Linux Magazine which costed me �4.99! I hear that SuSE is
> the flavour of Linux which Europe mostly takes a shine to. Also Red Hat
> Linux seems pretty popular worldwide as a server type thing.
If you want my opinion: Debian is the best one. It has no graphical install,
like RedHat or SuSE. Most configuration is done by hand in configuration files,
not by tools as yast or so. But it is easy to administer and upgrade over the
internet. you get 3 CDs, with most software you will ever need (things like
vncviewer or licq). And best of all: it ships without KDE!!
> Viva Linus Torvalds!
yes, live long and prosper, Linus! and thx for Linux! (what sort of a rhime is
this?)
>
> Monopoly.
> OVER AND OUT!
Greetings
Alex
------------------------------
From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Re: RH7.1 - Can't telnet or SSH in from another host
Reply-To: [EMAIL PROTECTED]
Date: Mon, 07 May 2001 07:02:59 GMT
Michael Heiming <[EMAIL PROTECTED]> wrote:
>Aaron Kaase wrote:
>> On Sun, 06 May 2001 12:53:19 GMT, [EMAIL PROTECTED] (James Rose)
>> wrote:
>> >Where is the machine you are attempting to connect to, in relation to the
>> >machine you are initiating the connection from? Can you use another service
>> >(ftp, http, ssh, etc.) to connect to this machine successfully?
>>
>> They are on the same LAN in the same subnet.
>>
>> System A (Linux) = 192.168.123.199 (255.255.255.0)
>> System B (Win2k) = 192.168.124.191 (255.255.255.0)
>
>They are not on the same subnet!
>
>This is a reserved class C address. You should be first able to ping
>the system from each other with IP and names.
More specifically, the NetMask on each system's IP address guarantees
that they are on separate subnets, because binary '1' digits appear in some of
the positions in which the IP addresses differ. To fix this, you could do any
of several things:
A. Change the subnet mask on both units to 255.255.0.0 (or even
255.255.253.0) so that they are on the same subnet. (Yes,
this is a cheat, because 192.168.*.* are supposed to be Class
C addresses, but I have done the same thing with 172.16.*.*
through 172.31.*.* with NetMask 255.240.0.0 and had no
problems -- even Windows NT doesn't complain about this. I
only had to stop doing this to be compatible with the rest of
the networks at work. :-) )
B. Change 1 system's IP address so that it has the same 3rd octet
as the other system. This will put them on the same subnet.
Alt. B. Use the IP aliasing feature of Linux to give its ethernet card
a second IP address that has the same 3rd octet as the Windows
system. I could tell you how to do this on a system with a
2.2.x kernel (such as Red Hat 6.x or 7.0 -- make a "eth0:0"
interface with the new IP address -- I have tried this and it
works). However, from what I understand (somebody correct me
if I'm wrong) you have to use a different procedure to get this
with a 2.4.x kernel, and I don't know what the new procedure is.
C. Put a router (could be another Linux or *BSD machine with 2
ethernet ports) in between the 2 machines, and get it set up
correctly to route stuff between the 2 subnets.
--
Lucius Chiaraviglio
New e-mail address is approximately: [EMAIL PROTECTED]
To get the exact address: ^^^^^^^^^^^^^^^^^
Replace indicated characters with common 4-letter word meaning the same thing
and remove underscores (Spambots of Doom, take that!).
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: growable disk partitions
Date: Mon, 7 May 2001 09:10:49 +0200
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 17 136521 83 Linux
> /dev/hda2 18 2480 19784047+ 5 Extended
> /dev/hda5 18 801 6297448+ 83 Linux
> /dev/hda6 802 1324 4200966 83 Linux
> /dev/hda7 1325 1357 265041 82 Linux swap
> /dev/hda8 1358 1374 136521 83 Linux
> /dev/hda9 1375 1391 136521 83 Linux
> /dev/hda10 1392 1400 72261 83 Linux
>
>
> Can somebody suggest a way to reclaim the unused space to allow
> creation of a new primary partition?
>
shrink hda2.
Use eg. GNU's parted for this.
Eric
------------------------------
From: [EMAIL PROTECTED] (Aaron Kaase)
Subject: Re: RH7.1 - Can't telnet or SSH in from another host
Date: Mon, 07 May 2001 07:25:10 GMT
On Mon, 07 May 2001 08:13:54 +0200, Michael Heiming
<[EMAIL PROTECTED]> wrote:
>May be this gives you an idea, please respond to the ng too,
>if you respond via mail, as others could be able to help you,
>if all info would be available to them.
I put
ALL : ALL
in the hosts.allow. The hosts.deny file just has the comments--no
pattern. Then I rebooted the entire system. Still doesn't work!
>Good luck
I need more of it!
I'm tempted to blow away the entire RH7.1 and start from scratch.
Maybe something didn't install correctly... Or maybe I'll downgrade to
an older version of RH.
Seems rather drastic when I simply can't telnet into the system, but
then nobody on this ng seems to know what's wrong either.
--
Aaron Kaase
St. Paul, MN
------------------------------
From: [EMAIL PROTECTED] (Jon Sjostedt)
Subject: NT 4 and RH 6.2 dualboot
Date: 7 May 2001 07:31:13 GMT
I have read this group for a while now, trying to find a solution for a not too
unusual problem.
I have a machine with a 10GB SCSI/drive. I have NT4 installed "first" with NTLoader in
the MBR and NTFS filesystem. I also have RH 6.2 on SDA6 (all linuxpartitions below cyl
1024, checked with fdisk in linux) with LILO in partitionroot.
Now i boot from a disk created at install. But i would like to have some kind of
dualboot with the NT loader. I have tried most tips given here, like dd if=/dev/hda6
of=linux.bin bs=512 count=1. Also same thing with the linuxbootfloppy. This just dont
work. May it depend on the NTFS? Can tell me any way to solve this (perhaps with LILO
in MBR)?
--
By
Jon Sj�stedt
Tunnlandsgatan 7
421 38 V.FR�LUNDA
031-45 97 26
[EMAIL PROTECTED] [EMAIL PROTECTED]
/\/\/\
|'__`|
( @@ )
\__/
------------------------------
From: "red hat 7.1" <[EMAIL PROTECTED]>
Subject: FS: redhat 7.1 cd
Date: Mon, 07 May 2001 02:37:36 -0300
for sale:
redhat 7.1 (disks 1 and 2)
$15
please remove the X to reply
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: ftp login delay from proxy
Date: Mon, 07 May 2001 07:45:53 GMT
A small number of my [human] clients, including myself, are experiencing
login delays of nearly 30 seconds when attempting to login to wu-ftpd.
The [ftp] clients vary from Unix to Windoze ftp client applications.
The delay occurs between the connect and the initial 220 message (after
which the ftp client typically displays the login prompt) If telnet is
used to telnet into the same server, no delay is seen. Nor, was one
seen with the stock ftpd that came with the RedHat 7,0 installation. If
one (experiencing this problem) uses telnet to connect with the ftp port
(21) 30 seconds elapses before the 220 ftp server message is returned.
It turns out that each of the [human] clients was connecting to the RH
server from their own proxy servers. While each of these [human]
clients were sharing their ADSL lines with one or more machines at their
respective locations, not every [human] client with this configuration
is experiencing the problem. When I determined that one other [human]
client used the same proxy server I was using (Linksys), I took a closer
look at the proxy configuration. It turns out the when "Block WAN
requests" is enabled, the ftp login delay occurs. When "Block WAN
requests" is enabled, one cannot even ping the IP address on which the
router sits. Disable this function, and it responds to ping.
I've read other newsgroup posts that suggest wu-ftpd differs from the
stock RH ftpd by performing an ident lookup on the incoming IP address.
I've also read posts that suggest adding the -I server parameter to the
/etc/xinetd.d/wu-ftpd script disables the ident lookups on login.
However, my own testing suggests that the delay still occurs, under the
above-mentioned scenario, even when the -I parameter is specified.
wu-ftpd logs login attempts to syslog. It does not, however, log
connects. I cannot determine from the logs what is going on during the
30-second interval. Does anyone know a means by increasing the log
output of wu-ftpd, so I can determine what is going on? Or perhaps,
someone already understands why this delay is incurred, and what I might
do to correct this at the server end.
I really dislike having to ask my clients to change something in their
proxy configuration, just to correct this delay, when they don't report
seeing it from other sites or servers.
------------------------------
From: "professor bikey bike" <[EMAIL PROTECTED]>
Subject: Stop GNOME!?
Date: Mon, 7 May 2001 01:05:54 -0700
I just installed RHL 7.1, and when I run Xwindows, it automatically sends me
to the GNOME login screen. I have managed to get it so that instead running
GNOME, once I log in, I go to Enlightenment, but just as a matter of
principle, I would rather have my login screen not display the GNOME login
screen graphics...I have searched wide and far for the file that is doing
this, but I can't find it. Any help?
Thanks in advance
--
------------------------------
** 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
******************************