Re: autofs for all users

1999-06-05 Thread Brian Servis
*- On  5 Jun, Stefan Baums wrote about "autofs for all users"
> Hi all,
> 
> I am using autofs. My /etc/auto.master is:
> 
>   /mnt/amnt   /etc/auto.amnt  --timeout 1
> 
> and my /etc/auto.amnt is:
> 
>   cdrom   -fstype=iso9660,ro,user :/dev/hdc
>   floppy  -fstype=auto,rw,user:/dev/fd0
> 
> If I access /mnt/amnt/floppy for reading, everything is fine. If I try to 
> write
> something to the disk as ordinary user, I get:
> 
>   cp: cannot create regular file `/mnt/amnt/floppy/test': Permission 
> denied
> 
> The problem seems to be: If Joe User accesses /mnt/amnt/floppy, the automount
> daemon, _running as root_, calls mount _as root_ so that root is the owner of
> /mnt/amnt/floppy and the only one allowed to write there.
> 
> How can I let ordinary users access the floppy for writing?
> 

You need to set the permissions so that ordinary users can write to the
device.  This is my setup:

#/etc/auto.master
/rmd/etc/auto.rmd   -t 30

#/etc/auto.rmd
a   -fstype=auto,rw,uid=0,gid=35,umask=007,unhide,sync,quite  :/dev/fd0
z   -fstype=iso9660,ro,uid=0,gid=35 :/dev/hdd

Notice the user and group id's as well as the umask. I then have all
users that I want to be able to access the drives in group GID=35(I
call it group dos, but it can be anything you want).  When autofs mounts
the drives it mounts them with permissions root.dos rwxrwx---.   I also
have identical lines in my /etc/fstab so that the user can unmount them
manually with umount if they wish.

/dev/hdd  /rmd/ziso9660 noauto,user,ro,uid=0,gid=35  0   0
/dev/fd0  /rmd/aauto
noauto,user,rw,uid=0,gid=35,umask=007,unhide,sync,quite 0   0

The same can be done for other filesystem type partitions if you want,
say a win95 partition that you don't want to have mounted all the time.

This works for me, YMMV.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: netscape 4.6

1999-06-06 Thread Brian Servis
*- On  6 Jun, Hartmut Figge wrote about "Re: netscape 4.6"
> Serge Gavrilov wrote:
>> 
>> Hello!
>> 
>> Does anybody know: is (unoffficical) netscape 4.6 packed for Slink system
>> exists somewhere?
> 
> in order to keep my slink clean from the ´horrible´ glibc 2.1, i also
> had to found a way. i decided to download the tarball from netscape and
> to use the debian-installer.
> 

The communicator/netscape v4.6 as well as X 3.3.3.1 and a few other
newer debs for slink can be found at, http://ftp.netgod.net/x, or add
the line below to your sources.list file for apt.  This is a Debian
developers site, they are built from the potato sources against a slink
system, so they are safe.

deb http://ftp.netgod.net/ x/

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: netscape 4.6

1999-06-06 Thread Brian Servis
*- On  6 Jun, Wayne Topa wrote about "Re: netscape 4.6"
> 
>   Subject: Re: netscape 4.6
>   Date: Sat, Jun 05, 1999 at 08:04:54PM -0500
> 
> In reply to:Brian Servis
> 
> Quoting Brian Servis([EMAIL PROTECTED]):
>> *- On  6 Jun, Hartmut Figge wrote about "Re: netscape 4.6"
>> > Serge Gavrilov wrote:
>> >> 
>> >> Hello!
>> >> 
>> >> Does anybody know: is (unoffficical) netscape 4.6 packed for Slink system
>> >> exists somewhere?
>> > 
>> > in order to keep my slink clean from the ´horrible´ glibc 2.1, i also
>> > had to found a way. i decided to download the tarball from netscape and
>> > to use the debian-installer.
>> > 
>> 
>> The communicator/netscape v4.6 as well as X 3.3.3.1 and a few other
>> newer debs for slink can be found at, http://ftp.netgod.net/x, or add
>> the line below to your sources.list file for apt.  This is a Debian
>> developers site, they are built from the potato sources against a slink
>> system, so they are safe.
>> 
>> deb http://ftp.netgod.net/ x/
>> 
>> -- 
>> Brian 
> 
> I tried to install, with apt & dselect, communicator/v4.6 from your
> site but kept running into a problem with netscape-base-4 (>=10).  I
> can't find that version on your site, in potato or in Slink.
> 

Just a note that it is not my site. I am just recommending it.  

You are right, the netscape-base-4_14.deb is no where to be found for
slink libc(I have sent a note off to netgod to see if he can put it up
on his site).  I have put a copy that I built from the source at:
http://widget.ecn.purdue.edu/~servis/netscape-base-4_14_i386.deb.
Before you install this though you will need to install the libwww-perl
and liburi-perl packages from unstable(it would be great if they were
in the above archive as well), they do not need libc6(>=2.1) so this is
not a problem.  The easiest way to install them is to use dpkg on one
line:

dpkg -i liburi-perl_1.01-1.deb libwww-perl_5.42-1.deb 
netscape-base-4_14_i386.deb

After that use apt/dselect or whatever to install the rest of the
packages you need from http://ftp.netgod.net/x/.

Sorry for the confusion,

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Fetchmail

1999-06-07 Thread Brian Servis
*- On  7 Jun, Graham Lillico +44 1785 782329 wrote about "Fetchmail"
> Hi,
> 
> I am trying to create a script in /etc/ppp/ip-up.d that will run fetchmail
> to download my mail automatically.  I can run it manually using me 
> .fetchmailrc
> file but the I can't seem to get the script working correctly.  Any ideas. 
> Also as I have more than on email address but they all end up in the same 
> pop3 account with my ISP does anyone know how I can use procmail to send 
> these emails to the correct user?  Is anyone cares then I am using 
> FreeServe as my ISP if thats make any difference at all.
> 
> Regards
> 
> Graham.
> 
> 

% cat /etc/ppp/ip-up.d/fetchmail-up
#!/bin/sh

test -r /etc/fetchmailrc && \
fetchmail --syslog --invisible --fetchmailrc /etc/fetchmailrc
# end fetchmail-up


% cat /etc/fetcmailrc
set daemon 120
set logfile = "/var/log/fetchmail"

poll  with timeout 60:
user  there has password  is  here
fetchall
# end fetchmailrc


Is your account at FreeServe a multi-drop box or do you have other
email accounts on other hosts and the mail sent to those accounts is
forwarded to your FreeServe account? If is the former I don't have any
experience, sorry.  If it is the latter than the above should work
since once the mail is in FreeServe's pop3 server it is all addressed
to your FreeServe account name.


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: deb pkg of X-server for Matrox Millennium G200 AGP

1999-06-07 Thread Brian Servis
*- On  7 Jun, rathon wrote about "deb pkg of X-server for Matrox Millennium 
G200 AGP"
> Hi,
> 
> Can you point me to the .deb version of the X-server for Matrox Millennium
> G200 AGP. The Chip type is; MGA-G200 B8 R1
> 
> There is a version available in the xfree.org site, if a .deb pkg is not
> available, how do I install the oe from xfree.org ?
> 

http://ftp.netgod.net/x/

or for you apt source.list file

deb http://ftp.netgod.net/ x/

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: [Re: deb pkg of X-server for Matrox Millennium G200 AGP]

1999-06-07 Thread Brian Servis
*- On  7 Jun, rathon wrote about "Re: [Re: deb pkg of X-server for Matrox 
Millennium G200 AGP]"
> Brian,
> 
> There is no many of the xservers at this website, which is for the Matrox
> Millennium AGP ??
> 
> Rathon.
> 
> *- On  7 Jun, rathon wrote about "deb pkg of X-server for Matrox Millennium
> G200 AGP"
>> 
>> There is a version available in the xfree.org site, if a .deb pkg is not
>> available, how do I install the oe from xfree.org ?


It looked liked you knew which one to get.  Get the xserver-svga
package.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-




Re: Unwanted Graphical Login and other woes...

1999-06-08 Thread Brian Servis
*- On  9 Jun, Andrew J Fortune wrote about "Unwanted Graphical Login and other 
woes..."
> 
> I don't know what I have done, but Linux (using slink) is now booting up to
> a graphical login. This is not what I want at the moment, and I was
> wondering if anyone knew what the problem might be ?  this is not
> normally a problem, but I am trying to resolve other problems associated
> with startx and file resolutionand this is not allowing me to test some
> things.
> 

Sounds like xdm is installed and thus starting up as the system boots.
Probably the easist thing to do is remove the xdm package.  Use
dselect, apt or dpkg.  

As root issue the command:

dpkg --remove xdm

If you don't wan't remove it but just disable it, as root issue the
command:

update-rc.d -f xdm remove

This will remove the xdm links in /etc/rc[2-5].d that point to the
/etc/init.d/xdm script. Then at a later date when you want xdm to start
back up, issue:

update-rc.d xdm defaults 99 01


> I have heard that in order to have a text console at login, you have to set
> the initdefault action to 3 in the file /etc/inittab. However, it is already
> set to 3, but Linux still is presenting me with the graphical login !

I think this pertains to RedHat.  Debian by default does not have a
non-X run-level.  I think a proposal has been submitted to have this
changed though.  If you want to you can just manually delete the S99xdm
symlink from /etc/rc2.d and have inittab us run-level 2 as the default.


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: [Re: [Re: [Re: deb pkg of X-server for Matrox Millennium G200 AGP] ] ]

1999-06-08 Thread Brian Servis
*- On  8 Jun, rathon wrote about "Re: [Re: [Re: [Re: deb pkg of X-server for 
Matrox Millennium G200 AGP] ] ]"
> Finally resolved all the dependencies and ran xf86config. It wrote out
> the file in /etc/X11/XF86Config and that looks ok too.
> 
> When I do, % startx, I get the error:
> bash: startx:command not found
> 

Do you have the xbase-clients package installed?  startx resides is
that package.


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: deb pkg of X-server for Matrox Millennium G200 AGP

1999-06-09 Thread Brian Servis
*- On  8 Jun, rathon wrote about "Re: [Re: [Re: [Re: [Re: deb pkg of X-server 
for Matrox Millennium G200 AGP] ] ]]"
> I looked under /usr/X11R6/bin and there is no startx there..
> 
> I had installed all the base packages. How can I tell if I have xbase-clients
> package installed? If I do not have it, how do I install it from my CD.
> 
> % dpkg -i ???.deb
> 

dpkg -s 
or
dpkg -l 
or
dselect

will tell you if it is installed.

If it is not then you can either use dselect to access the cd-rom and
select the package for install or you can use

dpkg -i .deb 

to install it.


> 
> 
> Brian Servis <[EMAIL PROTECTED]> wrote:
> *- On  8 Jun, rathon wrote about "Re: [Re: [Re: [Re: deb pkg of X-server for
> Matrox Millennium G200 AGP] ] ]"
>> Finally resolved all the dependencies and ran xf86config. It wrote out
>> the file in /etc/X11/XF86Config and that looks ok too.
>> 
>> When I do, % startx, I get the error:
>> bash: startx:command not found
>> 
> 
> Do you have the xbase-clients package installed?  startx resides is
> that package.
> 
> 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: deb pkg of X-server for Matrox Millennium G200 AGP

1999-06-09 Thread Brian Servis
*- On  8 Jun, rathon wrote about "Re: [Re: [Re: [Re: [Re: deb pkg of X-server 
for Matrox Millennium G200 AGP] ] ]]"
> I looked under /usr/X11R6/bin and there is no startx there..
> 
> I had installed all the base packages. How can I tell if I have xbase-clients
> package installed? If I do not have it, how do I install it from my CD.
> 
> % dpkg -i ???.deb
> 

dpkg -s 
or
dpkg -l 
or
dselect

will tell you if it is installed.

If it is not then you can either use dselect to access the cd-rom and
select the package for install or you can use

dpkg -i .deb 

to install it.


> 
> 
> Brian Servis <[EMAIL PROTECTED]> wrote:
> *- On  8 Jun, rathon wrote about "Re: [Re: [Re: [Re: deb pkg of X-server for
> Matrox Millennium G200 AGP] ] ]"
>> Finally resolved all the dependencies and ran xf86config. It wrote out
>> the file in /etc/X11/XF86Config and that looks ok too.
>> 
>> When I do, % startx, I get the error:
>> bash: startx:command not found
>> 
> 
> Do you have the xbase-clients package installed?  startx resides is
> that package.
> 
> 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-



Re: make-dpkg: Version number stays the same

1999-06-09 Thread Brian Servis
*- On  9 Jun, Ron Hale-Evans wrote about "make-dpkg: Version number stays the 
same"
> Whenever I compile a new kernel, I give it a new version number with
> --revision, thus:
> 
>   # make-kpkg --revision custom.2.3 kernel_image
> 
> ...yet the version number of the resulting .deb package stays the same as
> the first time I compiled that kernel version's source. In this example, it
> would stay at custom.2.0, which was my first kernel 2.2.9 build.
> 
> Surely this isn't the right (documented) behavior? The man pages for
> make-kpkg aren't much help.
> 

You need to remove the stamp-configure file in the root of the source
tree.

>From the make-kpkg man page.

--revision number
   Sets  the  Debian  revision number for the packages
   produced to the argument number.  This has  certain
>  constraints:  It only has an effect during the con­
>  figure phase (in other  words,  if  a  file  called
>  stamp-configure  exists,  this option has no effect
>  --  run  make-kpkg   clean   or   manually   remove
>  stamp-configure  for  it to have an effect). So, if
>  you re-run make-kpkg with a different revision num­
>  ber, you have to reconfigure the kernel.  Secondly,
   it may contain only alphanumerics and  the  charac­
   ters  +  . (full stop, and plus) and must contain a
   digit.  NOTE: No hyphens allowed. (Look at  Chapter
   5  of  the Programmers manual for details). Option­ 
   ally, you may prepend the  revision  with  a  digit
   followed by a colon (:)

So do the following:

% make-kpkg clean
% make-kpkg --revision custom.2.3 kernel_image

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: pon/poff for ordinary user.

1999-06-09 Thread Brian Servis
*- On  9 Jun, Hans van den Boogert wrote about "pon/poff for ordinary user."
> I like pon/poff to be available to ordinary users of my system. Now I have
> to su before being able to turn on and off the ppp connection to the net.
> Does somebody know how to go about this? -- Hans
> 
> 

Add the user to the group 'dip'

addgroup  dip

Change/correct persmission of the following if not already set, well
this is what I have and it works for me,

[EMAIL PROTECTED]>ls -l /usr/sbin/pppd
 118 -rwsr-xr--   1 root dip119004 Apr  5 06:40 /usr/sbin/pppd*
[EMAIL PROTECTED]>ls -dl /etc/ppp
   1 drwxr-x---   6 root dip  1024 May 27 08:28 /etc/ppp/
[EMAIL PROTECTED]>ls -dl /etc/ppp/options
   1 -rw-r-   1 root dip   22 Apr 29 21:25 /etc/ppp/options
[EMAIL PROTECTED]>ls -dl /etc/ppp/peers
   1 drwxr-x---   2 root dip  1024 May 17 16:59 /etc/ppp/peers/
[EMAIL PROTECTED]>ls -l /etc/ppp/peers/provider
   1 -rw-r-   1 root dip   682 Mar  4 08:29 
/etc/ppp/peers/provider
[EMAIL PROTECTED]>ls -dl /etc/chatscripts
   1 drwxr-x---   2 root dip  1024 May 19 08:51 /etc/chatscripts/
[EMAIL PROTECTED]>ls -dl /etc/chatscripts/provider
   1 -rw-r-   1 root dip   252 May 18 21:06 
/etc/chatscripts/provider


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How to print on shared Windows printers from debian?

1999-06-09 Thread Brian Servis
*- On  9 Jun, Wojciech Zabolotny wrote about "How to print on shared Windows 
printers from debian?"
> Hi All!
> 
> Is there any way to print from debian on a printer connected to the
> Winblows machine on the same LAN?
> I found information about smbprint in SMB-HOWTO.pz, but there is no such
> utility in my Debian 2.1 box. :-(
> I have installed both samba & smbfs.
> 

The example script is in the samba-doc package.

% locate smbprint
/usr/doc/samba-doc/examples/examples/printing/smbprint
/usr/doc/samba-doc/examples/examples/printing/smbprint.sysv

I have no experience with it, sorry.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How to print on shared Windows printers from debian?

1999-06-09 Thread Brian Servis
*- On  9 Jun, Kent West wrote about "Re: How to print on shared Windows 
printers from debian?"
> Wojciech Zabolotny wrote:
> 
>> Hi All!
>>
>> Is there any way to print from debian on a printer connected to the
>> Winblows machine on the same LAN?
>> I found information about smbprint in SMB-HOWTO.pz, but there is no such
>> utility in my Debian 2.1 box. :-(
>> I have installed both samba & smbfs.
>>
> 
> I don't believe you need samba in order to print to a Windows-served printer 
> (IIRC,
> samba makes your *nix box look like an NT server). You might need smbfs if the
> Windows server is not running TCP/IP, but if it is running TCP/IP, you should 
> just be
> able to just set up your /etc/printcap file for remote printing. I can't get 
> to my
> printcap right now so I can't give you an example, but I'm sure you can find 
> one
> maybe in the PrintingHOWTO or something similar.
> 

True, you don't need smbd, nmbd or smbfs but you do need the smbclient
program in the smbclient package.  Windows printers are not serverd the
same as unix based lpd servers.  They still sit behind the smb protocol
and are 'shared'.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: X

1999-06-09 Thread Brian Servis
*- On  9 Jun, Will Lowe wrote about "Re: X"
>> is there an easy way to update my X server to the newest version? ie..
>> something i can add to my apt get file??
> 
> run 
> 
> apt-get update
> 
> then 
> 
> apt-get install 
> 
> This'll,  of course,  only work if you're following "unstable".  
> 

If you don't want to use unstable use netgod's slink X 3.3.3.1 packages
at:

deb http://ftp.netgod.net/ x/

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Unauthorized remote IP address

1999-06-09 Thread Brian Servis
Hi all,

I am trying to establish a network connection with my Palm Pilot via
the cradle on ttyS0 and pppd won't let it stay connected.  It
successfully lets the Palm log in but then terminates the connection
when it is setting up the interface, saying the peer(the pilot) is not
authorized to use the ip 192.168.1.99.  Below is the debug output and
the config file I am using

% cat /etc/ppp/options.palm
require-pap 
login 
auth 
passive 
silent 
persist 
local 
debug 
kdebug 1 
-detach 
mtu 576 
mru 576 
lock 
netmask 255.255.255.0 
192.168.1.1:192.168.1.99 
crtscts 
asyncmap 0 
name brian 

% pppd /dev/ttyS0 19200 file /etc/ppp/options.palm
Using interface ppp1
Connect: ppp1 <--> /dev/ttyS0
rcvd [LCP ConfReq id=0x11   ]
sent [LCP ConfReq id=0x1 
 ]
sent [LCP ConfAck id=0x11   ]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfAck id=0x2 ]
rcvd [PAP AuthReq id=0x8 user="servis" password="<*removed*>"]
user servis logged in
sent [PAP AuthAck id=0x8 "Login ok"]
sent [IPCP ConfReq id=0x1  ]
sent [CCP ConfReq id=0x1   ]
rcvd [IPCP ConfReq id=0xd]
sent [IPCP ConfRej id=0xd  ]
rcvd [IPCP ConfNak id=0x1 ]
sent [IPCP ConfReq id=0x2  ]
rcvd [LCP ProtRej id=0x12 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [IPCP ConfReq id=0xe  ]
sent [IPCP ConfAck id=0xe  ]
rcvd [IPCP ConfAck id=0x2  ]
Peer is not authorized to use remote address 192.168.1.99
sent [IPCP TermReq id=0x3 "Unauthorized remote IP address"]
rcvd [IPCP TermAck id=0x3 "Unauthorized remote IP address"]
sent [LCP TermReq id=0x3 "No network protocols running"]
rcvd [LCP TermAck id=0x3 "No network protocols running"]
Connection terminated.
Connect time 0.1 minutes.
Sent 273 bytes, received 262 bytes.

I couldn't find any docs on what this means and how to fix it.  I tried
other private ip's with no luck.  I have a nic at 192.168.1.1, a win95
pc on the other end of the local lan using 192.168.1.2, my modem on ppp0
using the ip that it was assign for this call(128.46.112.36) and the lo
at 127.0.0.1.

Any hints would be appreciated.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-



Re: Unauthorized remote IP address

1999-06-09 Thread Brian Servis

Hmmm, I have it wide open, from my pap-secrets

# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd
*   brian   "*" *

I even tried
*   brian  "*"   192.168.1.99

and got the same results.



*- On  9 Jun, Jens B. Jorgensen wrote about "Re: Unauthorized remote IP address"
> The trouble is in your pap-secrets file most likely. The fourth field 
> dictates what IPs can be used. Put
> in the IP you'd like to use or * to let it use anything.
> 
> Brian Servis wrote:
> 
>> Hi all,
>>
>> I am trying to establish a network connection with my Palm Pilot via
>> the cradle on ttyS0 and pppd won't let it stay connected.  It
>> successfully lets the Palm log in but then terminates the connection
>> when it is setting up the interface, saying the peer(the pilot) is not
>> authorized to use the ip 192.168.1.99.  Below is the debug output and
>> the config file I am using
>>
>> % cat /etc/ppp/options.palm
>> require-pap
>> login
>> auth
>> passive
>> silent
>> persist
>> local
>> debug
>> kdebug 1
>> -detach
>> mtu 576
>> mru 576
>> lock
>> netmask 255.255.255.0
>> 192.168.1.1:192.168.1.99
>> crtscts
>> asyncmap 0
>> name brian
>>
>> % pppd /dev/ttyS0 19200 file /etc/ppp/options.palm
>> Using interface ppp1
>> Connect: ppp1 <--> /dev/ttyS0
>> rcvd [LCP ConfReq id=0x11   ]
>> sent [LCP ConfReq id=0x1> 0xd22bea28>  ]
>> sent [LCP ConfAck id=0x11   ]
>> rcvd [LCP ConfRej id=0x1 ]
>> sent [LCP ConfReq id=0x2 
>> ]
>> rcvd [LCP ConfAck id=0x2 
>> ]
>> rcvd [PAP AuthReq id=0x8 user="servis" password="<*removed*>"]
>> user servis logged in
>> sent [PAP AuthAck id=0x8 "Login ok"]
>> sent [IPCP ConfReq id=0x1  ]
>> sent [CCP ConfReq id=0x1   ]
>> rcvd [IPCP ConfReq id=0xd   > 0.0.0.0> ]
>> sent [IPCP ConfRej id=0xd  ]
>> rcvd [IPCP ConfNak id=0x1 ]
>> sent [IPCP ConfReq id=0x2  ]
>> rcvd [LCP ProtRej id=0x12 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
>> rcvd [IPCP ConfReq id=0xe  ]
>> sent [IPCP ConfAck id=0xe  ]
>> rcvd [IPCP ConfAck id=0x2  ]
>> Peer is not authorized to use remote address 192.168.1.99
>> sent [IPCP TermReq id=0x3 "Unauthorized remote IP address"]
>> rcvd [IPCP TermAck id=0x3 "Unauthorized remote IP address"]
>> sent [LCP TermReq id=0x3 "No network protocols running"]
>> rcvd [LCP TermAck id=0x3 "No network protocols running"]
>> Connection terminated.
>> Connect time 0.1 minutes.
>> Sent 273 bytes, received 262 bytes.
>>
>> I couldn't find any docs on what this means and how to fix it.  I tried
>> other private ip's with no luck.  I have a nic at 192.168.1.1, a win95
>> pc on the other end of the local lan using 192.168.1.2, my modem on ppp0
>> using the ip that it was assign for this call(128.46.112.36) and the lo
>> at 127.0.0.1.
>>
>> Any hints would be appreciated.
>>
>> --
>> Brian
>> -
>> Mechanical Engineering  [EMAIL PROTECTED]
>> Purdue University   http://www.ecn.purdue.edu/~servis
>> -
>>
>> --
>> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> --
> Jens B. Jorgensen
> [EMAIL PROTECTED]
> 
> 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: a little [OFF-TOPIC] Exim .forward files

1999-06-10 Thread Brian Servis
*- On 10 Jun, Peter Ludwig wrote about "a little [OFF-TOPIC] Exim .forward 
files"
> 
> Also, how can I shrink down the three or four email filters which all do
> the same thing (search the header for debian-user@lists.debian.org, and
> transfer the email to my debian-user mailbox), into the one filter?  Is
> this even possible?
> 

Us 'or'

if $header_Resent-From: contains debian-user@lists.debian.org or
 $header_Resent-To: contains debian-user@lists.debian.org or
 $header_To: contains debian-user@lists.debian.org then
   save $home/mail/debian-user
endif

I use the following and have never had a mail not get into the correct
box.

if $h_X-Mailing-List: contains debian-user then 
   save /home/servis/Mail/debian 
endif

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: systemtime

1999-06-10 Thread Brian Servis
*- On 10 Jun, Thorsten Manegold wrote about "systemtime"
> Hi!
> What does the file /etc/adjtime do?
> It seems that when it is there hwclock.sh that is called at startup 
> always sets my systemtime to some funny value...
> 
> Any ideas?

Read the hwclock man page, there is a discussion about this file and
its use.

% man hwclock
[]

The Adjust Function
   The Hardware Clock is usually not very accurate.  However,
   much of its inaccuracy is  completely  predictable  --  it
   gains or loses the same amount of time every day.  This is
   called systematic drift.  Hwclock's "adjust" function lets
   you  make systematic corrections to correct the systematic
   drift.

   It works like this: Hwclock keeps  a  file,  /etc/adjtime,
   that  keeps  some  historical information.  This is called
   the adjtime file.
[]


Is it off by a fixed hour everytime?  I think Debian by default sets the
hwclock to GMT/UTC time and then sets the local time according to your
timezone. Run tzconfig and make sure your timezone is correct. I am not 
an expert on this so this is about all the advice I can give.

Anybody else have more concrete advice?

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Is this List down?

1999-06-11 Thread Brian Servis
*- On 11 Jun, Clyde Wilson wrote about "Re: Is this List down?"
> Yep, you are still on.

Anyone can post, you have to be subscribed to receive.  So the fact that
his message made it to the list doesn't mean that he is "still on."

> 
> On 11 Jun 1999, Peter Weiss wrote:
> 
>> Hello,
>> 
>> I receive no messages for days, am I not on the list anymore?
>> 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How to unmount /?

1999-06-12 Thread Brian Servis
*- On 11 Jun, Fu-Dong Chiou wrote about "How to unmount /?"
> Hi,
> 
> I was trying to unmount /, so that I can use defrag to optimize the HD.  
> However, booting from the boot disk, entering single user mode still does 
> not allow me to unmount /.  Can anyone tell me what I should do to unmount 
> /?  Or, is it possible to unmount /?  Thanks!
> 

The boot disk just boots the kernel on the disk and then uses the file
system on the hd.  You need to use the rescue disk which has its own
filesystem so that you mount/unmount the hd.  

HOWEVER, you don't really need to defrag an ext2 filesystem.  The
filesystem is much better about keeping files defragged on the fly than
any of the fat/vfat filesystems.  I have been using Debian since
for several years now and have never defraged my drives and they are
only about 5% fragmented, and in fact they have never differed from this
amount of fragmentagion for as long as I can remember.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: default ungziped /usr/doc/*/* ?

1999-06-12 Thread Brian Servis
*- On 12 Jun, Jonathan D. Proulx wrote about "Re: default ungziped /usr/doc/*/* 
?"
> On Sat, Jun 12, 1999 at 11:01:26PM +0900, OhkumaTadayoshi wrote:
>> 
>> Hi, 
>> 
>> I am wondering about way to grep or to view with editor /usr/doc/*/* files.
> 
> zgrep
> zless
> zmore
> 
> all work on gzipped files.

Also read /usr/doc/less/LESSOPEN.gz.  Basically just add the following
to your shell init script(.profile,.login, etc):

eval `/usr/bin/lesspipe`

And less by itself will read gzipped and bziped files as well as show
contents of tar, deb, arj, rpm and many others as well as info on
graphics files, which you can define by editing the /usr/bin/lesspipe.

Examples:
% less debianlogo-5.jpg
debianlogo-5.jpg 65x78 DirectClass 2951b JPEG 1s

% less /tmp/hello_1.3-14.3.deb
/tmp/hello_1.3-14.3.deb:
 new debian package, version 2.0.
 size 18798 bytes: control archive= 636 bytes.
 562 bytes,14 lines  control  
 122 bytes, 4 lines   *  postinst #!/bin/sh
  68 bytes, 3 lines   *  prerm#!/bin/sh
 Package: hello
 Version: 1.3-14.3
 Architecture: i386
 Depends: libc6
 Installed-Size: 34
 Maintainer: Ian Jackson <[EMAIL PROTECTED]>
 Description: The classic greeting, and a good example
  The GNU hello program produces a familiar, friendly greeting.  It
  allows nonprogrammers to use a classic computer science tool which
  would otherwise be unavailable to them.
  .
  Seriously, though: this is an example of how to do a Debian package.
  It is the Debian version of the GNU Project's `hello world' program
  (which is itself an example for the GNU Project).

*** Contents:
drwxr-xr-x root/root 0 1998-10-04 04:02 ./
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/doc/
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/doc/hello/
-rw-r--r-- root/root  2427 1998-10-04 04:02 usr/doc/hello/copyright
-rw-r--r-- root/root  2295 1998-10-04 04:02 usr/doc/hello/changelog.gz
-rw-r--r-- root/root  1827 1998-10-04 04:02 
usr/doc/hello/changelog.Debian.gz
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/man/
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/man/man1/
-rw-r--r-- root/root   596 1998-10-04 04:02 usr/man/man1/hello.1.gz
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/bin/
-rwxr-xr-x root/root  5000 1998-10-04 04:02 usr/bin/hello
drwxr-xr-x root/root 0 1998-10-04 04:02 usr/info/
-rw-r--r-- root/root  8779 1998-10-04 04:02 usr/info/hello.info.gz

Cool huh?

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: default ungziped /usr/doc/*/* ?

1999-06-12 Thread Brian Servis
*- On 12 Jun, Carl Mummert wrote about "Re: default ungziped /usr/doc/*/* ? "
>>I am wondering about way to grep or to view with editor /usr/doc/*/* files.
>>Of course, these files are gziped, according to debian policy.
>>Is there any way to choose to install these docs in ungziped as default?
>>I can ungzip these, but also want to leave these under control of package 
>>manager.
> 
> I am uploading here a small, hackish perl script that, along with some
> apache configuration changes, will allow you to view the compressed
> files in http://your-machine/doc as if they were not comrpessed.
> 

The dwww package already does all this and more. Check it out.

Package: dwww
Status: install ok installed
Priority: optional
Section: doc
Installed-Size: 169
Maintainer: Jim Pick <[EMAIL PROTECTED]>
Version: 1.4.3.4-0.2
Depends: httpd, man, perl, libc6
Recommends: info2www, menu (>= 0.11)
Suggests: lynx
Description: Read all on-line documentation via WWW
 dwww lets you read all install on-line documentation via a local
 WWW server. When possible, it converts the documentation to HTML.
 You need both a WWW server and a WWW browser.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Where is /usr/bin/file?

1999-06-12 Thread Brian Servis
*- On 12 Jun, Greg Starkes wrote about "Where is /usr/bin/file?"
> I downloaded xmms 0.9 last night. make complained about not being able
> to find /usr/bin/file. I used dpkg --search to see what packaged owned
> it, and found nothing. Is this not a part of the debian distribution? I
> noticed that RedHat has it.
> 

The --search won't help if you don't have the correct package installed
unfortunately. If you want to find the package that has the file you can
use the search engine "Search the Contents of the Latest Release" 
at http://www.debian.org/distrib/packages.html, or download a copy of
the dist/stable/Contents-<$arch>.gz file to your local drive and search
it, omit the leading slash.

% zgrep usr/bin/file Contents-i386.gz
usr/bin/fileutils/file

Therefor file is in its own package.

Package: file
Status: install ok installed
Priority: standard
Section: utils
Installed-Size: 233
Maintainer: Nicolás Lichtmaier <[EMAIL PROTECTED]>
Version: 3.26-1
Depends: libc6
Conffiles:
 /etc/magic 272913026300e7ae9b5e2d51f138e674
Description: Determines file type using "magic" numbers
 File tests each argument in an attempt to classify it.  There are three
 sets of tests, performed in this order: filesystem tests, magic number
 tests, and language tests.  The first test that succeeds causes the
 file type to be printed.



-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


RE: Where is /usr/bin/file?

1999-06-12 Thread Brian Servis
*- On 12 Jun, Pollywog wrote about "RE: Where is /usr/bin/file?"
> 
> On 12-Jun-99 Pollywog wrote:
>> 
>> On 12-Jun-99 Greg Starkes wrote:
>>> I downloaded xmms 0.9 last night. make complained about not being able
>>> to find /usr/bin/file. I used dpkg --search to see what packaged owned
>>> it, and found nothing. Is this not a part of the debian distribution? I
>>> noticed that RedHat has it.
>> 
>> I have the file, though I am unable to determine which package it came from.
>> 
>> The Debian package search facility might have this information, on Debian's
>> website.
> 
> Very strange; I looked for the package on Debian's website, using the search
> facility, and I can't find the package that owns /usr/bin/file.
> I do have /usr/bin/file on my Potato system.
> 

You have to omit the leading slash, search for 'usr/bin/file'.

FILE PACKAGE
--
usr/bin/fileutils/file

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: pppd/pon permission problem

1999-06-13 Thread Brian Servis
*- On 13 Jun, Attila Csosz wrote about "pppd/pon permission problem"
> I can use PPP as root but I'd like to use the PPP connection as a user.
> I added self to the dip group. Calling pon  I get the
> following errors
> 
> /usr/bin/pon: /usr/sbin/pppd: Permission denied
> 
> Currently( slink default ):
> 
> -rwsr-xr--   1 root dip105532 JÚN 19  1998 /usr/sbin//pppd
> -rwxr-xr-x   1 root root   45 JÚN 19  1998 /usr/bin/pon
> 
> Which permission should I set?
> 


Change/correct persmission of the following if not already set, well
this is what I have and it works for me,

[EMAIL PROTECTED]>ls -l /usr/sbin/pppd
 118 -rwsr-xr--   1 root dip119004 Apr  5 06:40 /usr/sbin/pppd*
[EMAIL PROTECTED]>ls -dl /etc/ppp
   1 drwxr-x---   6 root dip  1024 May 27 08:28 /etc/ppp/
[EMAIL PROTECTED]>ls -dl /etc/ppp/options
   1 -rw-r-   1 root dip   22 Apr 29 21:25 /etc/ppp/options
[EMAIL PROTECTED]>ls -dl /etc/ppp/peers
   1 drwxr-x---   2 root dip  1024 May 17 16:59 /etc/ppp/peers/
[EMAIL PROTECTED]>ls -l /etc/ppp/peers/provider
   1 -rw-r-   1 root dip   682 Mar  4 08:29 
/etc/ppp/peers/provider
[EMAIL PROTECTED]>ls -dl /etc/chatscripts
   1 drwxr-x---   2 root dip  1024 May 19 08:51 /etc/chatscripts/
[EMAIL PROTECTED]>ls -dl /etc/chatscripts/provider
   1 -rw-r-   1 root dip   252 May 18 21:06 
/etc/chatscripts/provider


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: New Win Convert--needs some help :)

1999-06-14 Thread Brian Servis
*- On 13 Jun, Jonathan D. Proulx wrote about "Re: New Win Convert--needs some 
help :)"
> 
> 
> TNT2: Make sure you get XFree86 3.3.3 not 3.3.1 the newer version is in the 
> "potato" distribution (current stable Debian 2.1 is "Slink" unstable is 
> "Potato")
> or you can get the tar balls from www.xfree86.org
> 

Don't make life hard for yourself once your system is installed and you
want to use X add the following line to your /etc/apt/sources.list file.

deb http://ftp.netgod.net/ x/

This site has the latest debian X 3.3.3.1 packages built for slink.

Since you have a TNT2 card you can also get a X server from Nvidia that
has better support for the TNT2 card.  I forget the address but go to
there drivers download page.  Just put the XF86_SVGA server under
/usr/local somewhere and modify the /etc/X11/Xserver file to point to
the new binary.
 
-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: A simple weird question

1999-06-14 Thread Brian Servis
*- On 14 Jun, [EMAIL PROTECTED] wrote about "Re: A simple weird question "
>> Hi, I'm a fan of Debian, and soon i'll have to give a speech 
>> at University talking about Linux and Debian. As our native
>> language is not English we always have this problem...
>> So the simple question is:
>> How is "Debian" pronounced? 
> 
> I think pronouncing it as you would in Portuguese will be good enough.
> In Spanish I say Debian just like if it were a spanish word, and it's
> almost identical to the pronunciation the Debian web pages give
> somewhere.
> 
> 
That somewhere is http://www.debian.org/doc/FAQ/debian-faq-2.html#ss2.5

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: default ungziped /usr/doc/*/* ?

1999-06-14 Thread Brian Servis
*- On 14 Jun, Jan Vroonhof wrote about "Re: default ungziped /usr/doc/*/* ?"
> "Steve Lamb" <[EMAIL PROTECTED]> writes:
> 
>> >> find . -name \*.gz | xargs gunzip
>> 
>> >Of course, if he did this, he shouldn't expect the system to
>> >upgrade cleanly anymore, and worse, remocving the packages won't
>> >delete the uncompressed files.
>> 
>> Hey, his system, he wants to mangle it instead of learning zless, zmore,
>> zgrep, etc, that's his perogative.  I'm only more than happy to help him
>> along.  ;)
> 
> It would be nice if the package system supported something like this
> (i.e. would consider both the normal and the gz version as part of the 
> package). Not all formats have "zxxx" equivalents yet (dvi comes to
> mind).
> 
> Jan
> 
> 

This was discussed on debian-devel last October.  See 
http://www.debian.org/Lists-Archives/debian-devel-9810/msg00041.html
for the start of the thread.

Don't hold your breath on dpkg supporting both compressed and
uncompressed files.  A quote from Manoj Srivastava <[EMAIL PROTECTED]> in
the thread I think sums up a number of the developers feelings on this.

   "There is no reason ever to uncompress a file (lesspipe and
 lessopen make it unnecessary). When I uncomress(sic) a file, it is done
 for a reason, and dpkg had bloody well leave it alone."


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Can I get the .deb files that I currently have installed.

1999-06-14 Thread Brian Servis
*- On 14 Jun, Mark Wright wrote about "Can I get the .deb files that I 
currently have installed."
> I want to be able to replicate my current Debian installation, by collecting
> all of the .deb files that I currently have installed.  'dselect' deleted
> all of the .deb's that it installed.  I know how to get the names of the
> installed packages (dpkg -l | awk '{print $2}'), but I can figure out how to
> translate that into a filename that I can ftp from debian.org.  When I look
> in the /var/lib/dpkg/available file, the 'Filename:' field is missing for
> all the installed packages.  Is there some way to automatically collect all
> the .deb's that match my current installation?
> 
> Mark.
> ---
> Mark Wright
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> 
> 

Try the dpkg-repack package.  This doesn't require any net connectivity
at all.

Package: dpkg-repack
Priority: optional
Section: admin
Installed-Size: 21
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Architecture: all
Version: 0.20
Depends: perl (>= 5.004)
Filename: dists/stable/main/binary-i386/admin/dpkg-repack_0.20.deb
Size: 8188
MD5sum: 442e4d83badc092a4725af5fd60c7a1d
Description: puts an unpacked .deb file back together
 dpkg-repack creates a .deb file out of a debian package that has already
 been installed. If any changes have been made to the package while it was
 unpacked (ie, files in /etc were modified), the new package will inherit
 the changes.
 .
 This utility can make it easy to copy packages from one computer to another,
 or to recreate packages that are installed on your system, but no longer
 available elsewhere, or to store the current state of a package before you
 upgrade it.

% dpkg-repack samba-common
-- Creating control files
-- Copying files
-- Building package
dpkg-deb: building package `samba-common' in `./samba-common_2.0.3-1_i386.deb'.
-- Cleaning up
-- Package build successful


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Local rc scriots

1999-06-15 Thread Brian Servis
*- On 14 Jun, Wayne Topa wrote about "Re: Local rc scriots"
> 
> In reply to:[EMAIL PROTECTED]
> 
> Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]):
>> What is the recommended place to put something analogous to a bsd rc.local
>> script?  There are a couple of housekeeping chores I'd like to do that don't
>> seem to fit into anything under /etc/init.d.
>> 
>> Thanks.
>> 
> /etc/init.d/local.   Then, after reading man update-rc.d, use the
> update-rc.d command to update the links in the /etc/rc?.d/
> directories.

Or any file name you see fit.

> 
> Use any of the files in /etc/init.d as a templet.
> 
> 

/etc/init.d/skeleton is meant just for this purpose.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: acroread --why can't package be installed?

1999-06-15 Thread Brian Servis
*- On 15 Jun, Barry Kauler wrote about "acroread --why can't package be 
installed?"
> When I type
> # dpkg --list acroread
> The package lists with the letters "pn" at the start of the line.
> Such packages will not install, and there is an error message
> "no installation candidate" when I try to install it.
> 
> Why, oh why is this?
> I don't have acroread currently installed, and there it is as a
> package, so why can't I install it?
> 

acroread is in the non-free section of the archives.  Do you have the
non-free section specified as a section to search for packages?

> What does "pn" actually mean?

Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ NameVersionDescription
+++-===-==-
pn  gv   (no description available)

Follow the vertical lines.
p:  Purged(a.k.a. you don't want to try and installed(i.e. it is not
   select for install in dselect), not even config configs)
n:  Not Installed(a.k.a. it is not currently installed)

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: hhhelllpppp?

1999-06-15 Thread Brian Servis
*- On 15 Jun, Jeremy Ellison wrote about "hhhelll?"
>
> after some "tinkering" that it can't recognize my Zoom PCI-bus modem 
>for some reason. I went thought the pppconfig and set up first with 

99.9% chance that you have a winmodem and it will NOT work under linux.
See http://www.o2.net/~gromitkc/winmodem.html for more info.  Basically
you will have to get a real modem. Sorry.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: shell programing

1999-06-15 Thread Brian Servis
*- On 15 Jun, Keith Beattie wrote about "Re: shell programing"
> On Tue, Jun 15, 1999 at 06:09:12PM +0300, Micha Feigin wrote:
>>
>> Is there any good online document for shell programing under unix (linux)?
>> i need bash and cshell.
>> Thanx
> 
> My favorite reference for bash is http://www.gnu.org/manual/bash/
> 

Isn't this the same as the info document that comes with the bash
package? i.e. 'info bash'?

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: ip-up scripts not running

1999-06-15 Thread Brian Servis
*- On 15 Jun, Joop Stakenborg wrote about "Re: ip-up scripts not running"
> On Mon, Jun 14, 1999 at 07:42:12PM +0100, Alisdair McDiarmid wrote:
> [...]
>> 
>> Also, I connect several times during a session: is there a way to
>> start fetchmail from ip-up only if it's not running already?
>> 
> 
> I run this from ip-up.d, it is a shell script:
> 
> --
> #!/bin/sh
> if ifconfig|grep ppp0; then
> if ! ps ax|grep fetchmail|grep -v grep; then
> fetchmail -d300
> fi
> fi
> -
> 
> Substitute 'fetchmail -d300' by any fetchmail command you like.

In daemon mode fetchmail will only allow one process per user anyways. 
So if you try and start a second one it just wakes the current process
and grabs the mail.  From the man page:

   Normally, calling fetchmail with a  daemon  in  the  back­
   ground  sends a wakeup signal to the daemon, forcing it to
   poll  mailservers  immediately.   (The  wakeup  signal  is
   SIGHUP  if  fetchmail  is  running as root, SIGUSR1 other­
   wise.)  The wakeup action also clears any  `wedged'  flags
   indicating  that  connections  have  wedged  due to failed
   authentication or multiple timeouts.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Switch console in xterm

1999-06-15 Thread Brian Servis
*- On 16 Jun, Gareth wrote about "Re: Switch console in xterm"
> On Tue, 15 Jun 1999, ktb wrote:
>> Somewhere I heard there exists a program that will allow you to switch
>> "consoles" in an xterm.  In other words it would be like switching
>> consoles with ctrl+alt+F* but from within a single xterm window.  I
>> poked around in the packages at the Debian site but can't find
>> anything.  I don't even know what to call it.  Makes it a little hard to
>> search for:)  Let me know if you've heard of such a thing.
> 
> You might be looking for a thing called screen it makes multiple
> consoles(windows) in any terminal (not just xterm) you can get it form any
> of the GNU mirrors eg...
> http://mirror.aarnet.edu.au/gnu/screen/
> 

Use the Debian package if this is what you want, screen is in its own
Debian package in the misc section.

Are you talking about switching between "desktops" under X?  Most
modern window managers under X support some form of multiple desktops
and virtual desktops. 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: acroread --why can't package be installed?

1999-06-16 Thread Brian Servis
*- On 16 Jun, Barry Kauler wrote about "Re: acroread --why can't package be 
installed?"
>
> It's in dpkg's local database, it's on the web package site, I've got a
> relatively new installation that hasn't been messed up in any way,
> I've never installed an earlier version of acroread.
> So, why can't anyone really answer this question?
> 

1) Try doing a manual purge just in case, and post the output if it
   fails.  You should get something like the following(I am using gv as
   an example here):

% dpkg --purge gv
dpkg - warning: ignoring request to remove gv which isn't installed.


2) Try downloading the package file to your local disk and then manually
   installing with dpkg and post the output to the list.

% dpkg --install acroread*.deb

Be patient, it will get resolved.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


autofs not autounmounting

1999-06-16 Thread Brian Servis

For some reason autofs is not autounmounting the mount points.  Even if
I explicity define a timeout in the auto.master file for a mount tree
it never unmounts the filesystem.  And no the filesystem is not in use.
I am using autofs_3.1.3-1 compiled from the Debian potato sources on my
slink box with a 2.2.9 kernel.  Does anybody have any hints? 

An example of my mount files:

# /etc/auto.master
/misc   /etc/auto.misc
/rmd/etc/auto.rmd
/ang/etc/auto.ang
/bri/etc/auto.bri

# /etc/auto.rmd
a   -fstype=auto,uid=0,gid=35,umask=007,rw,unhide,sync,quite  :/dev/fd0
z   -fstype=iso9660,ro,uid=0,gid=35 :/dev/hdd


Thanks,
-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Switch console in xterm

1999-06-16 Thread Brian Servis
*- On 16 Jun, David Wright wrote about "Re: Switch console in xterm"
> 
> Well there's also the concept of an Alternate Screen in xterm. That's
> why you don't see, for example, the last screenfull of output from
> less when you quit, but just your interactive commands. less uses
> the alternate screen, and you can switch back and forth with Ctrl
> and a mouse button (right for me, but I think that's non-standard).
> 

Cool!  As they say "You learn something new everyday!"  For me it was
Ctrl-Btn2 then select "Show Alternate Screen".  Amazing!

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Scanner, TV tuner, PC-TV support on Debian 2.1

1999-06-16 Thread Brian Servis
*- On 16 Jun, Nadarajah, Dinesh wrote about "Scanner, TV tuner, PC-TV support 
on Debian 2.1"

I am not speaking from experience, just pointing the way.

> 
> I am trying to find out some information on scanner support for Debian 2.1.
> Can someone recommend a good scanner for use?
> 

http://www.mostang.com/sane/

> Also, what would be a good PC-to-TV card that is supported on Linux. I am
> looking to run my graphics output to my computer output to my TV (preferably
> through a S-video connection).
> 
> Any recommendation on TV-tuner cards and software for Linux?
> 

http://roadrunner.swansea.uk.linux.org/v4l.shtml

If you find an application listed on those pages that you want to use
try searching for it on Debian's package page to see if it has been
packaged at http://www.debian.org/distrib/packages.html.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: communicator 4.6 - ftp bug

1999-06-17 Thread Brian Servis
*- On 16 Jun, Hartmut Figge wrote about "communicator 4.6 - ftp bug"
> greetings,
> well, now it´s me who have to whine.
> firstly, a hearty gghh.
> 
> my communicator 4.6 insists of unpacking certain types of files before
> saving to hd. this behaviour is not acceptable, therefore i have to use
> another version, which will download a file _unchanged_ if demanded.
> 

This is really annoying.

> could someone - preferably with version 4.61 or 4.08 - please download
> ftp://ftp.debian.org/debian/dists/unstable/main/source/graphics/sane_1.0.1-1.diff.gz,
> check and tell if the downloaded file has the size of 17428 bytes?

I usually use wget to download the files.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: agp graphics cards with slink

1999-06-17 Thread Brian Servis
*- On 17 Jun, [EMAIL PROTECTED] wrote about "Re: agp graphics cards with slink"
>> 
>> 
>> many computers bought in the last few mounts have agp
>> graphics cards.  the x servers that come with debian slink
>> seem not capable to handle with them.  how to work around
>> this problem?  (possibly without upgrading to potato)
>> 
> 
> You have three options:
> 
> 1) recompile X yourself (an option, not a good one likely)

ack!
> 
> 2) go to xfree86.org's site, and just grab the binary server you need, place
> it in /usr/local/bin and tell the /etc/X11 files to look there for the server.
> This has been discussed on the list, check the archives for lots of detail.
> 
ugh!

> 3) I have heard that people are working on a slink version of 3.3.3.1.  You 
> can
> wait and see.
> 

ahhh!  

Add this to your /etc/apt/source.list file for slink X 3.3.3.1 packages
and other slink built pototo packages.

deb http://ftp.netgod.net/ x/ 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


parport as module fails probe

1999-06-17 Thread Brian Servis

I just built a 2.2.10 kernel and decided to move the parport support
out as modules. I don't have any strange setup or share devices.  Now
when the modules load it fails to complete the IEEE 1284 probe.  When
the parport support was compiled in I had no problems.

Now:(as module)
Jun 17 11:11:11 brian kernel: parport0: PC-style at 0x378, irq 7 
[SPP,ECP,ECPEPP,ECPPS2] 
Jun 17 11:11:11 brian kernel: parport0: unable to get hardware to register IEEE 
1284 probe. 
Jun 17 11:11:11 brian kernel: parport0: unable to register for probe. 
Jun 17 11:11:11 brian kernel: parport0: no IEEE-1284 device present. 
Jun 17 11:11:12 brian kernel: parport0: unable to get hardware to register lp. 
Jun 17 11:11:12 brian kernel: lp: driver loaded but no devices found 

Before:(compiled in)
Jun  7 07:54:05 brian kernel: parport0: PC-style at 0x378 
[SPP,ECP,ECPEPP,ECPPS2] 
Jun  7 07:54:05 brian kernel: parport0: detected irq 7; use procfs to enable 
interrupt-driven operation. 
Jun  7 07:54:05 brian kernel: parport0: Printer, HEWLETT-PACKARD DESKJET 660C 
Jun  7 07:54:05 brian kernel: lp0: using parport0 (polling). 


I have in my /etc/conf.modules

alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7

I don't mind having the parport compiled in but I was just trying to
trim down the components that don't get used on a regular basis.

Anybody have any idea how to resolve this?

Thanks,
-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Potential solution to netscape crashing?

1999-06-17 Thread Brian Servis
*- On 17 Jun, Mark Wagnon wrote about "Potential solution to netscape crashing?"
>
[never ending netscape crash discussion]
> 
>>  
>> > I'm using Netscape Communicator with RedHat 6.0 on my box and it just dies
>> > anytime it has to view a Java applet.  Is there any work-around for this?
>> How
>> > about installing a Java VM?  Anything would help.  I want to view job
>> listings
>> 
>> Common problem. To fix, add
>> 
>> /usr/X11R6/lib/X11/fonts/75dpi
>> (and, if you have the 100dpi fonts)
>> /usr/X11R6/lib/X11/fonts/100dpi
>> 
>> to the catalogue section of /etc/X11/fs/config
>> 
>> Then restart xfs with /etc/rc.d/init.d/xfs restart 
>> 
>> See Deja for more.
> 
> I took a look at my xfs in init.d and I don't have a catalogue section.
> Maybe someone else who knows what theyre doing can try this out and see
> if it works?
> 

Just clarifying your statement, I don't know if it fixes the crash
problem.  

On Debian, edit /etc/X11/xfs/config, in there you will find a line
catalogue=... with all the font paths on it.(man xfs). This is what
they are talking about.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: xfree 3.3.3 for slink

1999-06-17 Thread Brian Servis
*- On 17 Jun, Alec Smith wrote about "Re: xfree 3.3.3 for slink"
> For Slink XFree86 3.3.3.1, use
> 
> deb http://ftp.netgod.net x/
> 
> in your /etc/apt/sources.list file. You'll get X 3.3.3.1 in addition to
> other updates for Slink.
> 
> Note: I don't believe the debs are official. The only official stuff for
> XFree86 3.3.3.1 is in Potato.

True but they are the next best thing.  The site belongs to another
Debian developer and the packages are built from the potato Debian
source packages on a slink machine.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


source packages (was Re: communicator 4.6 - ftp bug)

1999-06-18 Thread Brian Servis
*- On 18 Jun, Colin Marquardt wrote about "Re: communicator 4.6 - ftp bug"
> * Rick Macdonald <[EMAIL PROTECTED]> writes:
> 
>> Now it downloads the sane diff file as 17KB compressed, but I have to add
>> the .gz suffix to the filename in the netscape dialog or rename after.
>> Netscape seems to insist on stripping the extension.
> 
> I have seen this behaviour without adding any MIME stuff. If anyone
> knows, it should be the folks at http://www.ufaq.org (the Netscape
> Unofficial FAQ). I haven´t checked, as wget or pavuk are much nicer.
> 

I just discovered that apt has support for downloading the source
packages, extracting them and building a binary in one simple command.
All you need to do is add an appropiate line to your sources.list.
Basically it is the same as a binary URI line except that it starts
with deb-src. If you are running slink and want to compile a potato
package the just change the distribution to potato and it will grab the
potato source.(of course rtfm on apt, apt-get and sources.list)

deb ftp://ftp.debian.org/debian slink main contrib non-free
deb-src ftp://ftp.debian.org/debian potato main contrib non-free

Then run apt-get update and call apt-get like

% apt-get source hello
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 92.9kB of source archives.
Get:1 http://debian.midco.net potato/main hello 1.3-14.3 (dsc) [619B]
Get:2 http://debian.midco.net potato/main hello 1.3-14.3 (tar) [87.7kB]
Get:3 http://debian.midco.net potato/main hello 1.3-14.3 (diff) [4619B]
Fetched 92.9kB in 18s (4908B/s)
dpkg-source: extracting hello in hello-1.3

If you add the --compile option you get a package built from the source

% apt-get --compile source hello
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 92.9kB of source archives.
Get:1 http://debian.midco.net potato/main hello 1.3-14.3 (dsc) [619B]
Get:2 http://debian.midco.net potato/main hello 1.3-14.3 (tar) [87.7kB]
Get:3 http://debian.midco.net potato/main hello 1.3-14.3 (diff) [4619B]
Fetched 92.9kB in 19s (4757B/s)
dpkg-source: extracting hello in hello-1.3
[output from hello-1.3/debian/build & binary]
dpkg-deb: building package `hello' in `../hello_1.3-14.3_i386.deb'.



Very cool!!!

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: [OFF-TOPIC] Realplayer G2

1999-06-18 Thread Brian Servis
*- On 18 Jun, Peter Ludwig wrote about "[OFF-TOPIC] Realplayer G2"
> I've been looking for Realplayer G2 all over the place (including at
> Real-Audio's website), and I cannot seem to find it for any unix-like
> operating systems...
> 
> Is there a particular place where it's at, or am I missing soemthing here?
> 

Grab the Debian installer from the contrib/net directory of the unstable
archive. Install the Debian package and it will tell you what file to
get from where and where to put it, etc.(I think you are supposed to get
the Redhat version from http://www.real.com/products/player/linux.html
and put it in /tmp).

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: I want to verify that binaries have not been changed

1999-06-18 Thread Brian Servis
*- On 18 Jun, Jesse G Warford wrote about "I want to verify that binaries have 
not been changed"
> How do I ask dpkg to display the file sizes of files in a package ?
> 
> 

Once the package has been installed and the actual .deb has been
removed there is no way.  The only way to see the size of the binaries
is do download the .deb package again and do a 'dpkg -c .deb'.

% dpkg -c hello_1.3-14.3_i386.deb 
drwxr-xr-x root/root 0 1999-06-17 19:35 ./
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/doc/
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/doc/hello/
-rw-r--r-- root/root  2427 1999-06-17 19:35 usr/doc/hello/copyright
-rw-r--r-- root/root  2295 1999-06-17 19:35 usr/doc/hello/changelog.gz
-rw-r--r-- root/root  1827 1999-06-17 19:35 
usr/doc/hello/changelog.Debian.gz
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/man/
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/man/man1/
-rw-r--r-- root/root   596 1999-06-17 19:35 usr/man/man1/hello.1.gz
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/bin/
-rwxr-xr-x root/root  5000 1999-06-17 19:35 usr/bin/hello
drwxr-xr-x root/root 0 1999-06-17 19:35 usr/info/
-rw-r--r-- root/root  8779 1999-06-17 19:35 usr/info/hello.info.gz

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: I want to verify that binaries have not been changed

1999-06-18 Thread Brian Servis
*- On 18 Jun, Matt Folwell wrote about "Re: I want to verify that binaries have 
not been changed"
> On Fri, Jun 18, 1999 at 08:31:56AM -0500, Brian Servis wrote:
>> *- On 18 Jun, Jesse G Warford wrote about "I want to verify that binaries 
>> have not been changed"
>> > How do I ask dpkg to display the file sizes of files in a package ?
>> > 
>> > 
>> 
>> Once the package has been installed and the actual .deb has been
>> removed there is no way.
> 
> What about
> dpkg -L package|xargs ls -ld
> ?
> 

That will list what is on the current system but he was concerned about
looking at the orginal file size to see if it has changed locally.  So
that could be used as a comparison to the sizes listed in the .deb.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Installing Potato

1999-06-18 Thread Brian Servis
*- On 19 Jun, Andrew White wrote about "Installing Potato"
> I just downloaded the whole of the Potato main, contrib and non-free
> dirs..and went through the install...
> 
> When running dselect I get an error...
> 
> ../base/libc6_2.1.1-12.deb containing libc6:
> libc conflicts with apt <<0.3.0
> conflicting packages  -  not installing libc6
> 

The latest apt is 0.3.6.  Just a guess, try installing apt 0.3.6 first
by hand with dpkg then start over.

note: I have note moved to potato so I am just taking an educated guess.
-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: how can one upgrade from slink to potato?

1999-06-18 Thread Brian Servis
*- On 18 Jun, Varga Robert wrote about "how can one upgrade from slink to 
potato?"
> 
> where can I find an apt 0.3+ for slink?

http://www.debian.org/~jgg/

dpkg -i apt*.deb

> 
> and then, how can I upgrade to potato?
> 
edit /etc/apt/sources.list to point to a potato mirror.

apt-get udpate
apt-get dist-upgrade

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: ppp-conection

1999-06-18 Thread Brian Servis
*- On 18 Jun, Alexander S Polyakov wrote about "ppp-conection"
> 
> Hi all,
> 
> I am connecting to Internet via ppp-conection. The problem is that my ISP
> disconnect me each 4 hours and I have to reconnect each time . Of course,
> I could write script to do so but is this possible to tell Debian
> automatically connect right after disconnection. I think yes but I don't
> know how to configure . Any suggections ?
> 

Add the persist option to your pppd options(read the pppd man page).

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: dselect, database out of sync?

1999-06-19 Thread Brian Servis
*- On 19 Jun, Johan Ur Riise wrote about "dselect, database out of sync?"
> When I run install in deselect, i get messages like these ones (hundreds
> of them):
> 
> Skipping deselected package et.
> Skipping deselected package expect5.24-dev.
> Version 19971204-3 of f2c already installed, skipping.
> Version 0.0-17 of fakeroot already installed, skipping.
> Version 2.5.4a-3 of flex already installed, skipping.
> 
> 
> Is this normal? I suspect that the database of installed packages is out
> of sync. If that is the case, is there some way of restoring the database,
> short of reinstalling the whole system?
> 

It is normal for the older 'access' methods.  It is going through each
package and checking what you want to do with it.  'Skipping deselected'
means that you have either a _ or - in front of it in the 'Select'
screen.  The 'already installed, skipping' means that you have a * in
front of the package in the 'Select' screen but the package is already
installed with that version on your system.

The newer 'access' methods, i.e. apt, do not do this and jump right to
the packages that either need to be installed, upgraded, or removed.

Don't worry you are fine.  Try installing apt and use that method.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: fetchmail doesn't runq

1999-06-19 Thread Brian Servis
*- On 19 Jun, Pierfrancesco Caci wrote about "fetchmail doesn't runq"
> 
> I've noticed that I have to manually execute runq after fetchmail
> finished getting mail. Prior version of fetchmail (the one in slink)
> did the delivery automatically at the end of the run.
> 

What is your mta?  Exim by default will stop delivering mail and hold
it until the next queue run when it gets a flood of messages at once. 
Add the following to the end you your fetchmailrc file(if you are
running it as root that is):

postconnect "runq"

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: wished I found wish

1999-06-20 Thread Brian Servis
*- On 20 Jun, Johann Spies wrote about "Re: wished I found wish"
> On Sun, 20 Jun 1999, Klaus Pieper wrote:
> 
>> You need wish to make xconfig. What do I have to install for my wishes
>> to become true?
> 
> bash-2.01$ dpkg -S wish | grep /usr/bin/wish
> tkstep4.2: /usr/bin/wishstep4.2
> tk8.0: /usr/bin/wish8.0
> tkstep8.0: /usr/bin/wishstep8.0

Better yet:

$ dpkg -S usr/bin/wish
tk4.2: /usr/bin/wish4.2
tk8.0: /usr/bin/wish8.0

> 
> bash-2.01$ l /usr/bin/wish
> lrwxrwxrwx   1 root root   27 May 19 18:00 /usr/bin/wish ->
> ../../etc/alternatives/wish*

You need to finish this out:

$ ls -l /etc/alternatives/wish
   0 lrwxrwxrwx   1 root root   16 Feb 12 20:44 
/etc/alternatives/wish -> /usr/bin/wish8.0*

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: UIDs missing, "I have no name!", etc

1999-06-20 Thread Brian Servis
*- On 19 Jun, Kent West wrote about "UIDs missing, "I have no name!", etc"
>
[tales of sorrow]
> 
> The only problem is that if I'm logged in as anyone except root and set my
> prompt to display my username, it displays instead "I have no name!" If I
> do a whoami command, it returns "cannot find username for UID 1000" (or
> whatever the UID is supposed to be.
> 

The UID and GID are the 3rd and 4th fields in the password file.  What
are they set to for your accounts. Should look like:

root:x:0:0:root:/root:/bin/bash
user:x:1000:1000:Full Name:/home/user:/usr/bin/tcsh

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How to determine local IP

1999-06-21 Thread Brian Servis
*- On 21 Jun, Rick Macdonald wrote about "Re: How to determine local IP"
> On Mon, 21 Jun 1999, Ramesh Natarajan wrote:
> 
>> This message was sent from Geocrawler.com by "Ramesh Natarajan" <[EMAIL 
>> PROTECTED]>
>> 
>> Hi, Once dialed in, how to determine the local (dynamically assigned)
>> IP id? I know pppd invokes ip-up with the local IP. But outside that,
>> is there a env variable, API or a file that holds returns this info?
> 
> I would use ip-up to write a file that contains the IP. However, I used to
> use the following sometimes. I don't use ppp anymore, but this might
> still work. awk can probably do it more elegantly...
> 
> /sbin/ifconfig | grep P-t-P | cut -d: -f2 | cut -d" " -f1
> 

Another hack using awk, not any more elegan just goes to show that there
are more than one way to do things

ifconfig ppp0 | grep inet | awk -F":" '{print $2}' | awk -F" " '{print $1}'

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: upgrading Xfree86

1999-06-22 Thread Brian Servis
*- On 22 Jun, Laurent Martelli wrote about "Re: upgrading Xfree86"
>> "Shawn" == Shawn Nguyen <[EMAIL PROTECTED]> writes:
> 
>   Shawn> Hi,
> 
>   Shawn>  I am running Debian 2.1 and have X version 3.3.3.2
>   Shawn> which doesn't seem to fully support my Trident Providia 9685
>   Shawn> video card, so I wanted to upgrade to X version 3.3.3.1.  Can
>   Shawn> anyone please tell me what line I should add to my apt-get
>   Shawn> source file so that I can run an upgrade of X?  Thanks for
>   Shawn> any help.
> 
> This should work. (BTW it was in /usr/doc/apt/examples)
> 
> deb http://http.us.debian.org/debian unstable main contrib non-free
> 

I don't think he wanted to go to unstable, just to the latest X
packages for slink. For the latest X packages for slink one should use
the packages at ftp.netgod.net.

deb http://ftp.netgod.net/ x/

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How to determine local IP

1999-06-22 Thread Brian Servis
*- On 21 Jun, Brad wrote about "Re: How to determine local IP"
> On Mon, 21 Jun 1999, scratch wrote:
> 
>> On Mon, 21 Jun 1999, R. Brock Lynn wrote:
>> 
>> > > /sbin/ifconfig | grep P-t-P | cut -d: -f2 | cut -d" " -f1
>> > 
>> > nice, now can you do that with a perl one-liner? :)
>> 
>> Something like this?
>> perl -e 'print (`/sbin/ifconfig` =~ /inet addr:(.*?)\s/);'
> 
> Beat me to it! Oh well, i can clean it up to make it work right...
> perl -e 'print (`/sbin/ifconfig` =~ /inet addr:(.*?)\s P-t-P:/, "\n");'
> 
> Or how about one for every interface? This seems to work...
> perl -e 'for(`/sbin/ifconfig`){/^\S+/ and $i=$& or /inet addr:(\S+)/ and 
> print"$i\t$1\n"}'
> 
> If you don't want the interface name, it gets even shorter:
> perl -e 'for(`/sbin/ifconfig`){/inet addr:(\S+)/ and print"$1\n"}'
> 

I HAVE to learn Perl  These are sooo much faster than the
grep/awk/cut hacks that I and others have thrown out in this thread. I
love *nix and all its tools.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: FAQ: Re: RealPlayer G2 for Linux -- where to get?

1999-06-22 Thread Brian Servis
*- On 21 Jun, Joey Hess wrote about "FAQ: Re: RealPlayer G2 for Linux -- where 
to get?"
>   apt-get install realplayer
> 
> It's that simple. You will be told what to get and where. Why do people keep
> asking this FAQ and making it so hard on themselves?
> 

Because this requires that slink users have the unstable contrib tree in
the sources.list file which can be VERY confusing the for
unsuspecting/beginner. Perhaps netgod can be persuaded to put the
installer in his /x archive, even though the realplayer installer is not
truely dependent on potato.


> Peter Ludwig wrote:
>> 
>> Sorry, just butting in...
>> 
>> On Mon, 21 Jun 1999, Eric G . Miller wrote:
>> > It's there, I got it, It works... You should get the RedHat RPM version,
>> > put it in /tmp and the let the debian installation script at it.
>> 
>> WHERE?  I got given a URL a little while back for a possible site for the
>> linux version of Realplayer g2... the documentation was in spanish, so I
>> had no idea on why it just segfaulted on me... but anyhow, that url didn't
>> work.
>> 
>> And realplayers site lists the FREE version of realplayer (for
>> unix-likesystems, INCLUDING Redhat) as being only available in 5.0.  What
>> are us people doing wrong at www.real-audio.com?  I've tried refreshing
>> the page recently (unless it was locked in the proxy server) to no
>> avail...
>> 
>> If your version works, could you just email it to me then?  I can't for
>> the life of me figure out why I cannot see it if a lot of people can see
>> it at real-audio, but some of us cannot...
>>  
>> > On Mon, 21 Jun 1999 19:26:22 Arcady Genkin wrote:
>> >|  Hi all:
>> >|  
>> >|  I've read a couple of posts in the list about the RPlayer G2 for
>> >|  Linux. However, the Real's website doesn't list it among available
>> >|  downloads (neither free, nor "Plus").
>> >|  
>> >|  Is it really available from somewhere, or is this a mass confusion?
>> >|  
>> >|  Thanks!
>> >|  -- 
>> 
>> 
>> -- 
>> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: A little confused with Netscape .deb's

1999-06-22 Thread Brian Servis
*- On 22 Jun, Tom Pfeifer wrote about "Re: A little confused with Netscape 
.deb's"
> Arcady Genkin wrote:
>> 
>> Hi all:
>> 
>> Could someone tell me which .debs I should install to have Netscape
>> browser-only on a Slink machine? Is it the netscape-base package?
>> 
>> As far as I found out, versions >=4.5 can be found in unstable, right?
>> Can there be any problem because Slink has glibc-2.0, and potato --
>> 2.1?
>> 
>> Also, is there a browser-only 4.6?
>> 
[good apt-get advice]
> 
> The 4.6 version of Netscape is only in potato (unstable) and requires
> the 2.1 version of libc6, which is also only in potato. If you're not
> otherwise planning on upgrading to potato at this time, you would
> probably be best off to stick with Netscape 4.5 for now. I've had them
> both installed and didn't notice much, if any, difference in
> functionality - and version 4.5 running on slink is likely to be more
> stable.
> 

There are packages for netscape 4.6 at http://ftp.netgod.net/x built
against slink.  I think you still have to get the netscape-base-4_14
from the contrib/web section of unstable(it is not dependent on
libc6>=2.1).  Just install that package by hand with dpkg and then add
'deb http://ftp.netgod.net/ x/' to your sources.list file and do as Tom
described.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Another two questions...

1999-06-22 Thread Brian Servis
*- On 22 Jun, Enrico Zini wrote about "Flushing the slink question cache"
>
> 1) There isn't a group 'shutdown' to whom add people allowed to shutdown,
>while I often find a need for it in many environments: is there another way
>(i.e. "The Debian Right Way") to do it?


*- On 22 Jun, Enrico Zini wrote about "Another two questions..."
>
>  2) I need a way to shut down a debian box in an easy way with a keyboard but
> no monitor and no user login: can I configure an alternative sequence like
> ctrl+alt+del to do a shutdown instead of a reboot? Can I have the PC's
> speaker beep something or better have some samples feed to /dev/dsp when
> the system can be safely turned off? Can I just do it in a script
> /etc/rc0.d/S89saygoodnight ?

Edit /etc/inittab and modify the lines similiar to the following, this
is mine. Read the inittab man page.

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -h now

If you want non root users to be able to shutdown the system with a
ctrl-alt-del then create a file /etc/shutdown.allow and add one user
name per line and add the -a option to the above. Read the shutdown man
page.(I have never used this, ymmv).

The last script to run is /etc/init.d/halt during a shutdown -h, by the
time this is run everyting is unmounted except for / and that is
mounted readonly.  You could probably modify the file to cat a au sound
file(must be in the / fs) to the /dev/dsp device.(Again, I have never
tried this, ymmv). 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: hamm dist sites

1999-06-23 Thread Brian Servis
*- On 22 Jun, Robert Rati wrote about "hamm dist sites"
> Are there any ftp sites with the hamm dist still on them?  All ther ones
> I've found only have slink and potato.  Thanks.
> 

Scroll down to the bottom of http://www.debian.org and you will find:

Old versions of Debian

Debian 1.3 (codenamed Bo) and 2.0 (codenamed Hamm) can be found at
ftp://ftp.debian.org/debian-archive/, ftp://debian.midco.net/debian-archive/,
ftp://ftp.infodrom.north.de/pub/debian/dists/ or 
http://archive.debian.org/debian-archive/.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Magicfilter from potato

1999-06-23 Thread Brian Servis
*- On 22 Jun, Didi Damian wrote about "Magicfilter from potato"
> Hello !
> 
> I'm trying to print to my stupid HP DeskJet 722c [EMAIL PROTECTED] printer 
> using
> the pbm2ppa conversion program (in short it takes PS and converts into
> PPA,poor man's PCL). I've been printing successfully in RH and SuSE
> before but can't get it to work since I switched to potato.I'm only able
> to print PS from command prompt with this script:
> 
> cat $1 | gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 -sOutputFile=- - | \
> pbm2ppa - - >/dev/lp0
> 
> Thanks to Michael Merten I can print ascii too but i would like to setup
> magic or apsfilter. These are the two filters I tried: (very lengthy,
> skip to the end for errors)
> 


The fpipe facility you were using writes the input to a file(whos
location is set to $FILE in the filter)and then the command line would
use that as its source.  Then the magicfilter filter would then pass it
back to the magicfilter filter(because it is defined as a pipe) until it
matches a filter or ffilter facility. So you should do,

# PostScript
0   %!  fpipe gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 
-sOutputFile=- $FILE
0   \004%!  fpipe gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 
-sOutputFile=- $FILE 
 
Or just use the pipe facility since gs doesn't need to seek the input

# PostScript
0   %!  pipe gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 
-sOutputFile=- -
0   \004%!  pipe gs -sDEVICE=pbmraw -q -dNOPAUSE -r600 
-sOutputFile=- - 


Then your ppm filter facilty will catch these as they are fed back into
the filter as pbm

 0   P4\nfilter /usr/local/bin/pbm2ppa -s a4 - - 


I can't test this but it looks good to me. =)

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-



Re: A little confused with Netscape .deb's

1999-06-23 Thread Brian Servis
*- On 22 Jun, Jason Loll wrote about "Re: A little confused with Netscape 
.deb's"
> 
> I tried to install netscape-base4_14 to slink and this is what I got:
> ollollo:/home/jason# dpkg -i netscape-base-4_14.deb
> (Reading database ... 46865 files and directories currently installed.)
> Preparing to replace netscape-base-4 5 (using netscape-base-4_14.deb) ...
> Unpacking replacement netscape-base-4 ...
> Update-menus: waiting for dpkg to finish(forking to background)
> Update-menus: (checking /var/lib/dpkg/lock)
> dpkg: dependency problems prevent configuration of netscape-base-4:
>  netscape-base-4 depends on libc6 (>= 2.1); however:
>   Version of libc6 on system is 2.0.7.19981211-6.
>  netscape-base-4 depends on liburi-perl; however:
>   Package liburi-perl is not installed.
> dpkg: error processing netscape-base-4 (--install):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  netscape-base-4
> 

Ack!  I keep forgetting.  You *also* need to install the liburi-perl
and libwww-perl packages from unstable.  Install them at the same time
with dpkg because they have interdependencies on each other and
conflict with the versions in slink.

dpkg -i liburi-perl*.deb libwww-perl*.deb

Sorry,

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: A little confused with Netscape .deb's

1999-06-23 Thread Brian Servis
*- On 22 Jun, Brian Servis wrote about "Re: A little confused with Netscape 
.deb's"
> *- On 22 Jun, Jason Loll wrote about "Re: A little confused with Netscape 
> .deb's"
>> 
>> I tried to install netscape-base4_14 to slink and this is what I got:
>> ollollo:/home/jason# dpkg -i netscape-base-4_14.deb
>> (Reading database ... 46865 files and directories currently installed.)
>> Preparing to replace netscape-base-4 5 (using netscape-base-4_14.deb) ...
>> Unpacking replacement netscape-base-4 ...
>> Update-menus: waiting for dpkg to finish(forking to background)
>> Update-menus: (checking /var/lib/dpkg/lock)
>> dpkg: dependency problems prevent configuration of netscape-base-4:
>>  netscape-base-4 depends on libc6 (>= 2.1); however:
>>   Version of libc6 on system is 2.0.7.19981211-6.
>>  netscape-base-4 depends on liburi-perl; however:
>>   Package liburi-perl is not installed.
>> dpkg: error processing netscape-base-4 (--install):
>>  dependency problems - leaving unconfigured
>> Errors were encountered while processing:
>>  netscape-base-4
>> 
> 
> Ack!  I keep forgetting.  You *also* need to install the liburi-perl
> and libwww-perl packages from unstable.  Install them at the same time
> with dpkg because they have interdependencies on each other and
> conflict with the versions in slink.
> 
> dpkg -i liburi-perl*.deb libwww-perl*.deb
> 
> Sorry,
> 

Ack again!!! Missed the fact that the netscape-base-4_14 in unstable
depends on libc6(>=2.1).  I have a copy built against lib6(<2.1) at
http://widget.ecn.purdue.edu/~servis/netscape-base-4_14-i386.deb.
So install the liburi-perl and libwww-perl and this netscape-base-4
package all at once and then proceed with the rest.

That *should* do it,
-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Accidentally deleted mouse! Please help!

1999-06-23 Thread Brian Servis
*- On 23 Jun, Revenant wrote about "Accidentally deleted mouse!  Please help!"
> I managed to accidentally delete the files "mouse" and "psaux" in
> the /dev directory.
> 
> How do I get these back, please?
> 

As root:

cd /dev
./MAKEDEV busmice
ln -s psaux mouse

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How to pronouce "Debian"?

1999-06-23 Thread Brian Servis
*- On 23 Jun, tboy wrote about "How to pronouce "Debian"?"
> Hi all,
> 
> I'm not a native english speaker so i don't know how to pronouce "Debian" --- 
> it seems somewhat strange to me.
> When i introduce Debian to my friends i have to spell it out letter by 
> letter. Any help from native english speakers?
> 
> 

At the bottom of http://www.debian.org/intro/about you can find the
statement:

--
Since many people have asked, Debian is pronounced 'deb ee n'. It comes 
from the names of the creator of Debian, Ian Murdock, and his wife, Debra. 
--

Other words that start the same are:

debitdeb-it
debonair deb-onair
debutant deb-utant

Other words that sound the same on the end, not the best but all I
could think of,

european   europ-ean
mediterranean  mediterran-ean

Hope this helps,
-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: POP3 server

1999-06-23 Thread Brian Servis
*- On 23 Jun, Algernon NG wrote about "POP3 server"
> Help!
> 
> I want to set up a mail server. Can you tell me where can I find a good
> POP3 server?
> (Source or Debian Package preferred)
> 

Use the package search at http://www.debian.org/distrib/packages.html

Package: qpopper
Status: install ok installed
Priority: extra
Section: mail
Installed-Size: 110
Maintainer: Miquel van Smoorenburg <[EMAIL PROTECTED]>
Version: 2.3-4
Depends: libc6, libgdbmg1, liblockfile0 (>= 0.1-1)
Description: Enhanced Post Office Protocol server (POP3).
 This is The Qualcomm enhanced version of the Post Office Protocol Daemon
 (POP3 daemon), based on the latest BSD version. The QualComm popper has
 some extensions to the normal pop3 daemon, such as UIDL and bulletin support.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Autofs for root only??

1999-06-23 Thread Brian Servis
*- On 23 Jun, Gertjan Klein wrote about "Autofs for root only??"
>   I am trying to convince autofs to allow others than root to access the
> automounted filesystems, and I'm failing miserably. I can find no
> information on this subject in the man pages.  It appears the problem is
> not directly related to autofs, though, because I fail with standard
> mount as well.  Here is what I did to test:
> 
> asterix:/# mkdir test
> asterix:/# chown root:disk test
> asterix:/# dir test
> drwxrwxr-x   2 root disk 1024 Jun 23 21:56 test
> asterix:/# mount -t ext2 /dev/hda6 /test -o user,suid,exec
> asterix:/# dir test
> drwxr-xr-x   3 root root 1024 Jun 22 19:31 test
> asterix:/# dir /dev/hda6
> brw-rw   1 root disk   3,   6 Jul 21  1998 
> 
>   For some reason, the mount command changes the permissions of /test
> right back to what they were.  If I log in as a user and try to access
> (write to) the mounted filesystem I'm denied access. The same happens
> with autofs mounted filesystems.
> 
>   What can I do to fix this?
> 

mount -t ext2 /dev/hda6 /test -o suid,gid=,umask=002

Then make sure your user is in the group disk

adduser  disk # user will have to logout and back in

The user option is pointless on the mount command line, it is only
usefull in the /etc/fstab file, see the mount(8) man page.

[EMAIL PROTECTED]/}[237]>ls -dl mnt
   1 drwxr-xr-x   3 root root 1024 Jun 15 18:20 mnt/
[EMAIL PROTECTED]/}[238]>mount -t vfat /dev/hdc5 /mnt -o gid=35,umask=002
[EMAIL PROTECTED]/}[239]>ls -dl mnt
  16 drwxrwxr-x   4 root dos 16384 Dec 31  1969 mnt/


So in your autofs. file use the gid and umask options.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: apt 0.3.7 breaks dselect?

1999-06-23 Thread Brian Servis
*- On 23 Jun, Brian Greenfield wrote about "apt 0.3.7 breaks dselect?"
> Hi
> 
> I've just installed apt 0.3.7slink0 from netgod.net and I
> can no longer use the apt method of dselect. Update and
> Select work OK, and Install will fetch the required files
> but won't configure them. The error message given is:
> 
>>/usr/lib/dpkg//methods/apt/install: /usr/bin/dpkg/: Not a directory
> 
> I presume the double-slash is the problem, but I can't find
> out where this comes from.
> 

This error message says the the program
/usr/lib/dpkg//methods/apt/install can not find the directory
/usr/bin/dpkg/.  The double slash is not a problem the slash on the end
of /usr/bin/dpkg/ is.

> Any ideas?
> 

Nope, works fine for me. =)

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Calling Brian Greenfield

1999-06-23 Thread Brian Servis
Brian

Fix your headers!!!  Please don't use address that will bounce!!! If
anything send it to /dev/null on your end, save the bandwidth.

>From your orginal post to which I replied:

   From: [EMAIL PROTECTED] (Brian Greenfield)
 Subject: apt 0.3.7 breaks dselect?
Date: Wed, 23 Jun 1999 20:49:44 GMT
  To: debian-user@lists.debian.org
Reply-To: $local-news/[EMAIL PROTECTED]


and then I get back a snooty bounce:


This message was created automatically by mail delivery software.

A message that you sent could not be delivered to all of its recipients. 

While talking to dtseven.demon.co.uk [158.152.243.69]
the following error occurred:

MAIL FROM:<[EMAIL PROTECTED]>
250 receiving from [EMAIL PROTECTED]
RCPT TO:<[EMAIL PROTECTED]>
550 Inbound mail rejected by local policy. Tough luck :-)
^^ 
 


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: I need some info/piece of mind before installing linux

1999-06-25 Thread Brian Servis
*- On 25 Jun, Revenant wrote about "Re: I need some info/piece of mind before 
installing linux"
> 
> I believe there is a UNIX win emulator called WAPI, but it's commercial
> and I don't know how much it would cost.

It's WABI.

There is also VMware(www.vmware.com) which is an amazing piece of
software. For a limited time you can get a 'non-commercial' version for
$75US!  It runs a virtual OS with bios and all on top of linux. 
See http://www.vmware.com/products/linuxscreen.html for some eye candy!

> 
> Wahoo!  My first opportunity to *give back* to this list. :)
> 

Congrats!

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Potential solution to netscape crashing?

1999-06-25 Thread Brian Servis
*- On 25 Jun, John Foster wrote about "Re: Potential solution to netscape 
crashing?"
> ___
> I have a true type server also, and I am curious: should the font path
> lines in /etc/X11/xfs/config match exactly those in /etc/X11/XF86Config
> ?? Including ALL the lines below?
> 

No, this is my setup which isn't giving me any problems.  I am using
xfs and xfstt.

# /etc/X11/xfs/config (stripped of comments)
client-limit = 10
clone-self = on
use-syslog = on
# all one line of course
catalogue = 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unsca\
led,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/u\
sr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X1\
1/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/sharefont/,/usr/X11R6/lib/X11/fonts/fre\
efont
default-point-size = 120
default-resolutions = 75,75,100,100
port = 7100

#/etc/X11/XF86Config font section

FontPath   "unix/:7100"
FontPath   "inet/:7101"

Not sure why I am using two different transport mechanisms but it works
so I am not changing it.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: cdrom and mnt directories

1999-06-25 Thread Brian Servis
*- On 25 Jun, Alex McCool wrote about "cdrom and mnt directories"
> How does one create new mount point directories?
> I have three CDROM drives I want to share via samba, but only one cdrom
> directory.
> 

There is nothing special about the 'cdrom' directory.  You can mount
your cdrom over the /floppy directory if you want.  It is just an
placeholder for the sytems to place the mounted filesystem.  You can
make the names whatever you want and put them anywhere you want.

mkdir /cdrom2
mkdir /cdrom3
mkdir /

or

mkdir /cdrom/1
mkdir /cdrom/2
mkdir /cdrom/3

Then mount under this as 'mount -t iso9660 /dev/ /cdrom/1'
 'mount -t iso9660 /dev/ /cdrom/2'
 
The directories are not anything special.  In fact they can be full of
files.  If you mount over the top of them then the contents of the
mounted filesytem will be there instead of the real directory contents.
When you unmount the filesystem you will be able to access the contents
of the real directory again.  See 'man 8 mount' for details.


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Autofs for root only??

1999-06-26 Thread Brian Servis
*- On 25 Jun, William T Wilson wrote about "Re: Autofs for root only??"
> On Fri, 25 Jun 1999, Gertjan Klein wrote:
> 
>>   Unfortunately, the filesystem ext2 recognises neither the gid= nor the
>> umask= options, and refuses to mount!  I can find no similar options for
> 
> Those options are only valid for MS-DOS and other filesystems which do not
> have provisions for permissions.  Since ext2 contains its own permission
> information, that is used instead of mount options.
> 

Oops, my bad.  I was using my vfat mount as an example and stuck the
extw in there.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Autofs for root only??

1999-06-26 Thread Brian Servis
*- On 25 Jun, Gertjan Klein wrote about "Re: Autofs for root only??"
> On Fri, 25 Jun 1999 16:47:29 -0400 (EDT), William T Wilson
> <[EMAIL PROTECTED]> wrote:
> 
>>If you want to change the permissions of the volume's / directory, change
>>them with chmod once it's mounted.
> 
>   Under normal circumstances that would merely be an annoying
> inconvenience, but since the filesystem is supposed to be automounted I
> don't see how I should do that.  How do people normally do this?  A lot
> of people use extensive partitioning and mount the partitions
> automatically (from /etc/fstab).  Does everyone chmod the permissions
> afterwards?  Is it unreasonable to want an extra filesystem automounted
> owned by root:disk, so certain users can access it?  ("Certain users" in
> this case merely means me, as this is for my home system, but I don't
> want to have to be root all the time in order to access the partition.)
> 

You don't need to do it everytime, just once.  The mounted disk keeps
the permisions you set for it.  Example with a ext2 floppy:

[EMAIL PROTECTED]/}[150]>umount mnt
[EMAIL PROTECTED]/}[151]>ls -dl mnt
   1 drwxr-xr-x   3 root root 1024 Jun 15 18:20 mnt/
[EMAIL PROTECTED]/}[152]>mount -t ext2 /dev/fd0 /mnt
[EMAIL PROTECTED]/}[153]>ls -dl mnt
   1 drwxr-xr-x   3 root root 1024 Jun 25 19:45 mnt/
[EMAIL PROTECTED]/}[154]>cd mnt
[EMAIL PROTECTED]/mnt}[155]>ls -al
total 14
   1 drwxr-xr-x   3 root root 1024 Jun 25 19:45 ./
   1 drwxr-xr-x  33 root root 1024 Jun 15 18:20 ../
  12 drwxr-xr-x   2 root root12288 Jun 25 19:45 lost+found/
[EMAIL PROTECTED]/mnt}[156]>chown root.disk . lost+found/
[EMAIL PROTECTED]/mnt}[157]>ls -al
total 14
   1 drwxr-xr-x   3 root disk 1024 Jun 25 19:45 ./
   1 drwxr-xr-x  33 root root 1024 Jun 15 18:20 ../
  12 drwxr-xr-x   2 root disk12288 Jun 25 19:45 lost+found/
[EMAIL PROTECTED]/mnt}[158]>cd ..
[EMAIL PROTECTED]/}[159]>ls -dl mnt
   1 drwxr-xr-x   3 root disk 1024 Jun 25 19:45 mnt/
[EMAIL PROTECTED]/}[160]>umount /mnt
[EMAIL PROTECTED]/}[161]>ls -dl mnt
   1 drwxr-xr-x   3 root root 1024 Jun 15 18:20 mnt/
[EMAIL PROTECTED]/}[162]>mount -t ext2 /dev/fd0 /mnt
[EMAIL PROTECTED]/}[163]>ls -dl mnt
   1 drwxr-xr-x   3 root disk 1024 Jun 25 19:45 mnt/
[EMAIL PROTECTED]/}[164]>cd mnt
[EMAIL PROTECTED]/mnt}[165]>ls -al
total 14
   1 drwxr-xr-x   3 root disk 1024 Jun 25 19:45 ./
   1 drwxr-xr-x  33 root root 1024 Jun 15 18:20 ../
  12 drwxr-xr-x   2 root disk12288 Jun 25 19:45 lost+found/


See the ext2 filesystem on the disk kept the permissions that I gave it.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: vnc-doc conflicts with vnc??

1999-06-26 Thread Brian Servis
*- On 25 Jun, Rob Mahurin wrote about "vnc-doc conflicts with vnc??"
> Why does vnc-doc conflict with vncserver and xvncviewer?  That is dumb.
> 

Because the old vnc and vnc-doc packages are replaced by the
newer split packages vncserver, xvncviewer, etc.

Package: vncserver
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 1313
Maintainer: Marcus Brinkmann <[EMAIL PROTECTED]>
Source: vnc
Version: 3.3.2r2-4
Replaces: vnc, vnc-doc
Provides: xserver
Depends: libc6, xbase-clients
Suggests: vncviewer
Conflicts: vnc, vnc-doc

Package: xvncviewer
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 61
Maintainer: Marcus Brinkmann <[EMAIL PROTECTED]>
Source: vnc
Version: 3.3.2r2-4
Replaces: vnc, vnc-doc
Provides: vncviewer
Depends: libc6, xlib6g (>= 3.3-5)
Suggests: vncserver
Conflicts: vnc, vnc-doc

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How do I put a package on hold without using dselect?

1999-06-27 Thread Brian Servis
*- On 27 Jun, Phillip Deackes wrote about "How do I put a package on hold 
without using dselect?"
> I regularly update my system using apt-get. Occasionally, however, I
> might want to hold back a package (exim, at the moment). Can I do this
> other than by using dselect? I have scoured the dpkg and apt-get man
> pages and can't see a way to do it.
> 

read the Documentation/Changes and Documentation/networking/routing.txt
files in the kernel source.  For local networks you don't need to add
the network with 'route add .', it is done automatically by the
kernel.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: How do I put a package on hold without using dselect?

1999-06-27 Thread Brian Servis
*- On 27 Jun, Brian Servis wrote about "Re: How do I put a package on hold 
without using dselect?"
> *- On 27 Jun, Phillip Deackes wrote about "How do I put a package on hold 
> without using dselect?"
>> I regularly update my system using apt-get. Occasionally, however, I
>> might want to hold back a package (exim, at the moment). Can I do this
>> other than by using dselect? I have scoured the dpkg and apt-get man
>> pages and can't see a way to do it.
>> 
> 
> read the Documentation/Changes and Documentation/networking/routing.txt
> files in the kernel source.  For local networks you don't need to add
> the network with 'route add .', it is done automatically by the
> kernel.
> 

oops seemed to have replied to the wrong post sorry!!!

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: XFree86 & G200

1999-06-29 Thread Brian Servis
*- On 28 Jun, Parrish M Myers wrote about "XFree86 & G200"
> Hello,
> 
> Has anyone found an elegant solution to using a Matrox G200 card with
> XFree86.  The one that comes with release 2.1 is XFree86 3.3.2 wich does
> 
> not support the G200.  Short of getting a new version of XFree86 and
> recompiling it, is there another way? (someone already creating a .deb
> to use...)
> 


Use the 3.3.3.1 slink compatible debs at http://ftp.netgod.net/x, if
you are using apt add the following to your /etc/apt/sources.list file,

deb http://ftp.netgod.net/ x/

Then update and install. 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: vnc-doc conflicts with vnc??

1999-06-29 Thread Brian Servis
*- On 29 Jun, Rob Mahurin wrote about "Re: vnc-doc conflicts with vnc??"
> On Sat, Jun 26, 1999 at 10:37:39AM -0500, Brian Servis wrote:
>> *- On 25 Jun, Rob Mahurin wrote about "vnc-doc conflicts with vnc??"
>> > Why does vnc-doc conflict with vncserver and xvncviewer?  That is dumb.
>> > 
>> 
>> Because the old vnc and vnc-doc packages are replaced by the
>> newer split packages vncserver, xvncviewer, etc.
> 
> Allow me to be more specific: where did the rest of the vnc
> documentation go?  I like unneccessary information and have trouble
> with the idea that the html markup in the obseleted vnc-doc package
> caused a 20-fold increase in its size.  I dislike reading
> documentation on the internet.  That is the dumb part.
> 
> I will probably do a dpkg --force-depends on this, but that seems an
> ugly kludge.
> 

Ah, I see.  I failed to see that there still exists a vnc-doc
package.  I would call this a bug in the vncserver and [s|x]vncviewer
packages.  They need to have versions on the conflicts.  They need to
conflict with the older vnc-doc from 2.0 but now with the vnc-doc from
2.1.  I will file a bug report.   To install the slink vnc-doc use
--force-conflicts.

dpkg --force-conflicts -i vnc-doc*.deb

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: [LINUX] How to change the boot logo

1999-06-30 Thread Brian Servis
*- On 30 Jun, Shao Zhang wrote about "Re: [LINUX] How to change the boot logo"
> On Wed, Jun 30, 1999 at 09:12:49AM +0200, Nico De Ranter wrote:
>>
>> I just recompiled my kernel so that I now get a nice penguin logo
>> when I boot :-).  Is there any way I can change this logo? (I'd like
>> to add some details about my system next to it, kind of like a SUN
>> when it boots)
> 
>   Well, how did you do that??

You need to use the framebuffer graphics in the 2.2.x kernels.

VESA VGA graphics console
CONFIG_FB_VESA
  This is the frame buffer device driver for generic VESA 2.0
  compliant graphic cards. The older VESA 1.2 cards are not supported.
  You will get a boot time penguin logo at no additional cost. Please
  read Documentation/fb/vesafb.txt. If unsure, say Y.


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Kernel 2.2 and slink.

1999-06-30 Thread Brian Servis
*- On 30 Jun, Bill White wrote about "Kernel 2.2 and slink."
> Hi.  I'm sorry for bothering, but I am thinking of upgrading my 2.0.36
> kernel to 2.2.  I am running a fairly stock installation of slink, but with
> more recent kde and gnome packages.  I seem to remember some talk on this
> list about what other packages I need to upgrade, but I can't seem to find
> in in my archives.  I also tried to search the debian email archives, but
> apparently I didn't find the correct query.
> 
> Can someone please send me a pointer to the right documentation?  Thanks.
> 
> 

http://www.debian.org/ -> Releases Info -> Debian 2.1 (slink) -> Errata
Section, last paragraph will point you to the following page,
http://www.debian.org/releases/stable/running-kernel-2.2.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: -xrm option to X apps

1999-07-01 Thread Brian Servis
*- On 30 Jun, G. Crimp wrote about "-xrm option to X apps"
>   Just wondering if anyone knows what the -xrm option does for apps
> that run in X.  man X gives a little blurb, but it is not very clear.  I've
> tried a couple of experiments like:
> 
>   xterm -xrm title=foobar
> 
> but it doesn't seem to work.  The is no discussion in man X about the syntax
> of expression in -xrm  so I don't know if the above is correct. 
> 
> 
>   Anyone have knowledge of this curious little command attribute ?
> 

It is used to set resources on the commandline.  An example, xterm can
have a resource of 

XTerm*cursorColor:  green

in your Xresources file.  You can use the -xrm to override this on the
command line like,

xterm -xrm "*cursorColor:red"

Now xterm can use the -cr command line switch for the cursorcolor but
there are resources that do not have a command line equivalent, I
didn't feel like digging through the man page.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: X modeline conversions

1999-07-01 Thread Brian Servis
*- On  1 Jul, Matthew Gregan wrote about "X modeline conversions"
> Hi everyone.
> 
> I'm trying to work out a good modeline for X for 1152x864. The reason I'm 
> doing this is because I was installing some new drivers for my video card 
> under Windows and discovered that my monitor can do 1152x864 at an acceptable 
> refresh rate...
> 
> I've got the figures from Windows, but I only vaguely understand how they 
> relate to the X modelines, and I can't figure out how to convert them over. 
> Hopefully someone with more experience can point me in the right direction...
> 
> Under Windows, this is the info I have about the mode:
> Pixel clock: 112320kHz
> 
> Horizontal:
> Frequency: 70kHz
> Front porch: 64 pixels
> Sync: 128 pixels
> Back porch: 256 pixels
> Negative sync polarity
> 
> Vertical:
> Frequency: 78Hz
> Front porch: 1 line
> Sync: 3 lines
> Back porch: 2 lines
> Negative sync polarity
> 
> I've tried reading through ESR's XF86 video timings howto, but it wasn't 
> really helpful to my problem. From what I understand, the front/back porch is 
> the time of the rise and fall of the signal, but I don't know how to relate 
> the numbers I have back to anything useful for X.
> 
> I've found a modeline already existing in the XF86 config which is very close 
> to what I want (1152x864 at 78Hz, but it's 70.8kHz horizontal frequency is 
> just too much for my monitor to handle).
> 
> If anybody can help, or point me in the right direction, I would be very 
> happy. Thanks. :-)
> 
> Oh, those Windows figures are from the Matrox monitor customization utility, 
> if that matters...

You can give Colas' XFree Modeline Generator at
http://www.inria.fr/cgi-bin/nph-colas-modelines a try.  It will give you
a whole range of modelines.  You could also us xvidtune to fine tune a
mode that is close to what you want.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Samba and mount

1999-07-01 Thread Brian Servis
*- On  1 Jul, Sebastian Canagaratna wrote about "Samba and mount"
>  I am using slink and kernel 2.2.1. When trying to smbmount
>  a drive from an NT maching, I get the error message:
>  SMBFS: need mount version 6
>  mount error: Invalid argument.
> 
>  I am using the same command in another linux box with slink
>  and kernel 2.0.34 and there is no problem.
> 
>  mount -V for both machines gives 2-9g. I find it difficult to
>  believe that slink would have version 2-9.g if version 6 is
>  available. Am I misinterpreting the error message? Where
>  do I get the latest version of mount? Will it create other problems?
> 

You need to install the smbfx package for use with the 2.2.x kernels. 
Then the syntax has(for now) changed for the worse with the smbmount
that is used with the 2.2.x kernels. Then see the man page for 
smbmount-2.1.x after you have installed smbfsx.  If you are dual
booting between 2.0.x and 2.2.x kernels then you might want to look at 
http://www.wittsend.com/mhw/smbmount.html which is mentioned in the
Changes file in the 2.2.x kernel docs.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: TAR.GZ

1999-07-01 Thread Brian Servis
*- On  1 Jul, Cuno Sonnemans wrote about "TAR.GZ"
> Hi,
> 
> I've downloaded GUILGNL0.GZ (WP8 language module).
> Now I want to try to extract it.
> I've tried, tar -xzvf .., and gunzip  .
> In both cases I got the message: not a gzip format.
> How is this possible and what is the way to extract GUILGNL0.GZ !!!
> 

Try using the 'file' program to identify it.  If it is a gz file you
should get something like,

% file GUILGNL0.GZ
GUILGNL0.GZ: gzip compressed data, deflated, last modified: Sun Apr 11 00:20:57 
1999, max compression, os: Unix

If it is a tar,

% file GUILGNL0.GZ
GUILGNL0.GZ: GNU tar archive

Perhaps the file got uncompressed when you downloaded it but the file
extension was left on. Or if you ftp'd it did you use binary mode?  If
ftp was not in binary mode during the download and instead in ascii mode
then the file is destroyed and you will have to get it again.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: color in emacs terminal

1999-07-02 Thread Brian Servis
*- On  2 Jul, Michael Stenner wrote about "color in emacs terminal"
> Can emacs do color when in "terminal mode" like mutt, ls, dselect,
> etc. can?  I've become addicted to font-lock-mode and I'd like to do
> something similar even when I have to use it windowless (or in an
> xterm, anyway).
> 
>   -Michael

I know xemacs can I don't know about gnu emacs.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Palm Pilots

1999-07-03 Thread Brian Servis
*- On  3 Jul, Illo de' Illis wrote about "Re: Palm Pilots"
> On Fri, Jul 02, 1999 at 11:37:09PM -0400, Timothy Hospedales wrote:
>> Which palm pilotswill available linux software work well with?
>> I was thinking of buying a palm IIIx and was wondering if there were any 
>> isses with it good or bad stories appreciated!
> 
> I don't know whether the latest prc-tools package provides the includes for
> the latest OS functions, but every package dealing with the Palms works
> flawlessly for me (I own a PalmIII). You can try pose (PalmOS emulator for
> X11), prc-tools and pilrc if you want to code some PalmOS applications, and
> the indispensable pilot-link for the backup and installation of PalmOS
> applications.
> 

There are also the gui frontends of pilot-manager that uses pilot-link,
I use and like it.  It has a calender sync conduit for the plan
calander package.  There is also kpilot that is in beta and needs the
kde base packages installed.  

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: access ext2 partition from win9x

1999-07-03 Thread Brian Servis
*- On  4 Jul, Thanate Dhirasakdanon wrote about "access ext2 partition from 
win9x"
> Hi,
> 
>   I'd like to know whether there is
>   a program to allow me to access (mount)
>   ext2 partition under win9x. 
>   Please tell me if you know it.
> 

Assuming you are talking about a dual boot machine and wanting access
to your ext2 drives when you are booted into Win95. There is a beta
package called fsdext2 at http://www.yipton.demon.co.uk/ that lets you
mount them read-only. I don't think it has been updated in over a year
though.  The last time I tried it it locked my Win95 machine up hard. 
But other have had better success.  YMMV.

If you want access from win95 to ext2 drives on another machine on a
network then you want the samba suite of packages.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: script for compiling the kernel

1999-07-03 Thread Brian Servis
*- On  3 Jul, Steffen Evers wrote about "script for compiling the kernel"
> As I've compiled the kernel so many times and wanted to keep all the
> output of the make commands and make it more comfortable for newcomers
> I've written a script that does all the things AFTER make xconfig as
> secure as I could get it.
> I would be happy if people improve it, send me feedback or simply use
> it.


Have you looked at the Debian kernel-package package?  Seems like it
would be better to improve on that than re-invent the wheel.

Package: kernel-package
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 416
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Version: 6.05
Depends: perl (>= 5.002-8), dpkg (>= 1.4), dpkg-dev (>= 1.4.0.9), fileutils (>= 
3.16-4)
Recommends: libc-dev, gcc, debianutils, make
Suggests: kernel-source
Conffiles:
 /etc/kernel-pkg.conf 28320856966555b9d568cf827129bbf8
Description: Debian Linux kernel package build scripts.
 This package provides the capability to create a debian
 kernel-image package by just running make-kpkg kernel_image in a
 kernel source directory tree.  It can also build the kernel source
 package as a debian file, the kernel headers package. In general, this
 package is very useful if you need to create a custom kernel, if, for
 example, the default kernel does not support some of your hardware, or
 you wish a leaner, meaner kernel.


-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: debian-user split

1999-07-06 Thread Brian Servis
*- On 30 Jun, richard wrote about "debian-user split"

[DOUBLE SPACE TEXT CLEANED TO SINGLE SPACE]
> I had this thought the other day when I was looking over some archived
> deban-user stuff. Two thoughts actually. I know that there are an awful
> lot of questions that crop up time and time again. These aren't directly
> related to the Debian-FAQ but crop up enough that maybe there should be
> something like a debian-user-FAQ, kinda like the Linux-FAQ but tailored
> more towards Debian GNU/Linux.

Check out all the links under the User Documentation
page on Debian's site, http://www.debian.org/doc/.

> 
> Secondly a while someone commented about the number of users new to
> Linux and using debian as their first version (I think it was posted on
> debian-devel in march sometime.) Anyway, the thought was was that maybe
> there should be a new debian list, something like debian-newbie. That
> way people would hopefully think about joining the newbiew list, moving
> to the user list once they have a better understanding of debian GNU/Linux.
> For instance, I was thinking that the sort of questions on debian-newbie
> would be along the lines of; how do I compile a kernel? Why doesn't X work?
> Does debian support my soundcard? HELP!
> 
> And debian-user could be used for questions like; my ip-masquerading appears
> to be broken, I've tried ..., I've upgraded X to patato and now my systems
> broken..., I'm looking for ...
> 
> You get the idea. If I'm being completely stupid here then please say so
> nicely. I'm just throwing a thought I had to the group. Comments would
> be most welcome.

This topic has been disucussed MANY times in the past.  Dig through the
archives.  Basically you don't want a newbie only list because then it
would be newbies helping newbies, yikes!  For there to be any useful
advice on the newbie list then more advanced users would have to read
that list as well, then you are back to having a more general list
again.  It is better for a newbie to lurk on a more general list and
learn from the other advice that is going on, even if it doesn't
directly relate to a current problem that you may have.  If you think
you have a newbie question, chances are that it may have already been
answered before, check the archives.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: DOS MBR

1999-07-06 Thread Brian Servis
*- On  6 Jul, Felipe Alvarez Harnecker wrote about "DOS MBR"
> 
> Can someone send me a DOS Master Boot record so a can dd it to
> /dev/hda?
> 
> Please answer only if you realy know what i mean because i dont want
> to alter the partition table.
> 
> Send me version info as well.
> 
> Thanks.
> 

If you can boot into a dos system via floppy or whatever you can use
msdos's fdisk with the /mbr option, 'fdisk /mbr' and it will write a
clean msdos mbr to the disk.  See section 2.4 of the LILO mini-HOWTO
for other methods of reconstructing the mbr.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: KDE : why not in Debian?

1999-07-06 Thread Brian Servis
*- On  6 Jul, Attila Csosz wrote about "KDE : why not in Debian?"
> Why not the KDE in the Debian distribution? It distributed with its source
> code and licensed with GPL( as I read in the KDE FAQ )
> 
> Attila
> 
> 
Read http://www.debian.org/News/1998/19981008.  With the recent release
of Qt 2.0 under a DFSG compatible license there are still some issues
that I can't remember off the top of my head.  Search the mailing list
archives of debian-user, debian-devel and debian-legal to find more
discussion on this topic.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Netscape .debs conflict with perl5.004?

1999-07-06 Thread Brian Servis
You have unstable in your sources.list file and unstable is VERY
unstable right now with regards to perl, most likely lots of broken
dependencies.  Perl is being transitioned from 5.004 to 5.005 which is
not as small of a change as it may appear from the version numbers. Read
the debian-devel archives for the details.  Basically if you are using
any thing in unstable that needs perl then expect major problems for a
while until everything settles down.  It's called unstable for a reason.

Brian


*- On  6 Jul, Brian Boonstra wrote about "Netscape .debs conflict with 
perl5.004?"
> Hi
> 
>   I seem to have some incompatible dependencies in trying to obtain
> Netscape version 4.6 from the .debs.  My problem is that, according to the
> dependency resolution screens (I copy and paste from various conflict
> readouts here):
> 
> navigator-smotif-461 depends on netscape-base-4 (>= 10)
> netscape-base-4 depends on liburi-perl
> liburi-perl depends on libmime-base64-perl
> liburi-perl depends on perl (>= 5.004)
> libmime-base64-perl depends on perl-5.005
> perl-5.005 depends on perl-5.005-base
> perl-5.005-base conflicts with perl
> 
> so basically perl (which is v5.004) is somehow keeping me from installing.   
> I'm no expert here, but I'm savvy enough to know my /etc/apt/sources.list may 
>  
> have something to do with this.  Please find it below.
> 
>   One thing I *have* tried is the "Q" option in dselect to override the
> dependencies.  This doesn't seem to work, as dselect fails to download and
> install the netscape .debs anyway.  My question is, what is the "right" way  
> to solve this dilemma?
> 
> 
>   Yours,
> 
>  Brian
> 
> 
> 
> 
> sources.list:
> 
> deb http://http.us.debian.org/debian stable main contrib non-free
> deb http://non-us.debian.org/debian-non-US stable non-US
> deb http://debian.midco.net/debian unstable main contrib non-free
> deb ftp://ftp.us.kde.org/pub/kde/stable/1.1.1/distribution/deb/binary-i386 /
> deb http://ftp.netgod.net/ x/
> deb ftp://ftp.gnome.org/pub/GNOME/gnome-1.0/debian slink main
> 
> 
> 

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Just my opinion

1999-07-07 Thread Brian Servis
*- On  6 Jul, Ed Cogburn wrote about "Re: Just my opinion"
> Ipswitch wrote:
>> 
>> On Mon, 5 Jul 1999, Brad wrote:
>> 
>> > > the documentation is incomplete, out of date, or simply wrong,
>> >
>> > You have a bit of a point there. Some of the HOWTOs are rather old and
>> > inaccurate, mostly because they were written a few years ago and there've
>> > been many advances since then. Most of the manpages on the other hand are
>> > relatively up-to-date, and many of the more complicated packages even come
>> > with examples (look in /usr/doc/[packagename]).
>> 
>> The GNU manpages are really bad. Most just tell you that you shouldn't use
>> them - use info instead. Yuck!
> 
> 
>   Yes, I don't know why GNU chose to do this to the community.  It
> seems everyone at GNU uses (X)emacs, since emacs reads info stuff
> but they never considered the rest of us who might prefer another
> editor that doesn't support info.  The stand alone info reader
> they provide as an afterthought is truly horrible.  However, there
> is a replacement (finally!) called 'pinfo'.  It has not reached
> v1.0 yet, so it should still be considered 'beta', but it works
> very well for me.  It is colorized, allows the use of the arrow
> keys in an intuitive way, and can show both info *and* man pages
> (it checks for an info file first, if not found it will look for a
> man page).  The info-like node linking ability works on properly
> written man pages too (hilighted references to other programs
> become a link in pinfo).
> 
> 

There is also info2www that works very well.  Install dwww and info2www
and you have a fairly basic documentation reading mechanism.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: make menuconfig

1999-07-07 Thread Brian Servis
*- On  6 Jul, G. Crimp wrote about "make menuconfig"
> Hi,
> 
>   I tried doing a make menuconfig instead of make config to configure
> the kernel.  Very near the beginning it craps out because of a missing
> curses.h file.  (This is a Deb 2.0 box by the way, kernel 2.0.34) The make
> script cd's to /usr/src/linux/scripts/lxdialog.  curses.h is an include in
> lxdialog.c:
> 
> In file included from lxdialog.c:22:
> dialog.h:29: curses.h: No such file or directory
> make[1]: *** [lxdialog.o] Error 1
> make[1]: Leaving directory /usr/src/kernel-source-2.0.34/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> 
> Did a find on the entire file system and it didn't turn up anywhere.
> 
> Any idea why I wouldn't have it on my system ?
> 

You need the ncurses devel package, ncurses3.4-dev_1.9.9g-8.10.deb. It
is in the devel directory of the 2.0 archive.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Huge hard disk...how to partition

1999-07-07 Thread Brian Servis
*- On  7 Jul, Kenneth Scharf wrote about "Huge hard disk...how to partition"
> I just got a new HD (17.2 gb) in preparation for upgrading my system to
> potatoe when it is released.  (I am also going to get a new DUAL PII mb
> now that REAL smp is in the kernel).
> 
> My question is how to partition the disk.  I probably need to dual boot
> with windows 95 or NT (probably will use NT due to SMP HW) to be able
> to run some windows ap's that don't yet run under wine.
> 

Have you looked at vmware.com?  Avoid the dual boot and run NT in a
virtual machine under linux.

> My idea was to partition as follows:
> 
> #1 ext2 /boot containing only the boot image ~ 100mb
> #2 ntfs or vfat 4-5gb for windows
> #3 swap (128 -256mb) does 2.X support max swap size > 128mb now?
> #4 ext2 / rest of the disk (mount entire system here after image loads,
> then mount /boot)
> 
> Will this work? (I don't know if NT needs that the system partition be
> the FIRST partition)
> 
> This is necessary to get the boot partition completly under 1024
> cylinder limit.
> 

You will get lots of input on this.  You didn't say if you are using
IDE or SCSI but if you are using IDE then I would stick your swap on
another disk on your second IDE channel(ide1).  If you are worried about
swap you could put the primary on ide1 and then have a secondary on
ide0.  I would also put /home and /usr/local on separate partitions. 
That way if you ever need to reinstall the OS you will not loose your
personal stuff. 

My 2bits.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Samba 2.0x on Slink

1999-07-07 Thread Brian Servis
*- On  7 Jul, Mario Olimpio de Menezes wrote about "Samba 2.0x on Slink"
> 
> Hi,
> 
>   I need Samba 2.0.x on my Slink system. Do you know some URL where
> I can get debs for it?
>   If not, can I compile the source from potato in a slink system?
> Some problem with this? Will it fail?
>   Thanks,
> 

Install http://www.debian.org/~jgg/apt_0.3.11.1_i386.deb and
add a line like the following to your apt source.list file:

deb-src http://debian.midco.net/debian potato main

Make sure you have dpkg-dev installed. Then execute the following in a
directory of your choice.

apt-get update; apt-get --compile source samba-common samba smbfsx

If all goes well and you have the appropiate -dev packages installed
for the headers then you will end up with samba-common samba and smbfsx
packages built for your system.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


  1   2   3   4   5   6   7   >