Linux-Misc Digest #2, Volume #26                 Wed, 11 Oct 00 01:13:03 EDT

Contents:
  Re: repartitioning question (Michel Catudal)
  Re: dialup and a proxy server ("David Fulton")
  Re: Root password problem ("Michael Westerman")
  Re: Input/output error with Tape Drive ("Jeff Borders")
  Re: Strange SCSI behavior ("Jeff Borders")
  Re: can't login - hacked? ("Michael Westerman")
  Re: Hey! Newbie on WinLinux 2000 w/Win Me ("Kenneth Fingeret")
  Re: JDK1.3 ("Rudd")
  Re: mgetty/ppp question (Dustin Puryear)
  Re: Samba: Controlling printing from Windows clients (Dustin Puryear)
  Re: What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS??? (Dustin Puryear)
  Re: Accessing certain sites fails... (weird) (Dances With Crows)
  Linux on hard disk larger than 8.4 gb? ([EMAIL PROTECTED])
  Re: Root password problem (Bill Unruh)
  Re: Root password problem (Bill Unruh)
  Re: Newbie BIND question ("David ..")
  Re: SCSI tape drive problem w/ RH 6.1 (David_C)

----------------------------------------------------------------------------

From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: repartitioning question
Date: 10 Oct 2000 21:46:04 -0500

Neil Zanella a �crit :
> 
> Hello,
> 
> Here is my current partition table. Since I am running out of space and
> I also need DOS so that I can perform a BIOS update and other stuff I
> would like to change my /dev/hda7 into a /dev/hda7 (1GB ext2) /dev/hda13
> (1.5GB FAT32). But it seems to me that the Linux version of fdisk was not
> letting me do this so I rebooted into Win2K and reformatted the whole
> /dev/hda7 into a big FAT32. Since I only use /usr/local for my own stuff I
> thought that this would be OK. Unfortunately when I rebooted into Linux
> and unpacked my backed up /usr/local tarball (which I named local.tar) I
> got the following errors: (i) ownership problems (which were expeceted
> but it's not a big deal since I'm the only user on this computer) and (ii)
> symlinks could not be created; I didn't know that FAT32 did not support
> sym links. Anyway, now I am still wondering if I can still have a 1GB
> ext2fs partition for putting /usr/local and a separate FAT32 partiton
> to make into my drive E: under Win2K and use as DOS. Any ideas?
> (BTW, other than the symlinks having /usr/local as a FAT32 is a great
> way to share files (such as mp3s etc...) with Win2K since the partition
> is readable (and safely writeable!) from both OSs. See my partition tables
> bw
> 
> Here is my hard disk before repartitioning:
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       109    824008+   7  HPFS/NTFS
> /dev/hda2           110       839   5518800    5  Extended
> /dev/hda5           110       112     22648+  83  Linux
> /dev/hda6           113       432   2419168+  83  Linux
> /dev/hda7           433       704   2056288+  83  Linux
> /dev/hda8           705       745    309928+  83  Linux
> /dev/hda9           746       779    257008+  83  Linux
> /dev/hda10          780       807    211648+  83  Linux
> /dev/hda11          808       824    128488+  82  Linux swap
> /dev/hda12          825       839    113368+  83  Linux
> 
> /dev/hda12              109771     57661     46442  55% /
> /dev/hda5                21929      7621     13176  37% /boot
> /dev/hda1               824008    813524     10484  99% /nt
> /dev/hda9               248895     62786    173259  27% /home
> /dev/hda10              204951      1102    193267   1% /tmp
> /dev/hda6              2381120   2283100         0 100% /usr
> /dev/hda8               300137     41987    242654  15% /var
> /dev/hda7              2023920         4   1921104   0% /usr/local
> 
> Here is my hard disk after repartitioning:
> 
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/hda12              109771     57637     46466  55% /
> /dev/hda5                21929      7621     13176  37% /boot
> /dev/hda1               824008    813524     10484  99% /nt
> /dev/hda9               248895     62787    173258  27% /home
> /dev/hda10              204951      1103    193266   1% /tmp
> /dev/hda6              2381120   2283100         0 100% /usr
> /dev/hda7              2052260    539500   1512760  26% /usr/local
> /dev/hda8               300137     42022    242619  15% /var
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       109    824008+   7  HPFS/NTFS
> /dev/hda2           110       839   5518800    5  Extended
> /dev/hda5           110       112     22648+  83  Linux
> /dev/hda6           113       432   2419168+  83  Linux
> /dev/hda7           433       704   2056288+   b  Win95 FAT32
> /dev/hda8           705       745    309928+  83  Linux
> /dev/hda9           746       779    257008+  83  Linux
> /dev/hda10          780       807    211648+  83  Linux
> /dev/hda11          808       824    128488+  82  Linux swap
> /dev/hda12          825       839    113368+  83  Linux

For dos your partition needs to be below the 2G boundary if in LBA
and in fat16 as well and less than 2G long. Use partition magic to partition
the data safely. Always make backups just in case. The partition
will need to be primary and you have to set it active for the time
you install dos to make it the drive C:
Remember that you will not see the FAT32 while under dos. Winblows will
place this partition as the drive at the end.
If you were using the OS/2 boot manager it would be invisible to winblows.
The partitions will have to be visible to work with lilo. With the OS/2 boot
manager only one primary partition can be visible at a time. I don't know if
it works the same way with bootmagic.

Partition magic can convert your partition to ext2.
Linux fdisk can, all you have to do is change the code and save. Then you must
format that partition.

-- 
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.

------------------------------

From: "David Fulton" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.dial-up,comp.os.linux.setup
Subject: Re: dialup and a proxy server
Date: Tue, 10 Oct 2000 00:48:28 -0600

I have noted in Red-Hat 6.1 that the PPP module fails to compile. you may
want to get  a new kernel and try your scripts again.

"David Efflandt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sat, 2 Sep 2000 14:17:58 -0700, Steven L. Dahlin <[EMAIL PROTECTED]>
wrote:
> >Can anyone tell me if there is a product or a way to setup a proxy server
> >with dial up capabilities, i.e., allowing anyone on my network to make a
> >request and, if there is no current connection to the ISP, disl up and
> >establish the connection.  Earlier I tried diald but despite a lot of
input
> >from several and a lot of elbow grease I was unable to make it work.
> >Currently I am using a product call WinProxy on an NT workstation that
works
> >like a charm.  It was easy to setup and configure and has been easy to
> >maintain.  But I would certainly prefer to have a linux server in that
role,
> >but the pain and trouble of diald was too much.
>
> I had diald working great in RH 5.2, including a Perl fifo to monitor and
> control it.  But I never could get it to work in RH 6.1.  My
> pppd-demand.txt file at http://www.de-srv.com/linux/ may be helpful for
> getting demand pppd working.
>
> You don't really need a proxy.  There is a 3-liner in the IPCHAINS-HOWTO
> that will get you up and running with ip masquerade.  But you have to load
> the ip_masq_ftp module to ftp through it.  If you have a dynamic IP, you
> may also have to plug a 1 into /proc/sys/net/ipv4/ip_dynaddr.
>
> Note: I run my own caching DNS with zones added for my LAN (DNS-HOWTO) and
> haven't tried demand pppd with a dynamic IP.  It works fine with my laptop
> on the LAN whether it is running Mandrake or Win98se.
>
> --
> David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
> http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
> http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/
>
>



------------------------------

From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: Root password problem
Date: Wed, 11 Oct 2000 13:07:15 +1000

get to a xterm or a terminal as root
type passwd
follow steps
done
log out and try it.


Jay <jayp@*spamfree*datainn.co.nz> wrote in message
news:QSPE5.3762$[EMAIL PROTECTED]...
> I am new to Linux so could be doing something wrong......
> I am trying to change the root password (I am logged in as root) it asks
me
> for the new.. I enter it, it asks me to repeat so I do.
> Then I close the dialogue box and it asks me do I want to quit or activate
> the changes so I activate the changes then it quite.
> I tried numerous times to log in as root using the new password without
> luck - so for the hell of it I entered the old and I'm in!!!
> Did I miss a step?
>
> Thanks
> Jay
> Oh Red Hat 6.2 BTW
>
>



------------------------------

From: "Jeff Borders" <[EMAIL PROTECTED]>
Subject: Re: Input/output error with Tape Drive
Date: Tue, 10 Oct 2000 22:59:57 +0400
Crossposted-To: comp.os.linux.setup

I'm loading the modules:
insmod scsi_mod.o 
insmod aic7xxx aic7xxx='verbose'
insmod st.o

I've even tried loading sg.o but it didn't matter.

The messages.log output is below.

kernel: (scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 0/19/0 
kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs 
kernel: (scsi0) Cables present (Int-50 YES, Ext-50 YES) 
kernel: (scsi0) Downloading sequencer code... 415 instructions downloaded 
kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.31/3.2.4 
kernel:        <Adaptec AIC-7850 SCSI host adapter> 
kernel: scsi : 1 host. 
kernel: (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15. 
kernel:   Vendor: SONY      Model: SDT-7000          Rev: 0150 
kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02 
kernel: st: bufsize 32768, wrt 30720, max buffers 5, s/g segs 16. 
kernel: Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0 

I'm using an Adaptec 2910AU.  This card might have been sold by
Gateway2000, but the firmware is AIC-7850.  The 2910AU is not on the
supported list, but the AIC-7850 is.

------------------------------

From: "Jeff Borders" <[EMAIL PROTECTED]>
Subject: Re: Strange SCSI behavior
Date: Tue, 10 Oct 2000 23:06:51 +0400

I had the same strange behavior with mine.  It had to be last on the
chain and set to ID 5 with no other devices using ID 6.  Good Luck.
-Jeff Borders

------------------------------

From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: can't login - hacked?
Date: Wed, 11 Oct 2000 13:25:58 +1000



> Not all of them. The total backup he made just after the installation and
> before connecting to the network and Internet should be OK.


but probably still have the security hole....




------------------------------

From: "Kenneth Fingeret" <[EMAIL PROTECTED]>
Subject: Re: Hey! Newbie on WinLinux 2000 w/Win Me
Date: 11 Oct 2000 03:28:36 GMT

Hi,
I saw on TechTv show The Screen Savers that the ME startup disk actually
will boot you to the good olde "A" prompt.  If you didn't make one when you
installed ME then I hope that you can make one at this time.  This will work
for you I think as I don't have ME on my system.  Please try this out and
let me know if it works.  HTH
Kenneth Fingeret [EMAIL PROTECTED]

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I Have win me, and i dont want to change it to any other win OS, anyway...
> I brought the Maximum Linux magazine, and got the WinLinux 2000 Full
> Version, i installed it sucessfully, after the configure and stuff, i want
> to boot to the new os, but it says that this version of windows does not
> have ms-dos, or cannot be run in windows, and so it tells me if i want to
> run in an emulated ms-dos, it wont go to linux, and it needs to boot
> anyway, how can i get winlinux to run? any other way i can do it? (just
> remember that i m not gonna re-format my computer to win98 to do it.
>
>
> --
> Posted via CNET Help.com
> http://www.help.com/



------------------------------

From: "Rudd" <[EMAIL PROTECTED]>
Subject: Re: JDK1.3
Date: Tue, 10 Oct 2000 21:29:42 -0600

Ryuji Yokoyama <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello all!
>
> Is there RPM format of JDK1.3(JAVA2 SDK v1.3) ?  If so, please tell me
> where can I get it.
>
> thanks in advance.

The final release of JDK v1.3 for Linux is now available at
http://java.sun.com/j2se/1.3/download-linux.html .  An RPM package is
available there.

Rudd



------------------------------

From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: mgetty/ppp question
Reply-To: [EMAIL PROTECTED]
Date: Wed, 11 Oct 2000 03:40:25 GMT

On Tue, 10 Oct 2000 15:29:21 GMT, [EMAIL PROTECTED] 
<[EMAIL PROTECTED]> wrote:
>I have a dsl connection to the internet that is always on.  What I want
>to do is to enable our sales reps to be able to dial into our Linux
>server and access the internetthrough our dsl connection.

You need to post your configuration.

-- 
Dustin Puryear <[EMAIL PROTECTED]>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


------------------------------

From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: Samba: Controlling printing from Windows clients
Reply-To: [EMAIL PROTECTED]
Date: Wed, 11 Oct 2000 03:47:34 GMT

On Tue, 10 Oct 2000 17:01:47 +0200, Oliver Battenfeld i
<[EMAIL PROTECTED]> wrote:
>just got my stone-age Deskjet 510 working on my LAN server. Windows
>clients can print via a Samba share (Sidenote: Does anyone know, why
>this only works using the HPDJ 510 Windows driver instead of using a
>Postscript printer driver, which is suggested by the Samba Howto ?).

Is it a PS printer? If not then there is your reason.

>Problem: How to control the printing process from the Windows clients.
>It would at least be necessary to be able to remove the job from the
>queue, so that the printer stops (with as little delay as possible). Is
>that possible with Samba/LPRng/Linux ? Any extra tools maybe ?

You should be able to open your printer control window on the Windows client
and delete jobs already. At a minimum they should be listed as they wait in 
the print queue. If they aren't listed then read the Samba documentation about
specifying the lpq and lprm command.

>Ciao,

Ciao.

-- 
Dustin Puryear <[EMAIL PROTECTED]>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


------------------------------

From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: Re: What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS???
Reply-To: [EMAIL PROTECTED]
Date: Wed, 11 Oct 2000 03:52:21 GMT

On Tue, 10 Oct 2000 13:03:50 GMT, [EMAIL PROTECTED] 
<[EMAIL PROTECTED]> wrote:
>What shoud I use on redhat 7.0 IP-Masquerade or IPCHAINS???

Unless there is a tool named IP-Masquerade on RH7 then I assume
you mean IP masquerading. If so, then note that ipchains is used
to configure ip masquerading on Linux.

To do so just use:

# ipchains -F
# ipchains -A forward -s [local-net..] -d 0/0 -j MASQ

This is pretty darn insecure, so be sure to run a firewall script 
like pmfirewall to do this the right way.

-- 
Dustin Puryear <[EMAIL PROTECTED]>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.networking
Subject: Re: Accessing certain sites fails... (weird)
Date: 11 Oct 2000 04:11:14 GMT
Reply-To: [EMAIL PROTECTED]

On 10 Oct 2000 21:16:08 -0500, Michel Catudal wrote:
[snip]
>As of 10:17PM Michigan time Tuesday Oct 10th 2000 it loads fine.

I know that.  Maybe I didn't make myself clear in the original message:

I can access freshmeat.net fine from a MacOS 9 machine via PPP using a
certain username/password/ph# on a particular physical phone jack.

I cannot do the same from my Linux box, though every other web/FTP/news/
whatever works fine AFAICT.

Therefore, there must be a problem in the configuration of my Linux box
somewhere.  I'm at a loss to know *where*, though.  DNS is set up
correctly and returns the correct IP for freshmeat.net.  It's not a
browser problem, as telnetting to port 80 and "GET / HTTP 1.0\n\n"
returns nothing but headers.  I tried setting my machine's hostname from
the PPP-assigned IP address (grasping at straws, thinking "rDNS
confusion?") and that didn't help.

The Linux box in question is performing IP-Masqing for box#2, but I
don't *think* this could have anything to do with my problem.  Box#2 can
access everything except freshmeat.net.  /sbin/init.d/firewall script
reproduced below in case the problem is in there:

#If you get your IP address dynamically from SLIP, PPP, or DHCP, enable
#this following option.  This enables dynamic-ip address hacking in IPMASQ,
#making the life with Diald and similar programs much easier.
#echo "1" > /proc/sys/net/ipv4/ip_dynaddr
/sbin/modprobe ip_masq_ftp
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -M -S 7200 10 160
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ

Hmmm.  I didn't see the #ed section before.  However, running the
command and re-connecting didn't help.  Argh....

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

------------------------------

From: [EMAIL PROTECTED]
Subject: Linux on hard disk larger than 8.4 gb?
Date: Wed, 11 Oct 2000 04:10:29 GMT

Hi all,

I've looked in the forums and can't find this
answer, although I'm sure it's here somewhere...

I have a 15.3 gb drive and want to install Linux
on it.  I would like to have a 4 gb root
partition and at least 3 other partitions.  My
computer only recognizes up to 8.4gb.  When I try
to install the overlay software (EZ Drive for
Western Digital), it asks me for the diskette of
my OS.  What can I do?

Thanks!


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Root password problem
Date: 11 Oct 2000 04:41:35 GMT

In <QSPE5.3762$[EMAIL PROTECTED]> "Jay" <jayp@*spamfree*datainn.co.nz> 
writes:

]I am new to Linux so could be doing something wrong......
]I am trying to change the root password (I am logged in as root) it asks me
]for the new.. I enter it, it asks me to repeat so I do.
]Then I close the dialogue box and it asks me do I want to quit or activate
]the changes so I activate the changes then it quite.
]I tried numerous times to log in as root using the new password without
]luck - so for the hell of it I entered the old and I'm in!!!
]Did I miss a step?

]Thanks
]Jay
]Oh Red Hat 6.2 BTW

Using what?  What dialog box? The way to change the password is to run the command
passwd
from a command line. 



------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Root password problem
Date: 11 Oct 2000 04:43:25 GMT

In <39e3d8af$[EMAIL PROTECTED]> "Michael Westerman" 
<[EMAIL PROTECTED]> writes:

]get to a xterm or a terminal as root
]type passwd
]follow steps
]done
]log out and try it.

NO don't log out. You may not be able to get back in! su to a user (
which will not require a password) and then su to root and see if the
password works. If not, just exit the user and try again.



------------------------------

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Newbie BIND question
Date: Tue, 10 Oct 2000 23:38:20 -0500

Jay wrote:
> 
> Hi all,
> I have been thrust into the world of Linux!
> I have installed BIND 8.2.2 on my Red Hat 6.2 install.
> I need to find a step by step guide in order to set-up the machine to act as
> a Primary Nameserver (Our NT server will be the secondary). I am familiar
> with DNS jargon but not the Linux OS so am stumped where to begin. I saw
> some bits in the linuxconfig area which I feel might have been the place -
> but don't want to wade around blind in case I stuff up any settings and
> disrupt the Sendmail service which is already running.
> 
> Thanks in advance
> Jay

This link might help.

http://www.linuxdoc.org/LDP/lame/LAME/linux-admin-made-easy/x1009.html

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

------------------------------

From: David_C <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: SCSI tape drive problem w/ RH 6.1
Date: 11 Oct 2000 01:02:45 -0400

Mike <[EMAIL PROTECTED]> writes:
>
> Oops.  Let me try that again without the tab key so it's legible:
> There appeared to be 4 pieces to the puzzle but only three of the
> solutions were printed in the messages.  Those four pieces were:
> 
> 1) host adaptor   solution=alias scsi_hostadapter aic7xxx in
>                   /etc/conf.modules

Right.  You need to load the driver for the SCSI card or no SCSI device
will work.  The conf.modules line should be used if you want to load it
as a module, and you are using RedHat, or a distribution that uses a
similar system of startup scripts.

You could also run modprobe or insmod on the aic7xxx module from a
startup script (like /etc/rc.d/rc.local) or compile the driver into your
kernel.

> 2) scsi tape support  solution= /sbin/insmod/st  in /etc/conf.modules

Correct.  Most distributions either compile this into the kernel or set
up the module to auto-load when you access the tape drive.  If neither
is true, however, manually loading it (via insmod) will work.

> 3) scsi core module   solution= ?

If you use conf.modules or modprobe to load the SCSI card driver, this
should load along with it, without any specific intervention.

> 4) new ramdisk image  solution= /sbin/mkinitrd  in /etc/conf.modules

This is only required if you need access to your SCSI card during the
boot sequence.  For instance, if you're booting off of a SCSI hard
drive.

If it's OK for the SCSI card to be inaccessible until after the boot
sequence finishes, you don't need this.

I recommend doing it anyway, however, because it will cause the module
to load earlier, which may allow other modules to load automatically
when they might otherwise have to be manually installed.

> How did you get SCSI core support?  Did you use the command
> /sbin/insmod/scsi_mod ?  Did you put the command into
> /etc/conf.modules?

On my system (with an aic7xxx SCSI card and a 1542 card - both of which
are named in conf.modules, and installed in an initial ramdisk) it
loaded automatically.  I didn't do anything special.

> It appears from the thread that you did NOT have to recompile the
> kernel, correct?

If your kernel is compiled to use these as modules (as most popular
distributions are, I think), then you shouldn't have to recompile.

-- David

------------------------------


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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-Misc Digest
******************************

Reply via email to