Re: [gentoo-user] missing default route

2004-02-04 Thread Andrew Ross
Sorry to reply to myself, but I just thought of something else.

Have you tried configuring the interface using dhcpcd from the 
command-line (ie. disable the Gentoo net.eth* initscripts)?

Andrew Ross wrote:

When using DHCP, you shouldn't have to set the default gateway (either 
using route, or in /etc/conf.d/net).

Are you invoking dhcpcd using -d (so that debug info is sent to syslog)? 
What do the logs say?

What is the output of route? (before you manually add the default route).


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] missing default route

2004-02-04 Thread Andrew Ross
When using DHCP, you shouldn't have to set the default gateway (either 
using route, or in /etc/conf.d/net).

Are you invoking dhcpcd using -d (so that debug info is sent to syslog)? 
What do the logs say?

What is the output of route? (before you manually add the default route).

Ian Truelsen wrote:
It is at the bottom of /etc/conf.d/net, ala:

# For setting the default gateway
#
gateway="eth0/192.168.100.5"



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] emerge -e world ??

2004-01-23 Thread Andrew Ross
You are better off using usechange 
(http://www.coe.uncc.edu/~danderse/www/usechange).

Of course, a forum search (as Brian suggested) would have found this anyway!

Cheers

Andrew

Brian wrote:

emerge -e world will rebuild everything.  If you just want to rebuild
some that the flags changed for there is a combination of commands to
tell you which ones need it. then re-emerge them.
such as:

emerge -vep world | grep mysql

will display all installed ebuilds with a mysql use flag. then just
check and make a list of the ones that need rebuilding.
emerge a_pkg another_pkg

there may be a complete script out there for it. do a search on the
forums to see if one turns up.  I know I would like to add that function
to to a portage/emerge gui called porthole that is in development.


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] ebuild for flexlm

2004-01-22 Thread Andrew Ross
"FLEXlm license manager and utils 9.0.0"
http://bugs.gentoo.org/show_bug.cgi?id=23221
Hope this helps

Andrew

Valmor de Almeida wrote:

Is there an ebuild for flexlm?


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Files in /etc/pam.d

2004-01-22 Thread Andrew Ross
Short of something like emerge -eD world and rebuilding everything, you 
could try to parse the output of usechange 
(http://www.coe.uncc.edu/~danderse/www/usechange).

Hope this helps

Andrew

Scharf Yuval wrote:

Anyhow, How do I tell portage that I've changed a USE flag and want it to
rebuild what ever is needed?


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Mplayer without X

2004-01-22 Thread Andrew Ross
Try USE=-* emerge -pv mplayer

On my server the results are:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] dev-lang/nasm-0.98.38  -doc -build
[ebuild  N] media-sound/cdparanoia-3.9.8
[ebuild  N] media-libs/xvid-0.9.1
[ebuild  N] sys-libs/lib-compat-1.3
[ebuild  N] media-libs/divx4linux-20030428-r1
[ebuild  N] media-libs/win32codecs-0.90.1-r2  -quicktime
[ebuild  N] media-video/mplayer-0.92  -dga -oss -xmms -jpeg -3dfx 
-sse -matrox -sdl -X -svga -ggi -oggvorbis -3dnow -aalib -gnome -xv 
-opengl -truetype -dvd -gtk -gif -esd -fbcon -encode -alsa -directfb 
-arts -dvb -gtk2 -samba -lirc

Now you can review the mplayer use flags and add the ones you want.

Cheers

Andrew

Tianran Chen wrote:
what about install MPlayer without qt and kde? i add "-qt -kde" in my USE 
flag, but qt and kde still show up when i do emerge -pv mplayer. any idea?
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Files in /etc/pam.d

2004-01-21 Thread Andrew Ross
Scharf Yuval wrote:

When I look at the filed in /etc/pam.d using "qpkg -f" I can see that some
of them came from ebuilds and some of them not.
 

That's strange - a quick check of my /etc/pam.d shows 14 files, all 
belong to either shadow, openssh, or squid.

Perhaps you could supply us with the list of files you are referring to?

The reason I'm asking is because I'm building a new system and I can't
login into it. It says that the authentication failed :-(
 

I once had this problem (ie. unable to log into a newly built system, 
even as root). It was because I'd taken pam out of my use flags when the 
system was built (eg. USE=-pam emerge system).

I rebooted using the live cd and redid the emerge system. Everything 
worked fine after that.

Hope this helps

Andrew

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] su issues

2004-01-19 Thread Andrew Ross
Your user account needs to be a member of the group wheel (gid 10 under 
Gentoo Linux, gid 0 under FreeBSD) in order to su to the root user.

You can check group membership this using the "id" command.

This is an additional security measure taken, I believe from *BSD (I 
might be wrong about that).

Cheers

Andrew

Dan Egli wrote:
su: Permission denied
Sorry.
Huh? Permission denied?  Whats up with this? Anyone experience it beore? 
How can I fix it? sudo works fine but if I want to do several things as 
root I don't want to sudo each of them.
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Bash Scripting - pipes, quoting & stuff

2004-01-18 Thread Andrew Ross
You are erroneously escaping the shell variables on line 61 of your script:

cat $1 | $MAKEMIME -c \"$TYPE\" -e \"$ENCODING\" -

Change it to this:

cat $1 | $MAKEMIME -c "$TYPE" -e "$ENCODING" -

and it should work (or at least, it did for me).

Cheers

Andrew

Stroller wrote:
I start to write a little shell script as a wrapper.

I've spent a little time making sure each part works ok... piping  
text-files into sendmail, and renaming the original file after the  
time&date when the script has finished. But when I get to the actual  
piping of a file into `makemime` it falls over. Now this is really  
weird, because I can do it from the commandline fine, but not it seems  
as part of a shell script.

At the commandline:
   $ cat foo.wav | makemime -c "audio/x-wav" -e "base64" -
   Content-Type: audio/x-wav
   Content-Transfer-Encoding: base64
UklGRqaKAQBXQVZFZm10IBABAAEAIBwAACAcAAABAAgAZGF0YYGKAQCAf39/f39/ 
gICAgICA
gICAgIB/f39/f39/f4CAgICAgICAf39/fn5+fn9/gICAgYGBgYGAgH9/f39/ 
f3+AgICAgICAgH9/
   ...

I've attached my script. I'm guessing that someone out there will find  
it laughably easy to explain why this isn't working for me, but I'm  
absolutely baffled. If I run this script the result of the 2nd-last  
(uncommented) line indicates that I am trying the very same commands &  
variables as I've shown above, and if I copy & paste that line back  
into my terminal, it works fine. But when I run the script I `makemime`  
always fails with its usage message:
  Usage:
makemime -c type [-o file] [-e encoding] [-C charset] [-N name] \
   [-a "Header: Contents"] file ...

I'm extremely indebted for any clarification,

Stroller.
--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] trouble with gaim

2003-12-27 Thread John Ross Hunt
> On Sat, 2003-12-27 at 14:56, Roger wrote:
> > happy new year to all.
> > 
> > I want to use gaim to act as MSN to chat with other, but I fail to
> > logon, I got the following error message.
> > "Protocol dose not support."
> 
> anyway, when are you coming here for the evening of drinking 
> disgusting
> amounts of alcohol
> 
> -- 
> Tom Wesley

Gee, how nice.  Is everyone on the list invited?


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] emerge: Invalid db entry

2003-12-27 Thread John Ross Hunt
> I now get this message when doing anything with emerge:
>
> >>> Auto-cleaning packages ...
> !!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry:
> /var/db/pkg/*sys-fs/devfsd
>
> Does anyone know what this means?

Look for a file named "-MERGING*" in your /var/db/pkg path.  I'm going from
memory, so it may be something a little different.  In any case, it's a file
with a "-" in front.

Delete it.

-jrh



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] no libstdc++

2003-12-27 Thread John Ross Hunt
> Hi,
>
> I have installed gcc-3.3.2-r4, and now I no longer have
> libstdc++.so.5
> anywhere. It broke many of the programs. When I try to run
> g++ or c++ I
> get the message "Can't locate/run g++" (I don't know who emits this
> message; I don't think it is the shell). Anyone knows what's
> going on?
> Also, is it possible to ask emerge to not clean the temporary
> files it
> creates?

There's a script at /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh
that probably needs running.  It should update those pesky .la files that
are hard-coded to the old gcc path.

If you're truly missing
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.*, then something is
awry.  I'd try re-emerging gcc and see if that corrects the problem.

> BTW: Am I the only person getting each message on this list twice?

Only getting one copy here.

-jrh



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] vncserver + gnome setup problem

2003-12-05 Thread John Ross Hunt
> On Sun, 2003-11-09 at 21:09, Shane Bouslough wrote:
> > Hi All,
> > 
> > I'm using a GRP 1.4 install,  and I did an emerge of  tightvnc.
> > 
> > When I start a vncserver session and then connect remotely via a
> > vnc client, I always get the typical X gray background as if twm
> > was started.
> > 
> > My ~/.vnc/xstartup file just contains
> > 
> >#!/bin/sh
> >exec /usr/bin/gnome-session &
> > 
> > I've read several of the Gentoo tutorials on setting up 
> > vnc, but most replies seem to show many people still have
> > this same issue.
> > 
> > Any ideas?
> > 
> there is a xsetroot line too, that one sets the bg
> > -Shane

Here's my ~/.vnc/xstartup file:

---
#!/bin/bash --login
  
if [ -f "$HOME/.Xresources" ]; then
  /usr/X11R6/bin/xrdb -display $DISPLAY -load "$HOME/.Xresources"
fi
/usr/X11R6/bin/xhost +LOCAL:
/usr/bin/gnome-session -display $DISPLAY 2>.xsession-errors &
---

Good luck,

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] emerge -up world

2003-12-04 Thread John Ross Hunt
> Patrick Börjesson wrote:
> >>So how can i emerge updates for everything installed
> >>on my box ?
> >
> > emerge -u `qpkg -nc -I` -vp
> >
> > ^ Should show all updates that are available for the
> packages that you currently have installed.
>
> *** WARNING ***
>
> Argh... i've accidently used this without the -p option, now my
> world file contains all these packages... now i got to sort them
> out by hand, piece-by-piece...
>
> any better solutions for automatically updating all packages on my box
> without changing my world favorites ???

emerge --oneshot
Emerge as normal, but do not add the packages to the world profile for
later updating.

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] what is wrong with head and tail?

2003-12-04 Thread John Ross Hunt
> Hi,
>
> I noticed this about a week ago:
>
> head: `-1' option is obsolete; use `-n 1'
> Try `head --help' for more information.
>
> and tail seems to do the same thing...
> this is very annoying since it breaks a lot of scripts,
> including configure
> scripts to build packages...
>
> why is this obsoleted?
>
> And the most irritating part is that is not phased out, like
> giving a warning
> and then continue, but it only gives an error and stops.
>
>   Rudmer

Do an "info coreutils" and read the section about standards conformance.  In
short, "export _POSIX2_VERSION=199209" in your profile will enable
traditional behavior with head, tail & sort.

-jrh

I'll save you a few keystrokes.  Here's the relevant piece:

Standards conformance
=

In a few cases, the GNU utilities' default behavior is incompatible
with the POSIX standard.  To suppress these incompatibilities, define
the `POSIXLY_CORRECT' environment variable.  Unless you are checking
for POSIX conformance, you probably do not need to define
`POSIXLY_CORRECT'.

   Newer versions of POSIX are occasionally incompatible with older
versions.  For example, older versions of POSIX required the command
`sort +1' to sort based on the second and succeeding fields in each
input line, but starting with POSIX 1003.1-2001 the same command is
required to sort the file named `+1', and you must instead use the
command `sort -k 2' to get the field-based sort.

   The GNU utilities normally conform to the version of POSIX that is
standard for your system.  To cause them to conform to a different
version of POSIX, define the `_POSIX2_VERSION' environment variable to
a value of the form MM specifying the year and month the standard
was adopted.  Two values are currently supported for `_POSIX2_VERSION':
`199209' stands for POSIX 1003.2-1992, and `200112' stands for POSIX
1003.1-2001.  For example, if you are running older software that
assumes an older version of POSIX and uses `sort +1', `head -1', or
`tail +1', you can work around the compatibility problems by setting
`_POSIX2_VERSION=199209' in your environment.


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] emerge OpenOffice.org fails

2003-12-02 Thread John Ross Hunt
> Hi all.
>
> emerge openoffice.org fails with the following message:
>
> ERROR: Error 65280 occurred while making /var/tmp/portage/
> openoffice-1.1.0-r2/work/oo_1.1_src/basctl/source/basicide
>
> !!! ERROR: app-office/openoffice-1.1.0-r2 failed.
> !!! Function src_compile, Line 471, Exitcode 1
> !!! Build failed!
>
>
> anyone have any ideas how I might get this app installed?  I saw the
> warning about cflags, but mine are conservative.
>
> tia,
> -srlinuxx

You might want to try openoffice-ximian if you can't resolve the openoffice
problem.  It doesn't require java to build, but does require some extra
gnome libraries.  I guess it's a tradeoff in some respects.

I successfully compiled OOo-ximian using really, really conservative flags:
"-march=pentium3 -O2 -pipe".  You might want to try something similar on
your system.

Good luck,

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] moving to new partition

2003-11-20 Thread John Ross Hunt
> Hello everybody,
>
> I'd like to change the /home & /var location
> to newly added harddisk partitions, so i need
> the correct cp command phrase which regards
> all and every link & permission issue, like:
>
> cp -??? /mnt/gentoo/var /mnt/gentoo/newvar
>
> (booted from gentoo-basic without chroot)
>
> Sorry if this thread isn't very gentoo-specific.

I've always used this for moving data to new partitions:

 % cd /mnt/gentoo/var
 % find -xdev -depth -print | cpio -padvmB /mnt/gentoo/newvar

find options:
 -xdev  Don't descend directories on other filesystems.
 -depth Process each directory's contents before the directory itself.
 -print Print the full file name on the standard output, followed by a
newline.

cpio options:
 -p Run in copy-pass mode.
 -a Reset the access times of files after reading them, so that it does not
look like they have just been read.
 -d Create leading directories where needed.
 -v Verbose.  List the files processed.
 -m Retain previous file modification times when creating files.
 -B Set the I/O block size to 5120 bytes.  Initially the block size is 512
bytes.

Good luck,

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] rebuild all

2003-11-20 Thread John Ross Hunt
> Hello everyone,
>
> Is there an emerge option for rebuilding the whole box
> (assuming all emerged source tarballs still present) ?
>
> It's the -O3 issue...

Try this, it works better than "emerge -e" because it rebuilds the currently
installed packages only (no upgrades or downgrades).

 qpkg -I -nc -v | sed "s:^:\\\=:" | xargs emerge -p

Just remove "-p" when ready to rebuild.

Good luck,

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Querying the Portage database

2003-11-09 Thread John Ross Hunt
> I'm new to Gentoo (switching from RH9) and have become used
> to RPMs and
> their query tools.
>
> I've been looking for a way to query the Portage database to
> determine
> what's installed and get general info regarding the packages--I'm
> looking for something similar to "rpm -qa".
>
> At the end of this
> section--http://www.gentoo.org/doc/en/portage-manual.xml#doc_c
> hap3--in
> the Portage user manual it indicates that there's an
> app-admin/gentoolkit to assist with Portage queries. I have
> yet to find
> this package or a way to query the Portage database.
>
> Can anyone direct me to the package or tools that I need in
> order to do
> this?

If you're familiar with rpm, emerge epm as well as gentoolkit.

epm is a script that emulates a subset of rpm commands.  It's good for
learning, but isn't functional enough to rely on.

gentoolkit contains qpkg, which is the best tool for querying portage.
"qpkg --help" should be enough to get you going.  Also, in answer to your
question, the "rpm -qa" equivalent with qpkg is: "qpkg -nc -I -v".

Good luck,

-jrh



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] vncserver + gnome setup problem

2003-11-09 Thread John Ross Hunt
> Hi All,
> 
> I'm using a GRP 1.4 install,  and I did an emerge of  tightvnc.
> 
> When I start a vncserver session and then connect remotely via a
> vnc client, I always get the typical X gray background as if twm
> was started.
> 
> My ~/.vnc/xstartup file just contains
> 
>#!/bin/sh
>exec /usr/bin/gnome-session &
> 
> I've read several of the Gentoo tutorials on setting up vnc, but most
> replies seem to show many people still have this same issue.
> 
> Any ideas?
> 
> -Shane

Here's a script that's always worked for me:

---
$HOME/.vnc/xstartup
---

#!/bin/bash --login
 
if [ -f "$HOME/.Xresources" ]; then
  /usr/X11R6/bin/xrdb -display $DISPLAY -load "$HOME/.Xresources"
fi
/usr/X11R6/bin/xhost +LOCAL:
/usr/bin/gnome-session -display $DISPLAY 2>.xsession-errors &

-

Just fire up vncserver and you should be able to connect.

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] openssl 0.9.7

2003-11-09 Thread John Ross Hunt
> Halo
> 
> i have a problem
> i updated openssl form 0.9.6 => 0.9.7
> 
> gnome crashed
> 
> i found that 
> # revdep-rebuild
> will help
> 
>  but when i run it there is problem with kde-base, that wants 
> sun-jdk but i have blackdown-jdk.
> 
> what to do?
> 
> than ypu !
> 
> 
> miks

Perhaps injecting sun-jdk will do the trick:

% emerge -i sun-jdk

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] vmware config script

2003-10-10 Thread John Ross Hunt
> Hi,
> 
> When i try to boot up and run vmware the system tells me that 
> i need to
> run the vmware-config.pl script. I do this and everything works just
> fine.
> 
> However, if i reboot my machine i need to run it again. Everytime.
> 
> Any idea's. ?
> 
> Thanks.
> 
> ps: I was converted from FreeBSD/XP to Gentoo about 1 week 
> ago, and i'm
> not looking back this Distro is awesome.
> 
> Jeff.

# rc-update add vmware default

-jrh


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Submitting ebuilds

2003-09-25 Thread Ross
Thanks. The software is freely available from their site - as both a linux and 
windows binary - and they have no problem with it being distributed, they 
just don't want to release the source.

On Thursday 25 September 2003 10:21, donnie berkholz wrote:
> On Thu, 2003-09-25 at 03:34, Ross wrote:
> > Hi,
> >
> > Just a quick question about ebuilds - I want to make and ebuild for a
> > closed-source program, and hopefully one day have it added to portage -
> > would it being closed-source prevent it from being added?
> >
> > thanks, Ross.
> >
> >
> >
> > --
> > [EMAIL PROTECTED] mailing list
>
> Not at all. The only problem that could come up would be the license; if
> we can't distribute it this way, etc.


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Submitting ebuilds

2003-09-25 Thread Ross
Hi,

Just a quick question about ebuilds - I want to make and ebuild for a 
closed-source program, and hopefully one day have it added to portage - would 
it being closed-source prevent it from being added?

thanks, Ross.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] stage1,2,or 3 install

2003-09-22 Thread Ross
Sounds like an interesting idea/project... now if only it it were possible to 
install Gentoo on my ZX Spectrum! :P

Ross.


On Monday 22 September 2003 15:17, [EMAIL PROTECTED] wrote:
> > Maybe that's due to my non-recent hardware: PIII 733, 256MB ram,
> > VIA M/B chipsets.
>
> Are you serious?
>
> I'm currently doing a stage1 installation on a 486 with 20MB of RAM. And
> I'm happy for those last 4MB of RAM, bringing it up from "standard" 16MB to
> 20MB. :-)
>
> That's what I call "non-recent hardware". :-)
>
> The bootstrap has run for almost 60 hours so far and is still not near
> completion. Then I will do an 'emerge sync' and an 'emerge system'. Plus
> the remaining stuff, including the kernel. You know, the lot.
>
> If successfull, I will report the outcome in the Gentoo forums.
> Biker (because it can(?) be done (can it?))
>
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] what program plays avi's

2003-09-19 Thread Ross
I use Xine - it's played everything I've need it to, so far (except for DVDs). 
See http://xinehq.de for more info, or just "emerge xine-ui"

Ross.


On Friday 19 September 2003 12:16, Davide Brini wrote:
> On Friday 19 September 2003 10:42, Joshua Banks wrote:
> > If your running KDE it comes with "Kaboodle" (media player) and this
> > plays AVI's.
>
> But upgrading to kde 3.1.3 kaboodle seems to have some problems. See here:
>
> http://forums.gentoo.org/viewtopic.php?t=83601
>
> Bye
>
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Wireless Mice

2003-09-17 Thread Ross
Surely it's handled at a hardware level, and treated as a normal mouse? Gentoo 
shouldn't even need to know it's wireless.

Ross.


On Wednesday 17 September 2003 14:40, brett holcomb wrote:
> I've acquired a MS wireless mouse (it was free ) and
> wondered if anyone had used a wireless mouse successfully
> on Gentoo.  This mouse has a base station that plugs into
> the ps/2 or usb port and the mouse communicates with it.
>
> Thanks.
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] "etc-update" versus Manual update opinions..

2003-09-17 Thread Ross
*agrees with brett*

if I haven't modified the file, I leave all the work up to etc-update :) it 
isn't much effort looking out for the 4 or 5 files you need to worry about.

Ross.



On Wednesday 17 September 2003 14:33, brett holcomb wrote:
> If you blindly say update it then etc-update sure will
> mess it up.  Every update that etc-update has wanted to do
> has wanted to replace my /dev/... with /dev/BOOT and take
> out my stuff and that would sure hose the system.  Other
> than running it through an editor manually I don't know of
> anyway to let etc-update do it.  I suppose you could try
> an interactive update but for files like fstab I'll do it
> by hadn.
>
>
> On Wed, 17 Sep 2003 08:11:24 -0400
>
>   [EMAIL PROTECTED] wrote:
> >On Wed, Sep 17, 2003 at 08:00:59AM -0400, brett holcomb
> >
> >wrote:
> >> Well, if you use etc-update on files like /etc/fstab
> >>your
> >> system will break.  Also, when you modify your make.conf
> >> file you don't want it overwritten mindlessly.  If you
> >> notice etc-update will remove all your changes.
> >
> >etc-update won't break /etc/fstab if you pay attention to
> >what you're
> >doing.
> >
> >The etc-update interface takes some getting used to... I
> >made a mess
> >the first time I tried it - so it's a good idea to save
> >the files you're
> >updating before you start. But once you get the hang of
> >using it, it's
> >a lot less trouble than doing it by hand.
> >
> >Nathan Meyers
> >[EMAIL PROTECTED]
> >
> >> On Wed, 17 Sep 2003 02:42:59 -0400
> >>
> >>  Ben Sparks <[EMAIL PROTECTED]> wrote:
> >> >why not use etc-update?  seems to save much hassle and
> >> >time for me.
> >> >
> >> >On Wed, 2003-09-17 at 02:30, Joshua Banks wrote:
> >> >>Come-on... No fish in the Gentoo pond..tonight
> >>
> >> --
> >> [EMAIL PROTECTED] mailing list
> >
> >--
> >[EMAIL PROTECTED] mailing list
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] private rsync mirror ?

2003-09-17 Thread Ross
You could just run FTP on your "server", and update the distfiles on it (by 
rsync or FTP) whenever necessary, and set all the other machines to use it as 
a mirror (making it the first entry in the "GENTOO_MIRRORS" line in 
"make.conf").

Not really the answer you're looking for though.

Can't blame me for trying *noob* :)

Ross


On Wednesday 17 September 2003 14:04, raptor wrote:
> hi,
>
> I read the etiquete page about becoming portage-rsync mirror
> I'm interested in making local portage mirror for my internal machines,
> they grow constantly :"). I'm interested in the tehnical part of the
> stuff..
>
> I'm not intending to sync even every day, but probably every couple of days
> or week... So that all my internal servers are updating from one place...
> what I need :
>
> 1. how to setup - the server ..
> 2. how to make it so that it sync from one or more rsync-mirrors. Rotate
> them or fallback from one to the next.. 3. "emerge sync" is doing rsync
> isn't it ? So that if I set my box in the make.conf it will first contact
> it ?!
>
> any links or guides are welcome..
> tia
>
> PS. Does the same apply to distfile-mirror..
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT networking question

2003-09-17 Thread Ross
"emerge netcat"

:)


On Wednesday 17 September 2003 12:57, Stroller wrote:
> On 6 Sep 2003, at 1:52 am, Spider wrote:
> > begin  quote
> > On Fri, 5 Sep 2003 18:39:16 -0400 (EDT)
> >
> > Marshal Newrock <[EMAIL PROTECTED]> wrote:
> >> On Fri, 5 Sep 2003, Ernie Schroder wrote:
> >>
> >>
> >> As far as measuring bandwidth, there's a program called 'bing' (which
> >> is not in portage) which will determine the available bandwidth
> >> between twopoints.  I'm sure there's many good programs in
> >> net-analyzer as well which do things like that.
> >
> > Lets play some homebrew stuff here:
> >
> > on the server:
> > dd if=/dev/zero of=testfile bs=1M count=100
> > nc -l -p  < testfile;
> >
> > on the client:
> > time nc server  >/dev/null
> >ts.  I'm sure there's many good programs in
> > ;
> >
> > Repeat three or four times for good measure.
>
> Sorry for replying to this so late - I seem to have some latency with
> my POP3 server & this has only just come through.
>
> But I don't seem to have `nc` installed. What is it, please, and what
> package might I find it in..?
>
> Thanks,
>
> Stroller.
>
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] joystick

2003-09-11 Thread John Ross Hunt
[snip]
> I managed to get something to happen. I emerged alsa-utils. I did
> 'alsactl store', edited the file /etc/asound.state to enable the
> joystick, and then 'alsactl restore'. I then did 'modprobe
> analog' and
> 'modprobe joydev'.
>
> I get these lines in my dmesg but still no /dev/input/js0:
>
> analog.c: 0 out of 0 reads (0%) on  failed
> input: Analog 3-axis 4-button joystick at  [TSC timer, 981 MHz
> clock, 1069 ns res]
>
> What does this mean?

I believe the kernel modules should be loaded before starting alsa.  Also,
the joydev module should be loaded before the analog module.  You might want
to try these three in order:

modprobe -a joydev
modprobe -a ns558
modprobe -a analog

If that doesn't help, check out this link for additional information.

 http://www.freelink.cx/joystick.html

-jrh


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] joystick

2003-09-10 Thread John Ross Hunt
[snip]

> I recompiled my kernel so that ns558, analog, and joydev are
> modules. I have the ALSA driver for my Ensoniq 1371 built into
> the kernel. I think the gameport driver is part of the es1371
> driver. I tried adding analog and joydev to my
> /etc/modules.autoload. They load just fine, although, there is
> no ouput in dmesg and I have no /dev/input/js0. I tried unloading
> them and then loading ns558 and I got a 'No such device' error.
> I reloaded analog and joydev by hand. Still no /dev/input/js0.
> I'm going out of my mind.
>
> --
> Andrew Gaffney

First, make sure the correct joystick modules are loaded.  Then, edit your
/etc/asound.state file look for a section similar to this:

control.2 {
comment.access 'read write'
comment.type BOOLEAN
iface CARD
name 'Joystick Enable'
value true
}

Make sure the value is set to "true".  Save the file and try the following
commands:

% alsactl store
% alsactl restore

Check dmesg and hopefully the joystick module has been loaded.  Hope this
helps,

-jrh


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Well, my RAID array is screwed (was df != fdisk)

2003-08-14 Thread Ross Jordan
> 
> > Note that the TX4 "RAID" card, is essentially a *software* raid card
> > (i.e. glorified IDE controller). There is very few true IDE raid card
> > with support under linux. 3ware and ARCO DupliDisk are the only ones.
> > http://www.linux-ide.org/chipsets.html
> >
> > -Ross
> 
> Do you mean by that that the pdcraid kernel module is doing the RAID work,
> as opposed to a chip on the card?

Yes.

-Ross


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Well, my RAID array is screwed (was df != fdisk)

2003-08-14 Thread Ross Jordan
> My only regret is that I'll no longer be using the RAID card to its full
> extent. However, I've also read some interesting opinions that talk about
> how a low-end RAID card (such as the tx4) can be a bottleneck on higher-end
> systems. Mine's a dual-mp 1.4Ghz (1600+) configuration. Such opinions say
> that on such a multi-processor, relatively fast system software RAID can
> actually be *faster* than relying on a card such as the tx4. I hope that's
> true!

Note that the TX4 "RAID" card, is essentially a *software* raid card
(i.e. glorified IDE controller). There is very few true IDE raid card
with support under linux. 3ware and ARCO DupliDisk are the only ones.
http://www.linux-ide.org/chipsets.html

-Ross

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Burning CDs with CD Bake Oven

2003-07-20 Thread Ross Jordan
> 
> Anyone know if it's possible, with CD Bake Oven, to burn a data CD that
> isn't an ISO image.  I want to burn a CD with a few files so I can use
> them on another computer.  If this is not possible can anyone recommend
> CD burning software for Linux that doesn't suck?  Every burning software
> I've tried seems to not be able to have some major flaw or not be able
> to do something at all (like not burning data CDs that aren't ISO
> images).
>

What's wrong with burning ISOs? mkisofs + cdrecord. It does 
everything you need.

-Ross


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on a Java-Station

2003-07-20 Thread Ross Jordan
> 
> Hi,
> 
> did anybody manage to get gentoo installed (via nfs of course) on a Java Sta-
> tion? I am currently trying this.

Yes, I did manage this. It is a slow process =) Mail me offlist
and I can send you the fs image.

-Ross


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel Problems - Reboot on Load

2003-07-11 Thread Ross Jordan
> 
> I'm a newbie on Gentoo, i've made the installation from stage 1, compile =
> everything and when i reboot the system, i see Grub then when i choose =
> to load the linux, it seems to load the kernel, but the screen go black =
> and after 2 seconds the system is rebooting. I think it's a kernel =
> compilation problem but i don't know the solution.

Sounds like you didn't compile VGA support:
Console drivers/VGA text console
CONFIG_VGA_CONSOLE = y


-Ross


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SATA-RAID

2003-06-23 Thread Ross Jordan
> 
> I've got my hands on an ABIT KD7-S SATA RAID motherboard (Silicon
> Image SIL3112A chipset). Has anyone had any experience with the
> on-board SATA-controller (with or without the RAID)? I'd like to be
> able to use the hardware RAID (two disks, one on each channel), but
> software will work also.
It is doubtful that any (ide) on-board controller is really hardware 
RAID.  They are usually just IDE controller with drivers (i.e. software)
for RAID support.

The supported chipsets and vendors page is here:
http://www.linux-ide.org/chipsets.html

It lists the sil3112 as SATA controller (not hardware raid).

Cheers,
Ross

-- 
Mr. Cole's Axiom:
The sum of the intelligence on the planet is a constant;
the population is growing.



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] cloning a gentoo installation

2003-06-17 Thread John Ross Hunt
> Partition Image for Linux might be useful.

Oops, should have included:

[ Results for search key : partimage ]
[ Applications found : 1 ]

*  sys-apps/partimage
  Latest version available: 0.6.2
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 652 kB
  Homepage:http://www.partimage.org/
  Description: Console-based application to efficiently save raw
partition data to an image file. Optional encryption/compression support.

-jrh



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] cloning a gentoo installation

2003-06-17 Thread John Ross Hunt
Partition Image for Linux might be useful.

 http://www.partimage.org/

"Partition Image is a Linux/UNIX utility which saves partitions in many
formats (see below) to an image file. The image file can be compressed in
the GZIP/BZIP2 formats to save disk space, and split into multiple files to
be copied on removable floppies (ZIP for example),  The partition can be
saved across the network since version 0.6.0"

-jrh

> Hello,
>
> I have an installation just the way I like it.  Now I need to
> replicate it
> onto 4 other identical machines.
>
> I'd appreciate input on how best to accomplish this.
>
> My perfect world scenario would be to be able to create a bootable
> installation CD that would do the trick for me.
>
> Thanks in advance!
>
> ==
> Jeff Adams
> 650-654-4148
> [EMAIL PROTECTED]



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Memory problems (compiling on a different machine)

2003-06-14 Thread John Ross Hunt
You might want to give this a try on the broken machine:

 http://rick.vanrein.org/linux/badram/

(BadRAM: Linux kernel support for broken RAM modules)

-jrh

>   Hiya.
> 
>   My brother's computer (with Gentoo on it) has some memory 
> problems quite 
> probably caused by the motherboard (Memtest86 shows errors 
> always at the end 
> of test 5 and changing mem chips doesn't help). This 
> obviously causes quite a 
> bit of problems while compiling stuff, but under normal load 
> it doesn't seem 
> to be a problem.
> 
>   Obviously the only long term solution is to get a new 
> motherboard, but in 
> the mean time I would like to update the system on the 
> current hardware. I 
> have two other Gentoo systems at my disposal (800MHz Duron 
> and 400MHz K6-2, 
> while the borked one is a Athlon XP 1700+ with DDR RAM) and 
> they're all in 
> the same network.
> 
>   So, any ideas on how I could sidestep the memory issue 
> while updating the 
> system?



--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Samba

2003-06-07 Thread John Ross Hunt
> I have a bit of an odd Samba problem. I've got a Gentoo 1.4_rc4 box
> running CUPS and Samba sharing a printer on the network. I
> can print to
> it perfectly from my Gentoo box but Windows PCs (running W2K) cannot
> print to the printer in question.
> The Windows boxes can get to a shared directory on the Samba
> server but
> not the printer. I have pasted my smb.conf file below:
>
> [global]
> log file = /var/log/samba/log.%m
> printer = Deskjet
> smb passwd file = /etc/samba/private/smbpasswd
> encrypt passwords = yes
>
> read raw = yes
> load printers = yes
> name resolve order = lmhosts host bcast
> socket options = TCP_NODELAY IPTOS_LOWDELAY
> create mask = 0644
> null passwords = yes
> public = yes
> dns proxy = no
> netbios name = Zim
> write cache size = 262144
> writeable = yes
> server string = Gentoo Linux Server
> printing = cups
> default = Deskjet930C
> local master = yes
> workgroup = WORKGROUP
> debug level = 1
> os level = 65
> directory mask = 0755
>
> [printers]
> comment = All printers
> browsable = yes
> path = /var/spool/samba
>
> [Deskjet930C]
> printer = Deskjet
> printable = yes
>
> [Shared]
> path = /share
>
>
>
> --
> [EMAIL PROTECTED] mailing list
>
>

If the printer driver is already installed on your Win2k machine, you may
need the 'use client driver = Yes' parameter in your [globals] section.  See
'man smb.conf' for details.

-jrh



--
[EMAIL PROTECTED] mailing list



[gentoo-user] CVS portage tree

2003-02-13 Thread Ross James Bevington
Does anyone know when 1.4 will be released and so the portage tree updated. 
I am behind a firewall and can only update my portage tree through 
emerge-websync. 
Portage has been frozen for ages and I'm starting to miss emerge -up world. 
Also I'm worried the load on my server ( compiling so much updated software ) 
will be too much. Is there anyway for me to get at the CVS tree?
Thanks

-- 
"Only two things are infinite, the universe and human
stupidity, and I'm not sure about the former."
Albert Einstein

--
[EMAIL PROTECTED] mailing list