Re: Tunnel iceweasel?

2008-03-27 Thread John Schmidt
On Wednesday 26 March 2008, Rich Healey wrote:
 Joost Witteveen wrote:
  On 24/03/2008, Douglas A. Tutty [EMAIL PROTECTED] wrote:
  On Mon, Mar 24, 2008 at 11:46:56AM +0100, Joost Witteveen wrote:
On 23/03/2008, Rich Healey [EMAIL PROTECTED] wrote:
 
  I'm trying to tunnel an iceweasel instance via ssh from one
 
 of my boxes at my house to remember the name of an add-on i
 installed.

 The problem is that i create a ssh session (ssh -XC
 ssh.psychotik.info), login and run iceweasel at the bash
 prompt, which takes forever, but then finally *opens a
 local iceweasel!!!*
   
I suppose that iceweasel -P uniqueprofilename would do what you want?
   
Also, it's *much* faster use vnc (tunnel through ssh): on the remote
host, start: vnc4server on your localhost, start (and login to) ssh
-L 5900:server:5901 server
   
and then on the localhost (different window) vncviewer localhost:5900
   
The 5901 portnumer is assuming the vncserver opens a X11 screen on
:1. When I start epiphany diretly over X11, it takes about 30 min to
show a page; when I do it using VNC as above, it takes seconds.
 
  I run iceweasel over ssh all the time, however, I don't have it
   installed locally so there's no local version to run.  It may take a
  few seconds to give the initial window, but then it displays as fast as
  the box can swap.  The network is 100 MB/s ethernet, the box I'm sitting
  at is a P-II with 64 MB ram, the box I'm sshing into to run iceweasel is
  an AMD Athlon64 with 1 GB ram.  It doesn't even take 30 minutes to show
  a page when I ssh from my 486 with 32 MB ram so something is wrong
  there.
 
   Why would VNC be faster if both are encrypted?
 
  No, over a 100Mb/s ethernet, running iceweasel over VNC probably
  wouldn't be much faster than directly over ssh (and running over an
  ssh-tunneled VNC connection would of course be slower than straigt
  VNC).
 
  But the OP complained iceweasel was very slow. So I suppose he didn't
  run it over a direct 100Mb/s connection, but over something slower,
  probably with larger ping times, ping times of 10-30 ms are enough to
  make it slow, and with slow, I mean that it can take over 20 min for
  iceweasel to even start showing the home page.
  I notice that when that happens, starting iceweasel on the remote site
  on a VNC X server an watching the output via a VNC viewer is a lot
  faster. And a lot here means just a couple of seconds to show the home
  page, instead of 20 min.
  As the OP reported using ssh, I assumed he didn't want to connect
  unencrypted (somethign VNC as far as I know does), so I suggested
  using an ssh tunnel.

 Hi, the issue here isn't the speed, and besides, i prefer to have it
 directly connected to my Xserver, rather than runnign in VNC.

 The point here isn't eh startup time though, it's that it starts a local
 iceweasel!

 In trying to build FF from source on my new 64 bit machine i
 accidentally wound up with a ff3 beta, but running that now also opens
 iceweasel.

 Somehow the binary has managed to associate EVERYTHING with itself.

 The real thing that does my head in is when i launch FF on another box..
 it still creates a local iceweasel? this should happen AFAIK.. my
 starting a command on that box via should not be able to cause commands
 to be run on my local?

 Does this constitute a security issue? i'll see if i can get a PoC
 during the week, even if one couldn't get arbitrary code, one could
 still point the new iceweasel on the host machine to a site witha FF
 exploit.

 Now that i think of it.. it would be simple enough to create a free
 shellserver with busybox aliased to a malicious FireFox call in the
 system bashrc.. that'd probably do it.

 I'll look into it.

I noticed the same slowness, tunneling via ssh via very fast connections.  
However, if you use the 

iceweasel -no-remote

it seems to really help.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Absolutely cannot write to USB drive

2008-01-08 Thread John Schmidt
On Tuesday 08 January 2008, Dotan Cohen wrote:
 I have a 2GB Sandisk Cruzer USB drive that I removed the U3 garbage
 from. I formatted the disk as FAT in a friend's WindowsXP machine.
 Now, any Windows machine can read and write to the disk, and my Fedora
 desktop can read and write to it as a regular user. However, my Ubuntu
 Feisty 7.04 laptop can only write as root.

 I have this is my fstab (yes, it is the correct device):
 /dev/sdb1 /media/usb auto rw,users,noauto 0 0

 However, HAL does not auto mount so I must manually mount it:
 [EMAIL PROTECTED]:~$ mount -o rw /dev/sdb1 /media/usb/
 mount: only root can do that
 [EMAIL PROTECTED]:~$ sudo mount -o rw /dev/sdb1 /media/usb/
 [EMAIL PROTECTED]:~$ sudo chown feisty /media/usb/
 chown: changing ownership of `/media/usb/': Operation not permitted

 As you can see, despite the users option in fstab, only root can
 mount. And even then, I cannot change the user. What is to be done?
 Ideally, HAL would automount this device such that users could write
 to it.


What are your groups that you belong to?  You might have to add yourself to 
the plugdev group.  

Here are my groups and I can do the usb drive thing:

dialout cdrom floppy audio video plugdev fuse powerdev

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: tapes best for backup?

2008-01-04 Thread John Schmidt
On Friday 04 January 2008, Douglas A. Tutty wrote:
 On Fri, Jan 04, 2008 at 09:12:19AM -0800, David Brodbeck wrote:
  On Jan 4, 2008, at 7:38 AM, Larry Irwin wrote:
 
  I would not buy a used tape drive.  They're finicky mechanical devices
  and you really want a warranty.  Every time I've bought a used tape
  drive thinking I was getting a good deal it's died within a month.

 Which puts DLTs out of reach for the home user.  Which means that either
 I archive to less reliable media (CD/DVD, hard disk) or keep everything
 online and only do backups with no archives.

 Glossary:
 backup: copy everything from the main computer and leave all data on the
   main computer.

 archive: copy data important for long-term use (e.g. financial records,
 family pictures or videos) and possibly remove them from the main
 computer.

 Doug.

Doug,

Have you considered an online storage site such as rsync.net?  Given that you 
are connecting to the internet via dial-up, this option may not be viable.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



build dependency removal

2008-01-01 Thread John Schmidt
Hi,

I am implementing a script that installs packages for Etch in a chroot.  
However, there are a couple of packages in Sid that I need.  I download the 
source and the build dependencies via:

apt-get -y build-dep $i
apt-get -y source --compile $i

I would like to remove the build dependencies from the install process 
automatically.  Other than doing a dpkg --get-selections prior to the build 
and after the build and removing the differences, is there a way to use dpkg 
to show what the build dependicies are and removing them via dpkg -P ?

I am aware of pbuilder, but since I am installing in a chroot, I wasn't sure 
how pbuilder would work in a chroot.

Thanks,

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PII fast enough for firewall

2007-12-22 Thread John Schmidt
On Sunday 02 December 2007, John Schmidt wrote:
 Hi,

 I have a 15K Mbs connection (up/down) to my house (fiber to the home).

 I have a Buffalo router that connects to my WAN and then one of the LAN
 ports on this router connects to my IPCOP firewall that is running on a PII
 -- 400 MHz box with 64 MB of RAM.

 When I do a speed test from my box behind my IPCOP firewall, I get about
 10K Mbs up/down.

 If I move the connection to one of the Buffalo router LAN connections, I
 get the advertised 15K Mbs up/down speed.

 So routing traffic thru the IPCOP firewall slows things down quite a bit. 
 Is this to be expected?  I was thinking of changing the firewall to a
 debian box running shorewall, and was wondering if I could tweak the
 firewall/router to not slow things down appreciably like the ipcop box is
 doing.

 Thanks,

 John Schmidt

To follow up on my issues with network speeds coming out of my firewall, I am 
a bit embarrassed to admit that I had an old ISA 10 Mbps card connecting to 
my LAN which was the culprit.  

During the process of figuring things out, I removed my IPCOP configuration 
and installed Etch + shorewall + faster NIC on the same box and am now seeing 
roughly 15 Mbps connections like I am supposed to from my firewalled 
connections. 

I had to learn a bit about shorewall configuration and ensuring that my 2 NICS 
were consistently labeled via udev (which fortunately happens automatically). 
I am much more comfortable with my debian setup than messing around with 
ipcop's web browser configuration.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



changing hwclock's timezone

2007-12-13 Thread John Schmidt
Hi,

I have a friend whose time is being reported incorrectly with the date command 
and the hwclock command.  Both commands are reporting the commands in UTC 
instead of the eastern timezone.  He just installed ntp on his box.

His /etc/timezone is 

America/New_York


The output of the date and hwclock commands:

sh-3.1# date
Wed Dec 12 21:52:41 UTC 2007
sh-3.1# date -u
Wed Dec 12 21:52:46 UTC 2007
sh-3.1# hwclock
Wed 12 Dec 2007 04:22:58 PM UTC  -0.780500 seconds


On my debian boxes, the hwclock reports the time using my timezone.  I am 
guessing that the problem was the use of UTC instead of EST.  I tried to have 
him adjust the hwclock, but couldn't get the right syntax.

So the questions are:

1.  Would manually setting the time via the date command to something close to 
the correct time fix things so that ntp would eventually sync things up, 
since the time difference is too big for ntp to work?

2.  Do I have to set the time via the hwclock?  If so, how do I do that?

I didn't have him check the bios to see what the time is reporting there.

Thanks,

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PII fast enough for firewall

2007-12-03 Thread John Schmidt
On Sunday 02 December 2007, Andrei Popescu wrote:
 On Sun, Dec 02, 2007 at 09:22:44PM -0700, John Schmidt wrote:
  Hi,
 
  I have a 15K Mbs connection (up/down) to my house (fiber to the home).

 ---^^^
 I've never seen this. Do you mean 15 Gbps or what?

 Regards,
 Andrei

Oops, big typo, should have read 15 Mbps connection.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



PII fast enough for firewall

2007-12-02 Thread John Schmidt
Hi,

I have a 15K Mbs connection (up/down) to my house (fiber to the home).

I have a Buffalo router that connects to my WAN and then one of the LAN ports 
on this router connects to my IPCOP firewall that is running on a PII -- 400 
MHz box with 64 MB of RAM.

When I do a speed test from my box behind my IPCOP firewall, I get about 10K 
Mbs up/down.  

If I move the connection to one of the Buffalo router LAN connections, I get 
the advertised 15K Mbs up/down speed.

So routing traffic thru the IPCOP firewall slows things down quite a bit.  Is 
this to be expected?  I was thinking of changing the firewall to a debian box 
running shorewall, and was wondering if I could tweak the firewall/router to 
not slow things down appreciably like the ipcop box is doing.

Thanks,

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: No sound with video

2007-11-15 Thread John Schmidt
On Thursday 15 November 2007, Ralph Katz wrote:
 On 11/15/2007 11:50 AM, Tom Ashley wrote:
  I'm stumped and need help with configuring my computer for sound with
  video.  I can play CD's and listen to audio streams but get no sound
  with video feeds (CNN, MSNBC, You Tube, etc.).  I've searched the list
  archives and Google for the past 3 days finding similar problems but
  none of the solutions help in my situation.
 
  I'm running Debian Etch on a P4 with 2GB RAM; sound card is C-Media
  Electronics Inc CM8738 (rev 10).
 
 
  The permissions are okay; my user name is in the audio group.
 
  If I understand correctly, ALSA is correctly configured and activated.
  Per cat /proc/modules:
 
 
  I'd appreciate if anyone can offer a solution or point me in the right
  direction.
 
  Thanks in advance.

 Hi Tom -- Yes, it's frustrating.  Search for my posts here in 2007 for
 my struggles and solutions with sound on etch.

 You have sound, you say.  But not with video.

 Which players work/don't work?  Sound with flash running thru a browser
 is different from sound from an mpeg4 file playing on mplayer.

 If you use mplayer, what's in .mplayer/config?

 This list is the right place.  Just provide some more detail, and the
 experts will jump in after we mere mortals swing and miss. :-P

 Good luck,
 Ralph

Hi,

If you are using xine as your engine, and trying to play mp3s, then you need 
to make sure you have the following installed:

libxine1-ffmpeg

Once you install that, then go into your home directory and remove the .xine/.  

I was having problems listening to mp3 streams and doing the above resolved my 
problems.  I note that using the mplayer engine in kmplayer worked fine 
however, if switching to the xine engine for kmplayer or amarok, mp3s 
wouldn't play without the addition of libxine1-ffmpeg library.

The above assumes you are using the xine engine for your sound.  If you are 
using other engines, this fix shouldn't resolve your problem.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kppp

2007-11-11 Thread John Schmidt
On Sunday 11 November 2007, Darko wrote:
 Charlie wrote:
  On Sun, 11 Nov 2007, Darko shared this with us all:
  --} Andrew Sackville-West wrote:
  --}  On Sat, Nov 10, 2007 at 06:43:28PM +0100, Darko wrote:
  In a terminal as root do:
 
  adduser whoever you are dialout
 
  Consider using pon maybe?
 
  You might like to install pon and pppconfig to make it work and add
  yourself to the dip group. As above, but put in dip instead of dialout.
 
  HTH
  Charlie

 Thanks Charli but kppp still not working does some one have an idea?

 Darko

Did you log out and then log back in?  When adding yourself to a new group, it 
is easiest to just log out and log back in so the change will take effect.  
There are other ways to do it, but that is the easiest.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



kppp groups

2007-11-11 Thread John Schmidt
If you are trying to use the kppp program, you need to be part of the dip 
group:

-rwsr-xr-- 1 root dip 1211176 2007-10-15 07:16 /usr/bin/kppp

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: rsync question

2007-11-09 Thread John Schmidt
On Friday 09 November 2007, John O Laoi wrote:
  Also, I get confused sometimes on the effects of a trailing slash on
  source and target arguments.  Check for a ~/Documents/Documents/
  directory or something.

 You are all correct.
 There is a  ~/Documents/Documents/.

 I must be using it incorrectly - I'll be more careful in future.
 John

Here is what I do with rsync:

rsync -aPn directory  machineB:~/directory


The 'n' option just does a dry run.  After you are convinced things are 
working then remove the 'n' option.

If you put a trailing slash on the first directory, i.e.

rsync -aPn directory/ machineB:~/directory

you will get a new directory created on machineB, i.e.

~/directory/directory

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Driver loaded, now, how do I access the camera? (WAS: Re: Intel Deluxe PC Camera )

2007-11-06 Thread John Schmidt
On Tuesday 06 November 2007, Marc Shapiro wrote:


 So my drivers seem to be loaded.  Now, how do I access the camera, so
 that I can capture an image to be processed?  I am currently thinking of
 using opencv through either C/C++ or Python.  How would I access the
 camera to generate an image (probably jpeg) that I could then save to
 disk or, preferably, pipe to opencv?

 --
 Marc Shapiro
 [EMAIL PROTECTED]

I played around with camstream which is a debian package and it might work for 
your needs.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ssh port not opening

2007-11-05 Thread John Schmidt
On Monday 05 November 2007, John O Laoi wrote:
 On 11/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
  ssh-agent is *not* the program that allows ssh connections. That is
  sshd. It should be started with /etc/ini.d/ssh start as root. Is there
  no output when you do that? Anything in the logs?
 
   However, I cannot ssh into my host.
   The contents of  /etc/default/ssh is
 
  that's because sshd is not running and needs to be.

 But the file /etc/init.d/sshd  does not exist.
 The only such file in  /etc/init.d  is   ssh.


 How do I check the logs?

 John

Do this:  dpkg --get-selections | grep ssh and send the results.  I am 
wondering if you have the openssh-server installed.  You can get everything 
by just doing aptitude install ssh.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ssh port not opening

2007-11-05 Thread John Schmidt
On Monday 05 November 2007, John O Laoi wrote:

 #  dpkg --get-selections | grep ssh
 openssh-client  install
 openssh-server  deinstall
 #

 Thanks to everyone for your help.

 Maybe I should remove ssh and reinstall?


aptitude install openssh-server

This should solve your problems.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Intel Deluxe PC Camera

2007-11-04 Thread John Schmidt
On Sunday 04 November 2007, Marc Shapiro wrote:


 Well, I tried to follow the above instructions, but...

 I didn't have the kernel headers for my 2.6.16 kernel and they do not
 seem to be available in the Etch repository.  I took this as a sign that
 it was time to upgrade my kernel and upgraded to 2.6.22-3-k7 from
 backports.  Then I reran module-assistant.

 This time, m-a found and downloaded the kernel headers.  I then selected
 the module to compile.  The gspca-source was not listed, so I used the
 spca5xx-source.  When I tried to build the sources, however, the build
 failed.  The logfile contained nothing but the date and time, so I have
 no specific errors to report.  It may be that the problem is using
 spca5xx-source instead of gspca-source, but that was not listed as an
 option.  If I download it manually, might m-a find it and allow me to
 use it.

 Any ideas on what I should try next?

 --
 Marc Shapiro
 [EMAIL PROTECTED]

Marc,

You have a couple of options, one is to upgrade your etch to the current 
2.6.18-5 kernel and then build the spca module.  I built the spca module from 
source with 2.6.18 kernel.

The spca5 source doesn't build with the newer kernels 2.6.22.  You need to use 
the gspca-source.

I am running testing/unstable, and gspca-source is available in 
testing/unstable repositories.  If you grab the 2.6.22 from backports, they 
might also have that source package.  Otherwise you could just grab it from a 
debian repository or use apt-pinning to pin a lower priority for 
lenny/testing and and then grab the gspca source.

I am using the gspca module for my web cam, so do know that the module builds 
with 2.6.22.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Intel Deluxe PC Camera

2007-11-03 Thread John Schmidt
On Sunday 04 November 2007, Marc Shapiro wrote:


 It looks like the driver module that I need is spca501.  There is a
 source package for Etch:

 spca5xx-source

 What is the best way to compile this?  I generally just use stock
 kernels and the modules that come with them so I am unfamiliar with
 compiling modules separately for a kernel that I already have.  Once I
 do have the module compiled, will udev/hotplug load the driver at
 boot-up, or should I add it to /etc/modules?

 --
 Marc Shapiro
 [EMAIL PROTECTED]

Marc,

I use module-assitant and modconf  (apt-get install module-assistant modconf) 
to manage modules that I have to compile.

Do this:

sudo m-a

It will put up a dialogue box, and then you need to first prepare the build by 
downloading the kernel headers.  Then choose select and check the 
spca5xx-source, and it should download it for you.  Then build it and install 
it.  These are all menu selectable items in module assitant.

Then I use modconf to select the modules so load.  

With those two toosl, dealing with modules is really quite straightforward and 
painless.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



chroot testing of apache installation with multiple fqdn

2007-11-02 Thread John Schmidt
Hi,

I am testing out the installation of some software that involves specifying 
hostname information for the install.  I have set up a minimal chroot 
environment and downloaded all of the debian packages and the other software 
that is needed to build it.  

I am using this on my laptop that is brought back and forth from home to work.  
While at work, I have a static routable address assigned to me via dhcp.  At 
home, the laptop sits on my private lan with a 192.168.1.*. statically 
assigned.   

One of the pieces of software I install is apache and a routeable 
address/hostname is required as part of the install procedure for apache and 
some of the other software.

If I do the install testing from home with my 192.168.1.* address in my chroot 
environment, things work fine.  However, if I am at work testing the install 
done at home, then the apache web server won't be able to start.  Likewise, 
installs done at work and then tested at home have issues when starting 
apache.

Is there a way to set up my chroot environment (or perhaps it is an apache 
issue) that allows me the freedom to move the machine from one network to 
another and just always go to the localhost instead of the actual machine 
name/routeable address while still allow apache to start up regardless of 
where the initial apache installation was done?

Thanks for any insight into this matter.

John Schmidt

 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Speeding up boot time

2007-03-21 Thread John Schmidt
On Wednesday 21 March 2007 18:39, Michael Pobega wrote:
 I'm looking to speed up my Debian Etch boot speed, but I have no idea
 where to start.

 Currently I have everything default, but I'd like to remove a few
 things (Like networking, because networking tries to connect to my
 Ethernet and my wireless drivers are loaded separately).

 Are there any easy tools to look through my startup programs, or will
 I have to sort through everything manually?

 And if I remove networking, how do I go about using modprobe to start
 up my Ethernet in case I ever want to use it/need it at another time
 (i.e. When there is a new Debian kernel release I have to reinstall my
 wireless before I can do anything)?

You should take a look at installing ifplugd (apt-cache show ifplugd) 
ifupdown, and guessnet.  This should allow you to boot normally without 
having the network timeout if you do not have a cable plugged in for your 
ethernet connection.

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Speeding up boot time

2007-03-21 Thread John Schmidt
On Wednesday 21 March 2007 19:45, Michael Pobega wrote:
 On Wed, Mar 21, 2007 at 07:32:26PM -0600, John Schmidt wrote:
  On Wednesday 21 March 2007 18:39, Michael Pobega wrote:
   I'm looking to speed up my Debian Etch boot speed, but I have no idea
   where to start.
  
   Currently I have everything default, but I'd like to remove a few
   things (Like networking, because networking tries to connect to my
   Ethernet and my wireless drivers are loaded separately).
  
   Are there any easy tools to look through my startup programs, or will
   I have to sort through everything manually?
  
   And if I remove networking, how do I go about using modprobe to start
   up my Ethernet in case I ever want to use it/need it at another time
   (i.e. When there is a new Debian kernel release I have to reinstall my
   wireless before I can do anything)?
 
  You should take a look at installing ifplugd (apt-cache show ifplugd)
  ifupdown, and guessnet.  This should allow you to boot normally without
  having the network timeout if you do not have a cable plugged in for your
  ethernet connection.
 
  John Schmidt

 Do you recommend any of those, or would I be safe with just ifplugd
 and ifupdown in case that fails?

I think ifplugd and ifupdown would be sufficient for your needs.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Speeding up boot time

2007-03-21 Thread John Schmidt
On Wednesday 21 March 2007 20:19, Michael Pobega wrote:
 On Wed, Mar 21, 2007 at 09:05:55PM -0500, Ron Johnson wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On 03/21/07 20:44, Michael Pobega wrote:
   On Wed, Mar 21, 2007 at 08:12:37PM -0500, Ron Johnson wrote:
   On 03/21/07 19:39, Michael Pobega wrote:
   Are there any easy tools to look through my startup programs, or will
   I have to sort through everything manually?
  
   It's not as much as you think.
  
   And if I remove networking, how do I go about using modprobe to start
   up my Ethernet in case I ever want to use it/need it at another time
   (i.e. When there is a new Debian kernel release I have to reinstall
   my wireless before I can do anything)?
  
   Run ls -1 /etc/init.d and post it here.  That will tell us what
   you can deinstall.
 
  My first pass at things you *might* be able to remove are:
  apache2
  avahi-daemon
  bittorrent
  clamav-freshclam
  hyperestraier
  mysql*
  nfs-common

 And to remove these I just remove them from /etc/init.d?

If you don't use them, then I would do this:

sudo aptitude purge apache2 avahi-daemon bittorrent clamav-freshclam 
hyperestraier mysql* nfs-common


  BTW, where's your MTA?  I don't see exim4 or postfix.

 I just use Google's SMTP server, I have no need to have my own
 outgoing server.

 What are the advantages to running an MTA? What are the disadvantages?

advantages:
running a local mta for reporting issues with your system, i.e. 
logcheck, 
rkhunter and having the results mailed to you.  It can be configured to just 
do local delivery and with exim4 and the debconf questions that are asked, it 
is very easy to configure for local delivery.

disadvantages:
one more thing to worry about, but with a local delivery configuration 
I 
can't see any disadvantages.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Speeding up boot time

2007-03-21 Thread John Schmidt
On Wednesday 21 March 2007 20:24, Michael Pobega wrote:
 Also, I forgot to ask. Would it be safe to remove networking from
 /etc/init.d, and just switch to using ifupdown?

I would just install ifplugd and configure it and see if it doesn't help 
alievate the time delay that occurs if you don't have a network cable plugged 
in.  I wouldn't remove networking from /etc/init.d unless ifplugd does NOT 
solve your problem.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



internal lan configuration and web address issues

2007-03-16 Thread John Schmidt
Hi,

I have a home DSL connection with a static IP assigned.  The DSL modem is fed 
into one a ipcop firewall with port forwarding for port 25 and 80 directed to 
my webserver/mailserver in my DMZ zone.  Machines in the green zone of my LAN 
cannot access my registered domain name, i.e. www.domain.org instead it 
returns the web interface to my DSL modem.  Specifying the 192.168.1.100 gets 
me to my webserver.  Outside of my LAN, accessing my registered hostname 
returns me to my webserver and not my DSL modem.

I have registered my domain with no-ip.com using their basic host registration 
services.   With this service, my host type is DNS Host (A) and is specified 
on no-ip.com 's management web front end.  With this set up, I assumed that I 
don't have to do DNS on my end, since they are taking care of it.  Is this an 
incorrect assumption on my part?  

My DNS Text Record is set as follows:

v = spf1 a mx ptr

I am not doing DNS on my machines.

I tried editing my /etc/hosts file to specify the 192.168.1.100 for the 
registered hostname, but it instead returns the registered IP address when I 
ping my hostname or use lynx to access it from an internal LAN machine.

Outside of my LAN, I can access the webserver just fine using the registered 
hostname.

Is there a way to configure things so that machines on my LAN can access the 
web server using the registered name.  Would this require that I do DNS on my 
machines?

Thanks,

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: internal lan configuration and web address issues

2007-03-16 Thread John Schmidt
On Friday 16 March 2007 14:18, John Schmidt wrote:
 Hi,

 I have a home DSL connection with a static IP assigned.  The DSL modem is
 fed into one a ipcop firewall with port forwarding for port 25 and 80
 directed to my webserver/mailserver in my DMZ zone.  Machines in the green
 zone of my LAN cannot access my registered domain name, i.e. www.domain.org
 instead it returns the web interface to my DSL modem.  Specifying the
 192.168.1.100 gets me to my webserver.  Outside of my LAN, accessing my
 registered hostname returns me to my webserver and not my DSL modem.


 I tried editing my /etc/hosts file to specify the 192.168.1.100 for the
 registered hostname, but it instead returns the registered IP address when
 I ping my hostname or use lynx to access it from an internal LAN machine.

I had mistyped my registered hostname in the /etc/hosts file.  The correct 
entry allows my internal lan machines to access the webserver.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is that all there is to it??

2007-03-13 Thread John Schmidt
On Tuesday 13 March 2007 14:19, Jim Hyslop wrote:
 OK, so I installed Sarge on my machine. The other day, I decided to
 upgrade to Etch. I modified the sources file, changing stable to
 etch, and ran `apt-get --ignore-hold dist-upgrade`. After sorting out
 one minor issue with inetd, apg-get reports everything's OK, and the
 /etc/debian_version file reports '4.0'.

 U... is that it?!? Is it really that simple to upgrade?

 --

Yep, pretty impressive!

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sparse matrix computation package

2007-03-07 Thread John Schmidt
On Wednesday 07 March 2007 02:53, Chris Bannister wrote:
 On Mon, Mar 05, 2007 at 05:59:18PM -0500, Kamaraju S Kusumanchi wrote:
  Micha Feigin wrote:
   I am trying to find a package for performing sparse matrix
   computations. All I could find under debian is superlu and libufsparse.
   Both of which seem to only solve sparse linear systems but not perform
   sparse matrix-vector computations (I need to implement so iterative and
   multigrid methods for block tridiagonal matrices, so banded matrices as
   appear in lapack too many extra zero lines).
 
  What a coincidence. I am also looking for similar thing - iterative
  solver

 Ask on the debian-science list.

 --

Look at petsc and hypre both available in debian.  In our project we have used 
both to solve big sparse systems of equations on over 1000 processors.

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: backup/restore

2007-02-15 Thread John Schmidt
On Thursday 15 February 2007 14:28, Casey T. Deccio wrote:
 I'm looking for a solution to temporarily backup then restore a Debian
 install--preserving the filesystem contents and attributes.  The caveat
 is that the capacity of the drive I'll be restoring to is smaller (all
 other hardare is unchanged).  I wasn't sure if there was a way to do
 this with dd because of the smaller drive on the restore.  Initially, I
 used 'rsync -avH --delete --no-numeric-ids src server:dst' to send
 everything to another server and back.  The number of files (including
 links, etc.) seemed to check out, but disk usage (using 'du -cs /') was
 different before and after (block size on the filesystem was the same as
 before).  Plus I was not sure if extended attributes were transfered
 with the files.

You might want to consider mondo or partimage for this task.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fonts problem on Debian Etch

2007-02-01 Thread John Schmidt
On Wednesday 31 January 2007 18:00, David Shultz wrote:
 I've installed debian etch(daily built). And i gotta say
 it's impressive. Now i have a problem. The problem is
 related to the display of fonts on screen. Fonts that
 are displayed on screen are partly blurry and partly ok.
 Even the cursor is like that. Is it possible to fix this?

 Thanks.

 --David

David,

Please check to see if you have the package fontconfig-config installed.

If so, then do this as root:

dpkg-reconfigure fontconfig-config

I have a laptop, so my settings may be different, but playing around with 
fontconfig-config dramatically improved my fonts under kde.

First screen shows:

Native
Autohinter
None

I selected Autohinter

Next screen shows enable subpixel screen rendering:

Automatic
Always
Never

I selected:

Automatic

Next screen shows enable bitmapped fonts by default:

Yes
No

I selected:

No

I then logged out, and restarted the xserver just to be sure, and my fonts 
were significantly improved.  

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ldap + pam howto?

2007-01-30 Thread John Schmidt
On Tuesday 30 January 2007 10:04, Rakotomandimby Mihamina wrote:
 Hi,
 I am using Testing, and I want to setup the debian way an LDAP + pam
 authentication system for system users.
 Would you know a recent howto talking about that?
 I dont need generic howto, I am interested in the debian specific way.

 Thanks a lot!


See the following web page:

http://people.debian.org/~torsten/ldapnss.html

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how manage pasword with ldap

2007-01-19 Thread John Schmidt
On Friday 19 January 2007 01:54, abdelkader belahcene wrote:
 Hi,
 I am looking for a simple example or doc, for authentification via ldap.

 I have a lab with 20 machines where the students can use anyone at
 anytime, so I want to centralise the authentification ( login and
 password). something like perhaps NIS ??
 thanks for replay

 bela


Take a look at this:

http://people.debian.org/~torsten/ldapnss.html

I then used the package cpu to manage adding users and groups to my ldap 
server.  I am sure there are better tools such as luma, etc.  However, cpu 
(debian package) was all I needed for my simple set up (much like what you 
are looking to do but with fewer machines).

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



recommended network/server layout for website, email, and backup hosting

2007-01-11 Thread John Schmidt
Hi,

I would like to host several low traffic web sites at my home with some older 
computers (400 Mhz P2) that I have laying around.  I would like to get some 
recommendations on effective ways of setting up my set of computers that 
would provide a web server, and email server and back up servers.

A big reason for doing this is to learn about more what all is involved and 
don't mind digging into details but would like to ensure that I reasonably 
aware of what I am getting into and potential pitfalls and security issues.

I have a static IP with an IPCOP firewall (with 3 NICs), and a internal LAN 
with several machines running debian behind the firewall.  Nothing is hanging 
off my DMZ right now.  I block everything coming into my firewall except ssh 
traffic.  

These web sites would be publically accessible with low traffic volumes.  In 
addition, I forsee  email hosting for each of the domains.  I would not have 
that many email accounts (not more than 10-20).  I figured that exim with the 
ability to do multiple hosting would suffice.  I would probably set up a 
couple of mailing lists as well using something like mailman.  I would like to 
set up my email server with imap, and pop cabilities for both the publically 
accessible domains and my own personal email access.  I would like to have a 
couple of machines set up in my LAN that would be able to provide two 
levelsof backups for my configurations, both internal LAN backups and DMZ 
level backups (web server and email server).

Initially, I was thinking that I would put two machines in my DMZ zone, one 
acting as a web server and one acting as an email server.  My two backup 
machines would be in my LAN along with my fileserver and another development 
machine.

Regarding server security (email and web server), I have the following 
questions?

1.  Because the machines are slow, would it be better to have the two machines 
do some sort of load balancing or would it be better to have a separation of 
responsibilities?

2.  Would it be better (security wise) to have my email server located in my 
LAN and not in my DMZ zone and just tunnel port 25 traffic through?  

3.  I know nothing about DNS, and figured that I would let someone like 
no-ip.com provide this service for me.  Or would it be fairly straightforward 
to do my own DNS hosting and combine two of my machines for doing primary and 
secondary DNS with other responsibilities, i.e. email/DNS on one machine, 
DNS/web server on another?  Is it possible to have my DNS machines inside my 
LAN, or is it necessary to have both primary and secondary DNS machines in my 
DMZ for better security.  

4.  For imap and pop stuff can the imap server be inside my LAN and access be 
tunneled through as needed.

5.  Should any server, i.e. mail, imap,pop, web be located in the DMZ zone so 
if they are hacked, my internal LAN machines are safer?

6.  Are there some suggested or best practices for having my machines in the 
DMZ access my back up servers?

Thanks,

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bash script question

2006-12-07 Thread John Schmidt
On Thursday 07 December 2006 11:16, Nate Bargmann wrote:
 Since there is a lot of knowledge on this list, I thought I'd aske
 here.

 This may be trivial, but I'm not even sure how to search for what I
 want to do.

 I have a directory of files that are created daily using
 filename-`date +%Y%m%d`.tar.gz so I have a directory with files whose
 names advance from filename-20061201.tar.gz to filename-20061202.tar.gz
 to filename-20061203.tar.gz and so on.  Based on the date in the
 filename, I would like to delete any than are X days older than today's
 date.  So, I'm not interested in the actual created/modified date, just
 the numeric string in the name.

This will require some debugging on your part, but hopefully this will be 
pretty straightforward

old_date=20061201
for file_name in *tar.gz; 
do
file_to_remove_date=echo $file_name | tr -d [:alpha:] | tr -d 
[=-=];
if test $file_to_remove_date -le $old_date; 
then
echo rm $file_name;
fi
done


There are certainly better ways to do this.  You can do a man tr to see what 
the above is doing.  

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: inserting mouse module in bootup

2006-11-27 Thread John Schmidt
On Monday 27 November 2006 08:03, Sam Rosenfeld wrote:
 I would like to insert a mouse module somewhere in the kernel boot up.  I
 am currently typing modprobe mousedev to enable the mouse and therefore
 X, too.  Is there a config file for this?

 Thanks.

 Sam

Install the program modconf (aptitude install modconf).  The start it up as 
root and goto the menu item /kernel/drivers/input and select mousedev.  Exit 
out of program and the appropriate files should be updated with the mousedev 
module.  You then should be able to access your mouse without having to do 
the modprobe thing.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Replacing Gnome with KDE

2006-11-27 Thread John Schmidt
On Monday 27 November 2006 17:55, Arlie Stephens wrote:
 I made the mistake of selecting 'workstation' when installing etch. It
 managed to do the X installation correctly, without needing to be
 rescued manually, which is way better than I've seen from earlier
 debians. That's the good news. The _bad_ news is that it installed
 gnome, and apparantly only gnome.

 I used aptitude to select any packages that looked like they might be
 part of kde, and remove any packages that looked like they might be
 part of the guts of gnome.  The result is a mess. I appear to be
 running kdm (according to ps), but the result has the look and feel of
 nothing much. If it's kde, it's sure changed - a lot.

 I'm not sure whether the problem is that I'm missing a few pieces of
 kde, still have gnome bits running that shouldn't be, or simply that
 the various package installation scripts emphatically failed to do the
 right thing. At this point, the system is only usable if I bypass X
 entirely - there's no way to get a shell window inside X. There's also
 no control center, or any of the other things that ought to be on the
 icon/menu bar that normally loves at the bottom of the screen.

 Any suggestions for how to fix this mess? At the moment, the best
 thing I can think of would be to reinstall, with tasksel/kde-desktop.
 I'd prefer something a little less drastic.

 --
 Arlie

 (Arlie Stephens [EMAIL PROTECTED])

The easiest thing to do is to get a listing of the packages installed:

dpkg --get-selections 

Then you can search for gnome packages, i.e

dpkg --get-selections | grep gnome

Once you get a listing of the packages, then you can start removing them, i.e.

aptitude purge gnome_package_name

For instance, it looks like you probably have gnome-core installed, so doing 
this would remove quite a bit of gnome:

aptitude purge gnome-core

Keep doing dpkg --get-selections | grep gnome and the aptitude purge to remove 
packages.  Also, you may want to make sure you get rid of gdm if you can, 
i.e. 

aptitude purge gdm


Then you can install kde, i.e.

aptitude install kde kdm (just to be sure)

It should drag in a bunch of packages.  If it doesn't then you can drag in 
the meta packages for the different areas, like kdenetwork, kdebase, 
kdeutils, etc.

aptitutude install kdebase kdenetwork kdeutils


You can use the command apt-cache show kde to get a listing of what packages 
are connected to the package kde.

Note this is all command line stuff.  I am sure you can do the same thing with 
the aptitude front-end, I just don't use aptitude that way so I can't offer 
any advice.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IBM eServer x series 206 RH-to-Debian migration

2006-11-09 Thread John Schmidt
On Thursday 09 November 2006 12:34, Lee Whalen wrote:
Greetings all, long-time Debian user, first-time poster here.  So,
 I've got a predicament.  I need to get Debian Etch on a box that is
 already an in-production HeadRat Enterprise server (RHEL 3.0 Typhoon 6),
 running a few production apps (Apache with a handful of VHosts, postfix,
 a ticketing system we use called GForge and it's attendant Postgres
 database, and a few NFS mounts).  The company I work for no longer wants
 to pay the HeadRat extortion fee just to be able to download package
 updates and whatnot, so I am tasked with migrating all of our HeadRat
 servers over to Debian.

snip

For those of you who managed to read this far (go YOU!) does that
 sound feasible, or am I doing far, far too much work?

 Many thanks for your assistance!
 --Lee

Lee,

You might want to take a look at:

http://twiki.iwethey.org/Main/DebianChrootInstall 

for doing a chroot install.  I have never done this, but it might be a useful 
method for getting Debian installed with minimal interruption to your current 
system.

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: routing only certain traffic through vpn?

2006-10-19 Thread John Schmidt
On Thursday 19 October 2006 12:31, Matt Price wrote:
 On 10/19/06, Jacob S [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 19 Oct 2006 11:03:20 -0400
 
  Matt Price [EMAIL PROTECTED] wrote:
   hi,
  
   i'm wondering whether it's possible to route only certain internet
   traffic through a vpn, or to exclude certain ip addresses/ranges from
   the vpn.
  
   my situation is as follows:  I work mostly from home and rely on the
   university's vpn to be able to access online journals.  ths works
   fine., but when I'm connected to the vpn I can't send mail from my
   home email account (postfix doesn't work properly).  I'm wondering
   whether I could contact my smtp host from outside of the vpn somehow.
  
   has anyone tried this and/or any suggestions?
 
  This sounds like you don't have your routing setup properly. I use a
  vpn regularly for work and only traffic going to their range of ip
  addresses goes through the vpn.
 
  What does route -n show on your computer? And how do you connect to
  the internet?

 to answer both of your questions:

 The vpn server runs openvpn, which I also use on my computer as a
 client.  this vpn sends all internet traffic through itself; I imagine
 but don't know for sure that this is done with the redirect-gateway
 directive as described in the openvpn howto:
 http://openvpn.net/howto.html#redirect

 when I'm connected, route -n shows:

 n$ route -n
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface 128.100.56.140  192.168.2.1 255.255.255.255 UGH   0  0   
 0 eth1 142.150.248.1   142.150.248.165 255.255.255.255 UGH   0  0  
  0 tun0 142.150.248.165 0.0.0.0 255.255.255.255 UH0  0 
   0 tun0 192.168.70.00.0.0.0 255.255.255.0   U 0  0
0 vmnet1 192.168.2.0 0.0.0.0 255.255.255.0   U 0  0 
   0 eth1 172.16.137.00.0.0.0 255.255.255.0   U 0  0
0 vmnet8 0.0.0.0 142.150.248.165 0.0.0.0 UG0
  00 tun0

 (vmware server is up, I guess that's what the vmnet1 is about)

 this is all uninterpretable to me so help welcome...

 thanks,

 matt


With the vpnc client which is probably not what your are using, you can 
specify target networks in the config file located in /etc/vpnc/example.conf.

Perhaps the openvpn client would have something similar where you can route 
only a certain range of traffic through that tunnel.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to PIN a package?

2006-10-16 Thread John Schmidt
On Monday 16 October 2006 00:26, Mirto Silvio Busico wrote:
 Hi all,
 I didn't get any answer.

 Is it a really stupid question? (or I missed the replay?)

 Please help me: I need to PIN a package, but the documentation doesn't
 help.

 Regards
 Mirto

 Mirto Silvio Busico wrote:
  Hi all,
  I had to downgrade openoffice to version 2.0.3.
  Now I need to avoid that this package will b e upgraded again.
 
  Following the manuals I put in apt files (in /etc/apt):
 
  apt.conf:
  -
 --- APT::Authentication::TrustCDROM true;
  AcquireProxy false;
  APT::Default-Release testing;
 
  -
 ---
 
  preferences:
  -
 ---
 
  Package: openoffice.org*
  Pin: version 2.0.3*
  Pin-Priority: 10001
 
 
  -
 ---
 
  But apt-get update; apt-get -s dist-upgrade tell me that apt still want
  to upgrade openoffice to the 2.0.4~rc3-1 version.
 
  What I'm doing wrong, or what is missing?
 
  Mirto

 --

 __

Try doing this as root:

aptitude hold openoffice.org

Then try and do an aptitude upgrade to see if the above took effect (it 
should).

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: LDAP howto?

2006-10-04 Thread John Schmidt
On Tuesday 03 October 2006 17:28, Ishwar Rattan wrote:
 Pointers to good LDAP-howto for server coniguration
 details.

 -ishwar

This is where I started:

http://people.debian.org/~torsten/ldapnss.html

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: automounting usb-storage 2

2006-10-04 Thread John Schmidt
On Wednesday 04 October 2006 13:37, Bernd Kloss wrote:
 Hello,
  I read the thread contributed by Florian e.al..
 I have the same/similar problem (etch/KDE3.5.4)
 Plugging in USB-device the automounter pops up with tree options:
 open in new window
 play with kaffeine
 do nothing

 Choosing new window I get an empty window /system/media/sda1 and the
 konqueror-Message:

 A security policy in place prevents this sender from sending this message
 to this recipient, see message bus configuration file
 (rejected message had interface org.freedesktop.Hal.Device.Volume
 member mount error name (unset) destination org.freedesktop.Hal)

 dpkg -l udev\* hal\* dbus\* pmount ==


 +++---=
=== ii  dbus
 0.92-2   simple interprocess messaging system un  dbus-1   
none  (no description) ii  dbus-1-utils   
  0.92-2   simple interprocess messaging system
 (utilities) un  dbus-qt-1none  (no
 description) un  dbus-qt-1c2  none  (no
 description) ii  hal  0.5.7.1-2Hardware
 Abstraction Layer un  hal-device-manager   none  (no
 description) ii  pmount   0.9.13-1+b1  mount
 removable devices as normal user ii  udev 0.100-1  
/dev/ and hotplug management daemon

 What can I do to let every user read its USB-stick?
 Thank You!



Make sure you have your users in the plugdev and powerdev groups.  In 
addition, I had to edit the file /etc/dbus-1/system.d/hal.conf.  My version 
is attached.

John



  

  
  

  
  

  

  
  





  

  
  




  

  
  




  

  
  


  
  


  





Re: wired or not wired, that's the question

2006-10-04 Thread John Schmidt
On Wednesday 04 October 2006 16:16, wimpunk wrote:
 Hi,

 I'm running debian testing on my laptop and I have a question about
 choosing a configuration.
 I use my laptop on wired and wireless environments.  At this moment I
 switch manually but I want to get it done automaticly: if there's a
 wire plugged in (with signal) try to use it and if no signal, try to
 get wireless up.  Has anyone a suggestion on how to do it?

 Tnx,

 wimpunk.

Use a combination of ifplugd and guessnet.

ifplugd will check to see if you are ethernet cable is plugged in or wlan is 
up.  

guessnet when appropriately configured via /etc/network/interfaces will choose 
which network to associate with.

Be sure to read /usr/share/doc/{guessnet,ifplugd}/README.gz

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: fonts messed up

2006-08-23 Thread John Schmidt
On Wednesday 23 August 2006 07:41, Lorenzo Bettini wrote:
 Hi

 after a recent upgrade (unstable) all my fonts are almost complitely
 messed up.

 I cannot use KDE since almost everything text is missing, and also gnome
 is barely usable (most text disappear from menus and terminal in
 general)...

 any clue please?



Go into the Control Center, select Appearance  Themes, select Fonts. Then 
turn off and then on the Anti-aliasing button.  Log out and log back in.  See 
if that doesn't fix things.  

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Pumping Gas in Oregon (WAS: Re: Osama Bin Laden Take Over List!)

2006-08-22 Thread John Schmidt
On Tuesday 22 August 2006 17:35, Paul Johnson wrote:
 On Tuesday 22 August 2006 12:25, Joey Hess wrote:
  Paul Johnson wrote:
   On Tuesday 22 August 2006 07:30, Marcelo Chiapparini wrote:
Hi!
   
It could be possible to use this list for what was created: Debian
related questions *only*?
  
   Sorry, this list was made for Debian users.  Go read lists.debian.org
   again.
 
  You seem to have missed the word Support in the mailing list
  description[1]. It's hard to support people when I'm busy downloading the
  incessant nonsense about Oregon that you manage to turn any thread you
  touch into.

 debian-user: Help and discussion among users of Debian

 I'm not seeing support there.  Perhaps you're speaking a different
 version of English than the rest of us learned.

See this link:

http://lists.debian.org/debian-user/

debian-user mailing list

Help and discussion among users of Debian

Support for Debian users who speak English. (High-volume mailing list.) 

This list is not moderated; posting is allowed by anyone.

Posting address: debian-user@lists.debian.org


Read the line that says, Support for Debian users who speak English.

How about getting a clue!

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



dma errors

2006-07-19 Thread John Schmidt
Hi,

I have two IDE drives connected together using lvm.  The drives are quite new, 
the motherboard is quite old.  I put a single ext3 partition on top of lvm 
which is used for temporary large data sets.  I get the following error 
messages from dmesg:

EXT3 FS on dm-0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
hde: dma_timer_expiry: dma status == 0x20
hde: DMA timeout retry
PDC202XX: Primary channel reset.
PDC202XX: Secondary channel reset.
hde: timeout waiting for DMA
hde: dma_timer_expiry: dma status == 0x21
hde: DMA timeout error
hde: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hde: dma_timer_expiry: dma status == 0x21
hde: DMA timeout error
hde: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hde: dma_timer_expiry: dma status == 0x21
hde: DMA timeout error
hde: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown

What would be the source of these errors and how should I go about fixing 
them?

Thanks,

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Turning on direct rendering with an ATI card

2006-05-10 Thread John Schmidt
Hi,

I am trying to turn on direct rendering using the Xorg (from unstable, along 
with the linux-image-2.6.16-1-k7 from unstable) ATI driver with no success.  
The machine is at a remote location which makes the problem a bit tougher to 
debug.

I have turned on direct rendering on several machines (my laptop with ATI card 
is one), so I have some experience, and things usually just work with little 
futzing around.  

The user has reported that glxinfo indicates that direct rendering is not 
turned on.  lsmod shows that  drm and agpgart modules are loaded along with 
the associated nvidia_agp module.  Doing a grep on drm from dmesg shows that 
the R300 drm microcode is loaded.

The Xorg.log indicates that the ati driver is used and that direct rendering 
is activated.  The /dev/dri/card0 is probed and found.  Every indication from 
the Xorg.log suggests that direct rendering is available, but glxinfo and 
glxgears -printfps suggest otherwise.

I have the libdrm2 installed as well as the relevant xorg software, 
xlibmesa-dri, and libgl1-mesa-dri.

I am a bit at a loss what is missing and where to look, since normally, things 
just work.  I have restarted X and rebooted the machine just to be sure that 
kernel modules are loaded.

Thanks,

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Turning on direct rendering with an ATI card

2006-05-10 Thread John Schmidt
On Wednesday 10 May 2006 09:39, John Schmidt wrote:
 Hi,

 I am trying to turn on direct rendering using the Xorg (from unstable,
 along with the linux-image-2.6.16-1-k7 from unstable) ATI driver with no
 success. The machine is at a remote location which makes the problem a bit
 tougher to debug.

 I have turned on direct rendering on several machines (my laptop with ATI
 card is one), so I have some experience, and things usually just work with
 little futzing around.

 The user has reported that glxinfo indicates that direct rendering is not
 turned on.  lsmod shows that  drm and agpgart modules are loaded along with
 the associated nvidia_agp module.  Doing a grep on drm from dmesg shows
 that the R300 drm microcode is loaded.

 The Xorg.log indicates that the ati driver is used and that direct
 rendering is activated.  The /dev/dri/card0 is probed and found.  Every
 indication from the Xorg.log suggests that direct rendering is available,
 but glxinfo and glxgears -printfps suggest otherwise.

 I have the libdrm2 installed as well as the relevant xorg software,
 xlibmesa-dri, and libgl1-mesa-dri.

 I am a bit at a loss what is missing and where to look, since normally,
 things just work.  I have restarted X and rebooted the machine just to be
 sure that kernel modules are loaded.

 Thanks,

 John Schmidt

To follow up on the fix . . .

I had installed the fglrx-kernel-driver stuff and the GL diversions were the 
problem.  Removing the fglrx-kernel-driver allowed direct rendering to work 
with the native Xorg ati driver.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: load order of network interfaces

2006-04-12 Thread John Schmidt
On Wednesday 12 April 2006 12:14, Ivan Longhi wrote:
 hello,
 I have 2 alpha machines identical.
 they have 2 net interfaces on board (Digital DS21143 Tulip loaded by
 module tulip0 and tulip1) and 1 net interface on a pci slot (RealTek
 RTL8139 loaded by module 8139too).
 The strange thing is that on a machine eth0 is on tulip0, eth1 is on
 tulip1 and 8139too is on eth2, on the other machine 8139too is on eth0,
 eth1 and eth2 are on tulip.
 I would like that the two machines map eth on the same way.

 I tried to add a file called my-aliases in /etc/modeprobe.d with this
 content:
 alias eth0 tulip0
 alias eth1 tulip1
 alias eth2 8139too

 but on the second machine it seems to be ignored and the interfaces load
 in another order.

 does anyone know the right debian way to map interfaces in a certain order?

 bye,
 Ivan

 
 http://www.retecivica.milano.it/


You can do using ifrename, or if using udev, see:

http://reactivated.net/writing_udev_rules.html#example-iface

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network interface sanity

2006-04-02 Thread John Schmidt
On Sunday 02 April 2006 19:32, Andreas Ehn wrote:
 Hi,

 I have a laptop with one wired ethernet interface (eth0) and one
 wireless interface (eth1). I'm using ifupdown.

 When the computer is not connected to a wired network, while starting
 up, it is associated with my wireless network and requests and receives
 an IP address with DHCP.

 That, however, doesn't satisfy the machine. It proceeds by requesting an
 address for the wired network as well, despite there being no attached
 network cable, which holds up the boot process until the DHCP client
 times out and gives up.

 What I would like to happen in this situation is that the machine would
 only try to get an address over the wired network interface if it is
 actually connected to a network. Otherwise it should try the wireless
 interface directly.

 Iff connected to a wired network, the system should only try to connect
 to a wireless network after having failed to acquire an IP address from
 the wired network.

 I would like all of this to happen automatically.

 Is it possible to configure /etc/interfaces like this? Reading
 interfaces(5) and the examples in /usr/share/doc/ifupdown didn't help
 me.

 Thanks,
 Andreas


I use a combination of guessnet, ifplugd, and resolvconf to work with 3 
different networks - two wired and one wireless.

ifplugd detects whether or not I have a wired connection.
guessnet determines which wired network I am connected to based on pinging 
some known machines with certain MAC addresses.
resolvconf deals with the changing dns information.

My work network uses dhcp (wired), my home network uses static ip (wired), and 
I also have wireless at work.

You end up modifying the /etc/network/interfaces to getting everything to 
work.

Here is a sample bit from my network interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# turn off since ifplugd is controlling things
#auto eth0

mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 3
map verbose: true

iface work inet dhcp
test peer address *.*.*.* #:#:#:#:#:#
pre-up hostname my_machine_name

iface home inet static
address *.*.*.*
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers *.*.*.*
test peer address *.*.*.* #:#:#:#:#:#
pre-up hostname machine_name

iface wlan0 inet dhcp
pre-up modprobe ndiswrapper
#pre-up modprobe acx-pci
pre-up /usr/sbin/xsupplicant /dev/null
pre-up iwconfig wlan0 key open *
pre-up iwconfig wlan0 essid host.com
post-down rmmod ndiswrapper
#   post-down rmmod acx-pci
post-down /etc/init.d/xsupplicant stop



John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.16 hangs at boot

2006-03-29 Thread John Schmidt
On Wednesday 29 March 2006 16:25, Hugo Vanwoerkom wrote:
 Hi,

 Maybe someone has a suggestion here.

 Problem:
 In Sarge I normally run the -ck kernel patches from Con Kolivas.
 He just came out with 2.6.16-ck1 and -ck2.
 When I boot that system the boot stops solid in the grep stmnt in
 /etc/hotplug/usb.rc line 200:

 if [ ”$SYNTHESIZE” = false ]

It appears like this is a bug in the script, and it should be 

if [$SYNTHESIZE == false]  (note the == instead of the =)

John




Re: udev blacklisting?

2006-03-15 Thread John Schmidt
On Wednesday 15 March 2006 17:34, Tim Bates wrote:
 I have a DVB card that stupidly uses the same PCI ID as the bttv cards.
 Loading the bttv module causes a hard lock. I need to prevent this
 module being auto loaded by udev. In the past when hotplug was used, I
 simply added bttv to the /etc/hotplug/blacklist file. udev seems to
 ignore this file and loads the module anyway.

 Anyone know where I need to modify things to blacklist it? I've seen
 somewhere that said to list it in the blacklist file, which doesn't do
 anything. Another place said to add MODULES={!modulename} to udev's
 rc.conf, but there doesn't seem to be a file by that name, so I'm not
 sure where I'd add that. MODULES is also not mentioned in the manual, so
 I have my doubts about that one.

 Tim Bates

Take a look at putting the module name in /etc/modprobe.d/blacklist,
as in

blacklist bttv

or something like that.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Release cycle

2006-03-10 Thread John Schmidt
On Friday 10 March 2006 21:23, David Berg wrote:
 I don't know if there's a good way to ask this question, and am very
 tempted to just hit cancel now...

 I'm curious to know when etch might freeze.  Now, before you all jump
 on me and tell me its ready when its ready, let me clarify.  I'm not
 looking for a date, or a month, or even a year necessarily as I
 realize they would all be guesses.  Perhaps I could get the best
 answer by making this my question:

 Has anyone heard/read anything that MIGHT indicate that etch MIGHT go
 stable faster than the 2-3 years that it took for Sarge, and Woody to
 go stable?

 Please note, that I'm looking for information.  I am quite aware that
 etch will be ready when it's ready and that its a volunteer
 organization and things take time.  All I want to know is if there is
 any reason to think that etch might be different than previous
 releases.

 If you still feel the need to flame me, fire away.  I'll simply read
 then file in /dev/null.


 --Dave

Plan was to release Etch sometime in the December 2006 time frame.  Freeze 
would certainly occur before that time.  I don't know how long the freeze 
will be, perhaps several months if not more.  

This is the timeframe that I heard based on following the debian-boot 
(installer work) and other various mailing lists.  

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ready to use debian or ubuntu laptop reccomendations?

2006-03-05 Thread John Schmidt
On Sunday 05 March 2006 00:47, Paul Johnson wrote:
 On Saturday 04 March 2006 22:29, Star King of the Grape Trees wrote:
  steef wrote:
   Michael M. wrote:
   Paul Johnson wrote:
   On Thursday 02 March 2006 01:20, Star King of the Grape Trees wrote:
   I am very certain that Dell does sell servers that optionally have
   Linux, and even says this on their website.
 
  SNIP
  NOTE: Servers != Desktop.  I have not seen _any_ reference to a dell
  _desktop_ computer comming preinstalled with linux, but i have seen
  references on dell for *SERVERS* with linux.

 Either way, they still do not offer it, despite indications on their
 website to the contrary.
 --
 Paul Johnson
 Email and IM (XMPP  Google Talk): [EMAIL PROTECTED]
 Jabber: Because it's time to move forward  http://ursine.ca/Ursine:Jabber


We have purchased desktop machines from Dell with RH linux installed on them.  
This is for an academic institution which may be a factor.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.15 boot problems

2006-02-24 Thread John Schmidt
On Friday 24 February 2006 08:25, Bradley Alexander wrote:
 On Thu, 2006-02-23 at 22:29 -0700, John Schmidt wrote:
  Yes, as I understand it reiserfs has some attribute issues with 2.6.15. 
  I heard that it will be fixed in 2.6.16.  Someone has posted a work
  around but it may be hard to do with reiserfs on /.

 Is this specific to AMD? I have been running 2.6.15 on my 2GHz Pentium-M
 equipped HP laptop for almost a month with no problems.

 --b

I don't know if it is architecture specific or not.

I have seen this on an xeon box with reiserfs on /.  

System worked fine with a 2.6.8 kernel.

Installed the linux-image-2.6.15-1-686-smp and rebooted.  System hung trying 
to start syslogd.  After some time, system continued to boot but no 
syslogging.  I got weird error messages having to do with uid/gid when doing 
things with sudo.  

At about the same time, I saw a message on debian-user (I believe) having to 
do with attribute errors with reiserfs and 2.6.15.  A work around was 
proposed and subsequent follow-ups suggested that errors still persisted.  I 
didn't pursue the solution, since the machine is located 1000 miles from me 
and the machine would still work fine with 2.6.8.  I also heard that a fix 
was in the 2.6.16.  I decided the easiest course of action was to wait until 
2.6.16 and try again.

 John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Error rebooting after upgrade from 2.6.12-i36 to 2.6.15-i686

2006-02-24 Thread John Schmidt
On Friday 24 February 2006 04:37, Arnau Rebassa Villalonga wrote:
 Hi all,

I've installed a new Dell poweredge 850 server with SCSCI disks
 formated as ext3 from a netinstall, it run smoothly and installed the
 2.6.12-i386 kernel image. After the aptitude dist-upgrade, I upgraded
 the linux-image to the 2.6.15-686 and also to 2.6.15-686-smp (having
 with both the same result) and when I reboot the machine it displays the
 following errors:

Alert! /dev/sda1 does not exist. Dropping to a shell!

/bin/sh: can't access tty; job control turned off

 and a busybox shell appears. Anybody knows how to fix this?

 Regards
 --
 Arnau


Try this:

1.  Have the latest udev in unstable
2.  Have the latest grub in unstable (assume you are using grub).
3.  Boot into 2.6.12 kernel and then do this:
dpkg-reconfigure linux-image-2.6.15-686

4.  Try and boot into linux-image.2.6.15

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



cleaning up audio recording

2006-02-24 Thread John Schmidt
Hi,

I have managed to transfer some tape recordings to my computer.  The 
recordings are from a seminar speaker.  There is a great deal of noise on the 
recordings both from the audio equipment and from general background noise.  
Are there any good packages out there that would allow me to clean up the 
signal?  

I used the KRec tool in KDE to transfer the audio.  I was looking at the 
artsbuilder routines and it appears like you can do some signal processing 
with this tool.

I am not looking to make it perfect by any means, just clean up the sound, 
take out the hiss, and try to preserve the voice as much as possible.

Thanks for any pointers.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.15 boot problems

2006-02-23 Thread John Schmidt
On Thursday 23 February 2006 21:41, Bradley Alexander wrote:
 I have a 1.2 GHz Athlon, which I am trying to upgrade from 2.6.15 from
 2.6.14. I compiled both kernels by hand, using the Debian way (make-kpkg).

 With 2.6.14, it boots, however with 2.6.15, I get the initial portion of
 the boot messages, it boots Reiserfs read-only on / (/dev/hda2), frees
 console memory, then gives me the following message:

  unable to open an initial console

 After that, it displays a message about the real time clock driver and a
 couple of messages about serial 8250 being loaded. About 30 seconds later,
 I get a boot prompt...However, no additional filesystems (including /proc
 and /sys) get mounted, / remains mounted read-only, and no apps start
 (presumably because of the filesystem). I am using lvm2 on all filesystems
 except /.

 A little more on the kernel compile. I am using the deb for both. I did an
 apt-get install for 2.6.15, untarred the source, copied .config from 2.6.14
 and did a make oldconfig. Gave a cursory look at the config, then did a
 make-kpkg [ clean  modules_clean  kernel_image  modules_image ].

 I have shfs, nvidia-kernel, loop-aes and loop-aes-ciphers as modules, as
 with 2.6.14.

 Has anyone seen this before?

 Regards,

Yes, as I understand it reiserfs has some attribute issues with 2.6.15.  I 
heard that it will be fixed in 2.6.16.  Someone has posted a work around but 
it may be hard to do with reiserfs on /.  

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lost X server after dist-upgrade

2006-02-20 Thread John Schmidt
On Monday 20 February 2006 12:36, jerry wrote:

 to KDE but I can't.

 I suspect the problem is that root and myself don't have valid
 .Xauthority files but I can't figure out how to repair it.

 I would appreciate any advice on how to get back to using KDM for login
 and getting X server access for myself and root (to run synaptic and
 konqueror).

 I can post any other info as needed.

 Jerry

Easiest solution might be to move your .kde/ to something like .kde.works/.  
Then try and log in.  If that works try and recreate your envirornment from 
your old .kde/.  What are the permissions on your .Xauthority file.  They 
should be u+rw (chmod format).

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Testing, could not start kdeinit. check your installation since yesterdays updates

2006-02-19 Thread John Schmidt
On Sunday 19 February 2006 05:15, Magnus Pedersen wrote:
 I am seeing this on two machines.

 It dosn't matter if I use kdm or startx, I get that error in a small
 window just before the kde-splasscreen. And my syslog is filled with
 dbuserrors like this:

 Feb 19 12:29:35 localhost hcid[6842]: Can't send D-BUS inquiry start
 message

 Whats up anyone?

 /Magnus
 Sorry for my poor english, it is not my first language.

The easiest fix is to install libfreetype6  from unstable which contains the 
missing symbol that is holding up the start of kdeinit.  You will see the 
error message in .xsession-errors at the top of the file.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: udev problem

2006-02-17 Thread John Schmidt
On Thursday 16 February 2006 23:37, Deephay wrote:
 Hi all,

   I have a problem with udev here: every time when I
 was booting the computer, the udev always show some lines
 like this on the console:
 udevd_even: run program /.../.../ failed (these lines
 goes a little bit fast and I cannot remember the exact
 format but it is more or less like this)
 but when I didn't find anything like this in the syslog,
 and seems it doesn't affect anything, so I only want to
 eliminate this, how can I do that? thx!

 Deephay

There are a couple of options:

1.  install yaird and purge initramfs-tools and then do a:
dpkg-reconfigure linux-image-2.6.X

2.  Update to the latest udev (unstable) and do an update-intramfs -u -t 
(don't do option 1) and reboot.

John
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: custom network intefaces during boot for Debian

2006-02-16 Thread John Schmidt
On Thursday 16 February 2006 08:42, John Davis wrote:
 Hello

 Here is a script modification for /etc/init.d/networking in Debian so
 that your list of network interfaces can be reconfigured during boot.
 Why would you like to have a script like this?  Well, in my case,
 I have a laptop with a lan based eth0 and a wifi based eth1.  If
 I am not connected to a lan during boot, I have to wait for the
 network interface on eth0 to time out with its dhcp request.
 With this script, it displays the current network config and gives
 me a chance to modify it.


Have you looked at ifplugd which would help you with the network timeouts for 
eth0 and guessnet which would help with configurations of network connections 
based where you are located?

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lilo fails with sorry, don't know how to handle device 0xfe00 (LVM2)

2006-02-08 Thread John Schmidt
On Wednesday 08 February 2006 12:57, Chris Carr wrote:
 Thanks Clive - but I've heard that grub is really bad with LVM2. In fact,
 the latest Debian Etch installer still explicitly removes the option to
 install grub when it detects that / is on an LVM2 volume.

It is not / that is the problem but /boot that causes issues with grub.

I have this installed with sarge (or etch forget which):

/dev/mapper/vg-lv 76436544  31771444  40782300  44% /
tmpfs95908 0 95908   0% /dev/shm
/dev/hda190297 11519 73961  14% /boot

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: slow starting MTA

2005-11-23 Thread John Schmidt
On Wednesday 23 November 2005 01:12 am, roberto wrote:
 hello
 i have kernel 2.6.8-2-386 currently installed and when i boot not
 being connected to the network the booting process stops for at least
 3 or 4 minutes showing:
 .
 Starting MTA:
 .

 and then it goes on correctly, but it is very tedious to wait so much,
 how can i skip this test if the pc is not connected?

 thank you
 --
 roberto
 GNU/Linux, debian sarge
 kernel 2.6.8-2-386

Install ifplugd, i.e. aptitude install ifplugd.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Ready to join the club..

2005-10-21 Thread John Schmidt
On Friday 21 October 2005 08:58 pm, Greg wrote:
 Actually, I did a Google.  I ran tasksel as root and loaded the files
 for the dektop.  I answered several questions during the process.
 However, I still can't load the desktop.  I get the following error
 message

 (EE) ef860penSerial I cannot open device /dev/input/mouse
 (EE) ConfiguredMouse: Cannot open input device
 (EE) PreInit failed for input device Configured Mouse

 Although I'm a noob, I can surmise that I've got a problem with my
 mouse.  How to fix?  The mouse is a serial mouse with 6 male pins in
 the connector and 6 female receptors in the back of the PC.  The mouse
 is a MS 2 button + scroll wheel.

 Any help you can provide would be great.

 Thank you,

 Greg

Greg,

Run this command as root:

apt-get install mdetect

This will install a program that will help detect and setup your mouse in X 
windows.

Then run this command as root:

dpkg-reconfigure xserver-xfree86

This will then try reconfiguring the desktop and should do the mouse detection 
step again.

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to use old CPUs (Not Debian Specific)

2005-10-16 Thread John Schmidt
On Saturday 15 October 2005 08:50 pm, Marc Shapiro wrote:
 Duncan Anderson wrote:
  I agree with Rob. Obviously 200 dollars is a neglibible sum if you live
  in the first world, but spare a thought for people in places where a
  P1 with a 1GB hd is something amazing, even with Win98 on it.
  (Preferably something like Debian 2.1, though.)

 I do live in the first world but I just maxed out a credit card while
 moving cross-country, I am unemployed, I have a 4 year old daughter and
 my wife's salary as a librarian does NOT cover the bills.  Virtually ANY
 outlay is too much at this time.

 --
 Marc Shapiro
 [EMAIL PROTECTED]

I have a 486 66 MHz box (with 3 NIC) with ipcop installed for my firewall.  I 
have a PII 200 MHz acting as my fileserver, print server for a 400 MHz PII 
Windows XP box, a 10 year old mac clone,  and a laptop.  I bought 6 400 MHz 
PII for $20 a piece a year ago, and converted one to an XP box, the others 
are for playing around with linux. 

I get a kick out of seeing these old machines work in some productive way.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Securing SSH: Does disabling password authentication work?

2005-10-04 Thread John Schmidt
On Monday 03 October 2005 02:39 pm, Steve Block wrote:
 On Mon, Oct 03, 2005 at 01:24:27PM -0700, Alvin Oga wrote:
 On Mon, 3 Oct 2005, Steve Block wrote:
  I'm afraid you didn't read at all, did you? Start from the top of the
  thread and read again, and you'll see that my question had nothing to do
 
 u sure do have an whacky attitude for being the one that is cracked
 
 the answer still is no...  you are not any more secure
 for the sme identical reasons posted previously that you didnt
 read/understand to use your own words :-)

 Who said anyone was cracked? I'm trying to take a proactive security
 approach here.

 Let me clarify. In a default debian/sarge install there are three
 available SSH authentication options:

 1) password
 2) keyboard-interactive with pam (would allow auth against LDAP or any
 other authentication method possible with pam)
 3) public/private keys

 According to what I can see from my logs, these automated attempts are
 trying to use the first method to log in. The second method is what the
 standard OpenSSH client uses by default when no keys are being used, and
 the log report for a failed login of this type is different than for the
 automated attempts. I prefer to use the third method myself, but like I
 said I am unwilling to only allow that method.

 I edited my ssh config file to disable the first method, leaving only 2)
 and 3) available. With the second method a user can still log in with
 their system password (default pam configuration) but the authentication
 is handled by pam and not the ssh server itself (I think). My users
 obviously haven't noticed, and I still normally use keys. I just want to
 know if it has made it impossible for the automated dictionary attacks
 to log in (the current generation, anyways).

 Sorry if I sounded snippy, it's just hard to find any solid info on
 this.

 --
 Steve Block
 http://ev-15.com/
 http://steveblock.com/
 [EMAIL PROTECTED]

Steve,

You may want to take a look at the debian package harden-doc.  They have a 
section about securing ssh as well as a wealth of information about securing 
your system.  This is no means exhaustive, but it will help.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Want to move from root LVM/LILO to LVM/Grub

2005-09-30 Thread John Schmidt
On Friday 30 September 2005 05:03 pm, Jason Martens wrote:
 Hey all,
I kind of got myself into a pickle.  I just installed Debian Sarge on
 a new server, and I used the expert mode for installation.  That all
 went fine, and I created one large partition for LVM, and created a root
 partition in a volume group, so right now my root partition is at
 /dev/mapper/vg00-root.  However, I didn't see an option to install grub
 as the default boot loader in expert mode during the installation, so I
 went ahead and installed lilo.  This worked fine, and I was able to boot
 the system without a problem. However, now I want to install grub again,
 because I like it more. But when I run grub-install /dev/sda, I get the
 following error message:

 hostname:~# grub-install --recheck /dev/sda
 Probing devices to guess BIOS drives. This may take a long time.
 /dev/mapper/vg00-root does not have any corresponding BIOS drive.

 and it refuses to install.  How can I fix this?

 Thanks,

 Jason Martens

I believe your /boot partition needs to be on a non LVM partition.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound card (Intel AC'97) not detected by udev

2005-09-27 Thread John Schmidt
On Tuesday 27 September 2005 05:17 am, Luís Neves wrote:
 Hi!

 I just reinstalled Sarge on my laptop (HP Pavilion zt3000) using the
 Sarge CD after more than a year running Sarge updated from woody and I
 got some problems that didn't exist before.

 My audio card module is detected and installed but it is not assigned to
 any device. cat /proc/asound/cards says no soundcards

 In fact it was showing the Modem but I placed snd_intel8x0m in the
 blacklist of hotplug to see if it would solve the problem.

 As i never used udev before I'm a bit lost with it. Can anyone tell me
 what I must do to make it understand snd_intel8x0 is a soundcard?

 Best regards,

 Luís Neves

Are you by any chance using sl-modem-daemon?  If so, remove that package and 
things should be then identified correctly.  From lspci, I have:

:00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 
Audio Controller (rev 02)
:00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 
02)

When I had sl-modem-deamon installed it was causing my modem to be assigned to 
my sound output.  My sound card was identified but was not usable.  I could 
hear sound when my modem was hijacked, but this wasn't right.  When I removed 
the sl-modem-daemon, things then were correctly assigned.  I haven't had a 
need to use my modem, so don't know what the status is without the 
sl-modem-daemon.

John



Re: Newbie Hostname Change

2005-09-23 Thread John Schmidt
On Friday 23 September 2005 09:50 am, Sean Whitton wrote:
 Hi,

 My friend installed Debian on his computer and I'm supposed to be admining
 it as a server. THings are going well (except I keep mistyping shutdown and
 killing the server), but there is one problem: the hostname.

 He typed Ask4 instead of ask4, which is a problem.

 I assume I can change this with the hostname command, but I want to be sure
 there arn't any additional steps beyond this.

 Thanks, Sean






 --xyrael.net--

Run as root, base-config and it will give you the option of changing the 
hostname.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backing up installed packages.

2005-09-22 Thread John Schmidt
On Thursday 22 September 2005 12:57 pm, R. Clayton wrote:
 I keep a list of installed packages around so I can easily populate a new
 disk (or repopulate a mashed-up disk) by doing something along the lines of

   $ apt-get install $(cat installed-packages-list)

 I use a daily cron job along the lines of

   ls /var/cache/apt/archives | sed 's/\([^_]*\)_.*/\1/' | sort | uniq

 to maintain an installed-packages list that looks like this:

   $ cat installed-packages-list
   aalib1
   base-files
   bash
   bittorrent
   bzip2
   cdrecord
   [ and so on ]

 I would be interested in hearing opinions and suggestions about a general
 approach to backing-up and reconstituting package archives, as well as
 opinions and suggestions about the particular approach I've outlined above.

You should also back up /etc since this often contains any modifications you 
may have made during the installation process.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



downgrading g++-4.0 using snapshot.debian.org

2005-09-20 Thread John Schmidt
Hi,

I have a sid chroot that I am trying to figure out which version of g++-4.0 
stopped compiling a big c++ code that I work on.  I have manually downloaded 
a couple of different versions of g++-4.0 and related packages from 
snapshot.debian.org, but it seems rather painful to just use dpkg -i *.deb.  

Is there a way to automate this process with aptitude putting in various deb 
lines in /etc/apt/sources.list?

I know that aptitude has the ability to download/install particular versions 
of the package by specifying a version after the package name.  

I haven't quite figured out how to use the power of snapshot.debian.org and 
the package manager to make short work of downgrading various packages.   Any 
pointers would be greatly appreciated.

Thanks,

John Schmidt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is ASUS A8V Deluxe OK for Linux?

2005-09-16 Thread John Schmidt
On Friday 16 September 2005 02:50 pm, Dirk wrote:
 Hi!
 I'm planning to buy a ASUS mainboard with the following chipset:

 Chipset   VIA K8T800Pro and VIA VT8237


 It's the A8V-Deluxe

 Does anyone know if this MB has problems with Linux (or the other way?)

 Before I had the P5RD1-Deluxe (Intel CPU) but it was too hot (noisy)
 because I needed 550Watts to make it stable. It had the same Soundchip
 like A8V-Deluxe (Realtek ALC861) which didn't work because of the ALi
 controller. Is this different here? Does the Intel HDA audio driver work
 with A8V-Deluxe? Are VIA chipsets in general OK for Linux or do they
 suck for some reason?

 Does anyone OWN this MB already?

 I WANT an Athlon64 3200+! Maybe there is a better MB available?

 ANY comment is highly appreciated!

 Thanks a lot,
 Dirk


Check out:

http://arstechnica.com/guides/buyer/system-guide-200508.ars/2

Details systems built around AMD 64 bit chips at various ranges: budget, hot 
rod, and extreme.  All decisions were based on how well they worked with 
linux and windows.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Too many levels of symbolic links in linux-headers-2.6.12-1-amd64, k7,...?

2005-09-03 Thread John Schmidt
On Saturday 03 September 2005 01:10 am, Gudjon I. Gudjonsson wrote:
 Hi
I have tried for some time to compile modules with module-assistant.
 Both alsa and nvidia fail with the comment: Too many levels of symbolic
 links. Similar description to the following message.
 http://lists.debian.org/debian-user/2005/08/msg01965.html
 In the directory
 /usr/src/linux-headers-2.6.12-1-amd64-k8-smp/arch/x86_64
 I do ls -la and get
 lrwxrwxrwx   1 root root   52 2005-08-18 10:45 Makefile -
 ../../../linux-headers-2.6.12-1/arch/x86_64/Makefile
 but in the directory
 /usr/src/linux-headers-2.6.12-1/arch/x86_64
 I do ls -la and get
 lrwxrwxrwx   1 root root   52 2005-08-18 10:45 Makefile -
 ../../../linux-headers-2.6.12-1/arch/x86_64/Makefile
 which points to itself if I am not mistaken. Hope I am not spaming your
 mailing list.

 Sincerely
 Gudjon

As someone else pointed out, just purging the linux-headers-2.6.12-1 and 
reinstalling them should solve your problem.  I did this last night since I 
was having trouble compiling modules with module-assistant.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Starting wlan0 instead of eth0

2005-05-26 Thread John Schmidt
On Thursday 26 May 2005 01:39 am, Jason Edson wrote:
 I'm new to this part of my debian system. Instead of having eth0 load
 up when my system starts, I want to run a script that enables my
 wireless card(wlan0) that uses ndiswrapper to load. My script looks
 like this:

 #!/bin/bash
 echo Starting wireless networking.
 ifconfig eth0 down
 modprobe ndiswrapper
 sleep 1
 iwconfig wlan0 mode Managed
 iwconfig wlan0 essid cocksmoker
 iwconfig wlan0 key blahblahblahmynetkey
 dhcpcd -t 10 -d -G 192.168.1.1 wlan0
 echo Wireless networking started.hopefully!

 I don't know how to achive this so any pointers or links for some
 reading would be very appreciated. Thanks for your time.

Take a look at the man page for interfaces.

I think what you want to do is to make sure you have a line in 
the /etc/network/interfaces that looks something like this:

auto wlan0 

This should be near the top of the file.  In addition, you can then do 
something like this for your iwconfig stuff show above (this is also in the 
file /etc/network/interfaces) :

iface wlan0 inet dhcp
pre-up modprobe ndiswrapper
pre-up iwconfig wlan0 essid cocksmoker
pre-up iwconfig wlan0 key blahblahblahmynetkey
post-down rmmod ndiswrapper


John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian on an old PC

2005-01-06 Thread John Schmidt
On Thursday 06 January 2005 01:42 pm, Vegard Lundby Rekaa wrote:
  I would be surprised if that old machine could *boot a cdrom*. Have
 
  you tried *that*?
 
  ;-0

 It can't boot from cdrom, it has one (4X) but the system doesn't know of
 it untill an OS is loaded (i.e. win98se). I'm forced to install linux with
 floppy disks.

Try using this:

From Debian-boot mailing list:


Smart Boot Manager (http://btmgr.sourceforge.net/) can be started from
floppy and allows some older computers to boot from CD. That's how I
loaded my firewall/router machine with Sarge.

Might be worth a try.  --Don


John 



Re: Debian on an old PC

2005-01-06 Thread John Schmidt
On Thursday 06 January 2005 02:37 pm, David Jardine wrote:
 On Thu, Jan 06, 2005 at 09:42:58PM +0100, Vegard Lundby Rekaa wrote:
   I would be surprised if that old machine could *boot a cdrom*. Have
  
   you tried *that*?
  
   ;-0
 
  It can't boot from cdrom, it has one (4X) but the system doesn't know of
  it untill an OS is loaded (i.e. win98se). I'm forced to install linux
  with floppy disks.

 Can't you change the boot order in the BIOS setup to look for
 cdrom first?  Debian install CDs are bootable, surely?

 David

 --
 David Jardine

 Running Debian GNU/Linux and
 loving every minute of it. -Sacher M.

Old pcs often can't boot from a CD even if they have one.  You might be able 
to flash the BIOS to upgrade it, but that assumes there is an update out 
there (highly unlikely).

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



module-assistant no GUI on startup

2005-01-04 Thread John Schmidt
Hi,

I have just upgraded module-assistant to version 0.7 and the default GUI does 
not start when I do:

 sudo module-assistant

Does anyone else see this?  I looked at the changelog.gz in the documentation 
and didn't see anything that relevant to this. 

Thanks,

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: module-assistant no GUI on startup

2005-01-04 Thread John Schmidt
On Tuesday 04 January 2005 09:37 am, Hanspeter Kunz wrote:
 On Tue, 2005-01-04 at 09:30 -0700, John Schmidt wrote:
  Hi,
 
  I have just upgraded module-assistant to version 0.7 and the default GUI
  does not start when I do:
 
   sudo module-assistant
 
  Does anyone else see this?  I looked at the changelog.gz in the
  documentation and didn't see anything that relevant to this.

 yes, I noticed this too. Use

 module-assistant select

 cheers,
 Hp.

Thanks for the pointer.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian and Dell?

2004-12-15 Thread John Schmidt
On Wednesday 15 December 2004 08:30 pm, Ed Sutherland wrote:
 Hi All,

 I just purchased a Dell for my home office and am interested in using
 Debian on a partition. As my only Linux experience comes from a Mac, I
 have some questions:

 1) Will I be able to easily dual-boot Windows or Linux using yaboot, or
 will I need to go through some BIOS mumbo-jumbo?

 2) Does Debian support the Dell flatscreen monitors?

 3) Does the i86 side of Debian better support Web graphics and animation
 formats -- such as shockwave?

 Thanks for the answers.

 Ed

You might want to check out:  http://linux.dell.com/

They do have a section about Debian (under Distributions). 

Answers:
1.  Should be able to using either lilo or grub bootloaders (same concept as 
yaboot) to select which OS you want to boot.

2.  More than likely, but you should probably check the above website.

3.  Yes but that has more to do with outside parties that provide the non-free 
binaries such as shockwave.

Get the latest Sarge installer such as the netinst CD image for i386 found on:

 http://www.debian.org/devel/debian-installer/

After installation, submit an installer report even if you don't have any 
problems.  Take a look at the documentation on the debian-installer web page 
for help.  Specific installer problems can be directed to the debian-boot 
mailing list.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Simple Email Server?

2004-12-15 Thread John Schmidt
On Wednesday 15 December 2004 09:44 am, David Baron wrote:
 On Wednesday 15 December 2004 16:48,

 [EMAIL PROTECTED] wrote:
   What need I set to get exim4 to receive messages to my domain (dynamic)
   directly?
 
  Basically just 'apt-get install exim4'.
 
  Have a look at this article:
  http://www.trekweb.com/~jasonb/articles/exim4_courier/exim4.html
  (It's a bit of text but really very simple)

 I have exim4 working fine. I now get email through fetchmail from
 providers, use procmail to check with spamassassin and clamav, have system
 filter, etc., etc. Outgoing mail is handled by exim4 smarthosting to my
 provider (or directly to the provider from kmail).

 The article is quite good. A static domain is simple.

 I have a dynamic IP. This is what I need to configure.

You might want to look at a dynamic dns outfit such as no-ip.com, dyndns.org, 
etc.  You can sign up for a domain and use something like ddclient (in 
Debian) to send your new ip number to the dns company you are using.  You 
should be able to configure exim to use your domain name as registered even 
with a dynamic ip.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Error inserting ndiswrapper

2004-11-18 Thread John Schmidt
On Wednesday 17 November 2004 10:59 pm, nornagon wrote:
 I'm using the stock debian kernel 2.6.7-1-k7, to get that out of the way.

 I need to use ndiswrapper, since my card isn't yet supported by prism54.

 Okay, so I compiled ndiswrapper. Then, I modprobe it.

 Output:
 $ sudo modprobe ndiswrapper
 FATAL: Error inserting ndiswrapper
 (/lib/modules/2.6.9-1-k7/misc/ndiswrapper.ko): Unknown symbol in
 module, or unknown parameter (see dmesg)

 Relevant bits of dmesg:
 ndiswrapper: disagrees about version of symbol per_cpu__softnet_data
 ndiswrapper: Unknown symbol per_cpu__softnet_data
 ndiswrapper: disagrees about version of symbol unregister_netdev
 ndiswrapper: Unknown symbol unregister_netdev
 ndiswrapper: disagrees about version of symbol eth_type_trans
 ndiswrapper: Unknown symbol eth_type_trans
 ndiswrapper: disagrees about version of symbol skb_over_panic
 ndiswrapper: Unknown symbol skb_over_panic
 ndiswrapper: disagrees about version of symbol register_netdev
 ndiswrapper: Unknown symbol register_netdev
 ndiswrapper: disagrees about version of symbol alloc_skb
 ndiswrapper: Unknown symbol alloc_skb
 ndiswrapper: disagrees about version of symbol netif_rx
 ndiswrapper: Unknown symbol netif_rx
 ndiswrapper: disagrees about version of symbol __netdev_watchdog_up
 ndiswrapper: Unknown symbol __netdev_watchdog_up
 ndiswrapper: disagrees about version of symbol skb_copy_and_csum_dev
 ndiswrapper: Unknown symbol skb_copy_and_csum_dev
 ndiswrapper: disagrees about version of symbol alloc_etherdev
 ndiswrapper: Unknown symbol alloc_etherdev
 ndiswrapper: disagrees about version of symbol __kfree_skb
 ndiswrapper: Unknown symbol __kfree_skb

 Any more necessary information I'd be more than happy to provide.

 Thanks in advance.

 P.S. Sorry if this is a double post, wasn't sure if it went through.

 --
 - nornagon
 http://www.nornrock.com


Did you do this:

2. Install your windows driver
--
Download the Windows XP drivers, unpack it and locate the .inf for your card.
Run ndiswrapper -i to install the driver

 ndiswrapper -i /path/to/inffile.inf

This copies all necessary files to /etc/ndiswrapper and creates the config
files for your card.

After installing you can run

 ndiswrapper -l

to see the status of your installed drivers. If you have installed the correct
driver you should see something like this:

Installed ndis drivers:
bcmwl5  present

Where present means that you have a PCI-device present that can be used with
the
driver bcmwl5.


John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Newbie looking for some answers please...........

2004-11-18 Thread John Schmidt
On Thursday 18 November 2004 10:17 am, Chad wrote:
 I just installed Debian 3.0 r3. I'm a newbie and looking for some
 anwers to some of my questions...if someone can anwser one, some, or
 all Please

 1. I know that apt-get is the main utility to add and remove programs
 (in Debian anyways), also to veiw what is installed on your OS. But
 what about other packages or applications that are not installed
 through apt-get. Is there a another utility to tell you want is all
 installed on your OS, or to keep track of all
 software/packages/applications installed?

 2. How do you check for all running services and how to start/stop
 system services that are unused?

 3. How do you check for all open ports and what programs are using the
 ports.

 4. What is the common folder Where most software/packages/applications
 installed into?

 5. Anyone has a good site for descriptions of the configuration files
 on a linux system. For Example XF86Config-4. I have no idea of what
 configuration files do what or where they are located.

 6. Where is the boot files? So I can control or know what programs
 start at boot.

Chad,

You might want to install debian-reference-en and quick-reference-en.  Then 
point your web browser to /usr/share/doc/Debian and you should see folders 
for quick-reference and reference.  They should provide you with answers to 
your questions plus provide you with more tips and other bits of useful 
information.

apt-get install debian-reference-en quick-reference-en

will get you going.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: moving from woody to sarge

2004-11-11 Thread John Schmidt
On Thursday 11 November 2004 10:19 am, linux wrote:
 sorry, should have explicitly stated that one reason for the move from
 woody to sarge is that the former doesn't recognise my Ethernet card so I
 cannot do installations over the network
 - Original Message -
 From: Jerome BENOIT [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, November 11, 2004 5:14 PM
 Subject: Re: moving from woody to sarge

 A sound idea is to read
 
  http://www.debian.org/doc/manuals/reference/ch-woody.en.html
 
  first.
 
  hth,
  Jerome
 
  [EMAIL PROTECTED] wrote:
  okay, I'm going to take the plunge and forget about using ''woody'' 
  trying to upgrade the kernel (too many dependencies issues) and go str
  for ''sarge''... so, I presume I might as well just wipe the current
  (non-WinXP!) partitions and start from scratch -- does that make sense?
 
  --
  Dr. Jerome BENOIT
  room A2-26
  Complexo Interdisciplinar da U. L.
  Av. Prof. Gama Pinto, 2
  P-1649-003 Lisboa, Portugal
  email: [EMAIL PROTECTED] or [EMAIL PROTECTED]

It is probably easiest to just get somehow a netinstall CD for Sarge either a 
pre-rc2 or a daily build if pre-rc2 fails in someway for you.  

I have used the pre-rc2 to install on new and old hardware quite recently and 
found it quite nice and easy to setup.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge install problems with Adaptec 7902 controller

2004-11-04 Thread John Schmidt
On Thursday 04 November 2004 09:41 am, Raj Kiran Grandhi wrote:
 Hi,

 I am trying to install sarge on a HP Workstation with a Seagate SCSI
 disk on an Adaptec 7902 Ultra 320 SCSI adapter. However, the installer
 fails to detect the hard disk at all. There was no such problem when
 installing Redhat 9. Redhat loads the module aic79xx.o before the
 install program begins. During sarge install, lsmod shows that the
 module aic79xx.o is loaded, but still the hard disk is not detected. I
 am stuck as to what is to be done. Any pointers would be greatly
 helpful.

 Thanks and regards,

 Raj Kiran

I believe there is a bug in the aic79xx.o module for kernel-image-2.6.8-1.  I 
assumed you tried to use linux26 during the sarge install.  You can use the 
2.4 series kernel during the install.  At the boot: just hit the enter key or 
manually type linux and it will install a 2.4.27 kernel.  

2.6.9 kernel was just uploaded into unstable.  You can try installing that 
kernel once your initial install with a 2.4 kernel is done. 

John 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: different networks, same computer (map mapping ?)

2004-11-01 Thread John Schmidt
On Monday 01 November 2004 03:19 pm, H. S. wrote:
 I would like a laptop to work in two kinds of networks automatically if
 possible. At home, I am running a DHCP server and if the laptop is
 connected to my switch(CAT5 cable to eth0) and booted up, it looks for
 and gets an IP address (it is running a dhcp client). Now when that
 laptop is taken to the university, the user needs to change the
 /etc/network/interfaces file to give the machine a static address. I am
 looking for a way that this choice between dhcp/static happens
 automatically.

 I have been reading manpages of interfaces and learned we can map a
 physical device as logical devices and make it work in different modes.
 I am looking for examples where this is already done, the documentation
 in man interfaces is, well,  not very clear about all the nuts and
 bolts, or so I believe. All help is appreciated.

 Thanks,
 -HS


I have a similar setup.  I used ifplugd and guessnet.  You have to modify 
slightly /etc/network/interfaces.  I supposed you don't need ifplugd, but it 
is nice to be able to start up my laptop quickly without having any type of 
network cable installed.  Once you plug a cable in, ifplugd will configure 
things for you. 

Anyway, here are some snippets from my /etc/network/interfaces file:

# The primary network interface
# turn off since ifplugd is controlling things
#auto eth0

mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 3
map verbose: true

iface work inet dhcp
test-peer address x.x.x.x MAC.address

iface home inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
test-peer address 192.168.1.1 MAC.address

Note:  

x.x.x.x is the IP address of a known computer on the network that should be 
always there.  The MAC.address is the hardware MAC address of this computer.

Pretty simple setup but works nicely.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Building binaries for older versions of libc6

2004-10-27 Thread John Schmidt
On Wednesday 27 October 2004 09:47 am, Karl E. Jorgensen wrote:
 On Wed, Oct 20, 2004 at 02:58:16PM +0100, Ben Hutchings wrote:
  I have a C++ program which requires g++ 3.4 to build due to parser bugs
  in older versions of g++.  I'm currently building on a development
  machine running mostly woody with some packages from sarge, including
  g++-3.4 of course.  This requires version 2.3.2 of libc6 itself, and any
  binaries I build with it appear to require version 2.3.  Now, while I
  prefer to do development on Debian, I need to build binaries that will
  run on Red Hat Enterprise Linux 2.1, which has version 2.2.4 of libc6.
 
  I'm wondering whether it's possible to build binaries with g++ 3.4 that
  will require only libc6 2.2, and if so, how.  If I remove g++-3.4,
  downgrade to woody and then build and install g++ from source, is that
  likely to work?

 You're probably better off doing builds in a chroot environment - that
 will allow you to play with the environment in a safe with without
 destabilising your installation.

 Have a look at the pbuilder package - altough it is targetted towards
 building debian packages (which you probably want to do anyway), it is
 handy to keep multiple chroot environments, e.g. one for woody, one for
 sarge and one for whatever..

 Hope this helps


In addition, you can install dchroot and switch between various chroot 
enviroments.  If you modify in your chroot enviroment, the ~/.bash_profile 
(make sure the debian_chroot is defined) and put a line describing the chroot 
in /etc/debian_chroot, you can have your prompt tell you what chroot 
enviroment you are in.  Handy if you have multiple chroot enviroments.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: List of packages

2004-10-27 Thread John Schmidt
On Wednesday 27 October 2004 01:36 pm, Jim Hall wrote:
 on Sarge, is there a way to list every installed package? I don't think
 I need things like libs, just the package names. I need to compare two
 systems.

 Jim

dpkg --get-selections  machine1.pkgs

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: WiFi

2004-10-25 Thread John Schmidt
On Monday 25 October 2004 03:43 pm, Alvin Oga wrote:
 On Mon, 25 Oct 2004, Gilbert, Joseph wrote:
  http://www.linuxant.com/driverloader/
 
  I haven't had a chance to work with it yet.  Has anyone else done
  anything with this driver wrapper?

 http://ndiswrapper.sourceforge.net does the same thing and is free/GPL'd
 whereas, linuxant is you have to pay or else

  you'd need to know make/install or apt-get
  - or -
  pay linuxant $20 for not wanting to do apt-get :-)

 - problem is bug fixes and if it doesn't work right ...
   oh boy .. now what .. humm .. file a bug report, try to patch it,
   buy a another wifi card  that is supported natively on linux

 c ya
 alvin

Hi,

I found that this was a better source for ndiswrapper than the 
ndiswrapper.sourceforge.net.

deb http://rigtorp.se/debian/ unstable/

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: routing help please...

2004-10-13 Thread John Schmidt
On Wednesday 13 October 2004 05:45 am, Sebastiaan wrote:
 Hi,

 On Wed, 13 Oct 2004, Mark Maas wrote:
  Thanks for reading!
 
  I hope someone can help me with a routing issue:
 
  I've attached a situation scetch.
 
  The thing is, my road warriors connect via a pptp connection
  to my VPN server via GW2.
  This fails because the default gateway (GW) on the VPN is
  GW1, so all request attempts end up beeing sent through GW2
  but answered by my VPN server to GW1.
 
  But as soon as I put GW2 as default gateway, My local lan's
  do not get routed as they should anymore...
 
  So all PPP connections should have GW2 as the default
  gateway, and set up routes so data between the local lans
  and ppp connections should go through GW1.
 
  But how?
  Thanks for any pointers...
 
  Mark

 Hmm, usually a host only recognizes replies from the same remote host e.g.
 nic. You can probably do something with the package 'iproute', but that's
 as far as I can point you.

 Greetz,
 Sebas



Mark,

In the package vpnc, there is an option to specify custom routes (taken from 
the man page):

Custom route setting
  By default, the default route is deleted after  connection  and
  replaced with the new one (going trough the VPN tunnel device).
  However, some people wish to limit the target address range  to
  few  IP  ranges.   This  can be done using the config directive
  Target networks in the config file. For example:
  Target networks 123.234.210.0/24 10.1.0.0/16

In the file vpnc-connect they use ip directives to specify particular routes.  

You may want to install this package and take a look at how they specify the 
routing.  Mimic what they do in vpnc-connect as far as routing goes and see 
if that doesn't solve your problem.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: trouble with pam-ldap

2004-10-12 Thread John Schmidt
On Tuesday 12 October 2004 02:09 pm, Jeremy Brown wrote:
 I'm trying to get a Debian sarge machine to authenticate against an
 OpenLDAP server (running on the same box) with no success.


Take a look at:

http://people.debian.org/~torsten/ldapnss.html


John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Keyed SSH login problem

2004-10-11 Thread John Schmidt
On Monday 11 October 2004 10:43 am, Stephen Tait wrote:
 I'm having a great deal of difficulty setting up two computers to log into
 one another for automated backup purposes. For the moment, I'm just trying
 to get one machine to log into the other non-interactively, and since it's
 over the internet I was going to use SSH.

 Generated a v2 DSA public/private keypair on host1 under
 /home/sync/.ssh/sync-host1 and sync-host1.pub
 SCP'd the public key over to host2
 Added the .pub to ~/.ssh/authorized_keys2 (and authorized_keys FWIW)

 Now when I try and SSH from host1 with it (please note, names have been
 changed to protect the innocent);


I just went through this yesterday, and here is my recipe.

On machine 1:

 1.  Create your public/private key (I used dsa):
 
 ssh-keygen -t dsa

  2.  Copy the contents of ~/.ssh/id_dsa.pub to machine 2 using ssh-copy-id:

 ssh-copy-id -i ~/.ssh/id_dsa.pub machine2


ssh-copy-id copies the id_dsa.pub file located in your .ssh/ to machine2 using 
ssh.  It sets up the authorized_key file and permissions appropriately.  Once 
it is copied over, then you should be able to ssh into machine2 from machine1 
without typing in a password.

John


 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: adduser problem

2004-10-10 Thread John Schmidt
On Sunday 10 October 2004 09:45 pm, Jim Hall wrote:
 Greetings,

 I volunteer in my church's computer lab (hence my email name) and
 advocate Linux where and whenever possible. We have a sarge system as a
 test system. A very knowledgeable Debian expert (call him Buddy) helped
 me set it up. I started getting used to it, especially apt, because I've
 been using RedHat since I started using Linux.

 About a year ago, my local LUG set up a small weekly newspaper with
 Linux. The workstations are dual boot W98/RedHat 7.3 (don't ask, long
 story), the server is Debian (named debbie). Buddy set it up. He is
 very, very good, but had to do some customization (maybe a lot). After
 doing updates, upgrades, and dist-upgrades on the lab test system with
 no apparent ill effects, I thought it was time to do the same to the
 newspapers server. In the process I broke 'adduser'. So far, the
 solution appears to involve LDAP. None of us seems to have much
 experience with that. Buddy has since moved and isn't responding to emails.

 The newspaper has been working on a series of articles about the
 switchover from Windoze to Linux. Right now they're not very happy with
 Debian. Is there anyone who offers paid, secure support for Debian?
 Donation to the Debian project is also acceptable. Remote access can be
 provided.

 I don't know if this is the correct thing to do, but I'm totally lost
 and don't know what else to do. I haven't included any specifics because
 I don't know what would be needed or if this list is the right place to
 post this request.

 Thanks,
 Jim


Jim,

There is a Debian package call cpu which can do adduser type of operations 
using a LDAP backend.

Check out apt-cache show cpu.

For example to add a user to a LDAP system, you can do something like this as 
superuser (root):

 # cpu-useradd testuser


John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with DSL and /etc/resolv.conf

2004-10-08 Thread John Schmidt
On Friday 08 October 2004 04:21 pm, Andrew Carter wrote:
 I'm having a problem with my /etc/resolv.conf file and I'm hoping
 someone might be able to explain what is going on.  My home network
 has an ActionTec wireless DSL modem/router running as the DHCP.  Qwest
 is my DSL provider.  I have three Macintoshes, an XP box, and a
 Debian/FreeBSD dual boot box.  The Debian and FreeBSD box both have
 the same problem.  The Macs and XP don't.

 When the computer boots up and gets DHCP information, it puts two
 addresses in the /etc/resolv.conf file for nameservers.  One is the
 router address (192.168.0.1) and the other is one of the two ISP DNS
 servers.  This causes any internet traffic to go unresolved.  If I
 change the entry in /etc/resolv.conf that contains the router address
 to the other ISP DNS server, everything works just great.  However,
 the next time I boot up the machine, it goes back to the router+ISP
 address.

 Since Mac OSX is based on FreeBSD, I looked at what its
 /etc/resolv.conf file contains.  It has the same thing but works just
 fine.

 So, I have three questions:

 1.  Should my router's ip address be in the resolv.conf file?
 2.  Shouldn't my router just forward DNS requests to the ISP DNS servers?
 3.  How can I keep the resolv.conf file from changing each time I reboot?
 4.  Why does this fail for Linux/FreeBSD but not for OS X or XP?

 Thanks,
 Andrew


I found that dhcp3-client would not overwrite whatever was in my resolv.conf 
whereas dhcp-client would overwrite my entries in resolv.conf.

I suggest using dhcp3-client and editing the entries in resolv.conf to 
whatever works and then rebooting to see if those changes persist.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Configuring Courier

2004-09-03 Thread John Schmidt
On Wednesday 01 September 2004 01:36 pm, Upayavira wrote:
 I want to set up a Debian based mail server, with SMTP sending, IMAP and
 webmail. I am trying to do this with the Courier package. Actually, what
 I want, at the moment, is a self contained mail system, it doesn't have
 to deliver to the Internet. I'm using Sarge.

 I am having trouble getting mailboxes configured. When I send myself a
 mail (mail -s hiya upayavira), it creates a file called Maildir in my
 home directory. It looks rather like a 'mbox' file. If I delete that
 file, and create a proper Maildir with maildirmake ~/Maildir, then try
 sending again, I get ./Maildir: No such file or directory: No such file
 or directory showing in my /var/log/syslog file.

 Similarly, when I have a ~/Maildir directory and log into the courier
 webmail system, I get Internal error (module sqconfig.c, line 77) -
 contact system administrator. When I do it with an mbox file called
 ~/Maildir, I get Unable to open the maildir for this account -- the
 maildir doesn't exist or has incorrect ownership or permissions.

 I suspect I'm very close, but I can't figure it out.

 So, can anyone either (a) help me fix the above or (b) tell me where I
 can get help fixing the above or (c) recommend a SMTP/IMAP/Webmail setup
 that is relatively easy to configure, and that can be installed with
 apt-get from Sarge?

 Thanks in advance for any help.

 Regards,

 Upayavira

This may be helpful to you:

http://talk.trekweb.com/~jasonb/articles/exim_maildir_imap.html

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: alternatives to NIS and NFS

2004-08-02 Thread John Schmidt
On Monday 02 August 2004 04:24 pm, Paul William wrote:
 Hi,

 I am in charge of a small office network. The server is running Debian
 stable with some testing packages and the desktops are running mandrake
 10.0.

 Currently we are using NIS for authentication and NFS to share the home
 directories.

 I have been having some hassles with NIS and would like to upgrade to a
 more modern system.

 Are there any alternatives to NFS and NIS?

 As long as it not to complex to setup and is fairly easy to administer
 its fine. X is not on the server so all admin takes place over
 ssh.Security is an issue.

 It is safe to assume that there will not be any windows clients on the
 network, ever :) There is one osx ibook being used but it does not need
 to 'login' to the network.

 Thanks very much,

 Paul


Paul,

I have a ldap based authentication system and still use NFS for sharing /home.  

I used http://people.debian.org/~torsten/ldapnss.html to guide me through the 
setup.  I then use cpu (in Debian) to do the passwd and user account 
creation.  Everything I needed was packaged in Debian.  

There are some ldap utilities that will convert an exisitng /etc/passwd to 
what is needed for ldap.  I didn't have many users and found it easier to 
just use cpu to add my users and passwords.  

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.4 kernel install wants to remove current kernel

2004-04-09 Thread John Schmidt
On Friday 09 April 2004 12:41 pm, Nori Heikkinen wrote:

 of course, i've totally failed to show the slickness of apt to my
 coworker, because as soon as i booted up with 2.6.4, my mouse (neither
 USB nor PS2) didn't work, and i wasn't online.  (right now, i've
 reverted to 2.4 to type this :-P).  surely the 2.6 kernel comes with
 USB support compiled in?  am i just going to have to suck it up and
 roll my own kernel?

 thanks again,

 /nori

Make sure you have the modules mousedev and psmouse loaded.  I believe I had 
to use modconf to select psmouse from kernel/drivers/input/mouse whereas 
mousedev was already loaded for me using discover.  Once psmouse was loaded 
then my mouse was active.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NFS Groups

2004-03-15 Thread John Schmidt
On Saturday 13 March 2004 10:07 am, Michael Satterwhite wrote:
 I want to thank those who helped me with the userid. The other half of
 this, however, is the group id:

 Assume that a directory on the server is owned by root:users. The group id
 number for users is different on the server and the clients. It's not
 possible to have the directory owned by the same user as on the client as
 there are many of those, so group permissions need to control whether the
 directory can be written.

 How can I set up this type of directory so that it can be written by the
 client machines?

 thanks in advance

I used ldap to solve this problem.  I use it to essentially replace NIS.  On 
my server, I use the package cpu (does the equivalent of user{add,del}, and 
is packaged in debian) to assign users and groups.  I used the page:

http://people.debian.org/~torsten/ldapnss.html

for guidance on how to set up ldap on both my server and clients.  It has 
worked well.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: LDAP client configuration question

2004-03-08 Thread John Schmidt
On Monday 08 March 2004 05:23 pm, Kamaraju Kusumanchi wrote:
 I am relatively newbie in LDAP area, so please excuse me if the question
 is not interesting.

 We have an LDAP server up and running redhat 8. I know that the ldap
 server is functioning properly because I can access it from other redhat
 machines. But I am not able to access it from a client runnind Debian
 testing.

 The configuration file I am using is as follows (I obtained this
 configuration file from the redhat machines). I would like to know what
 I have to do/read to set up this LDAP client. I have read the
 LDAP-HOWTO.html. From what I understood, it discusses only server setup
 but no discussion about client set up... I also browsed google but could
 not get anything useful (or may be wrong keywords)..

 host k2.mae.cornell.edu

 base o=cttg,c=US

 ssl no

 pam_password md5


 regards
 raju

You need to install libnss-ldap, libpam-ldap, and nscd.  You should probably 
take a look at:  http://people.debian.org/~torsten/ldapnss.html  
for more info.  He talks both about the server and some client info.  
Actually, where he talks about doing libpam-ldap and libnss-ldap are relevant 
for the client.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



static ip to dhcp conversion -- getting a hostname

2004-03-05 Thread John Schmidt
Hi,

My university is switching everyone over from a static ip to one assigned via 
dhcp.  In addition, they are specifying the hostname for each of these 
addresses.  Unfortunately, we don't get an option to choose a hostname.  It 
seems that the current mechanism within Debian is to specify a hostname 
regardless of how a ip is assigned.  I would prefer to assign my own 
host-name, but don't have that luxury.

I am using dhcp3-client to pull the ip number and other assorted information.  
However, I can't get a hostname returned from the dhcp server.  I have set 
the option in dhclient.conf to request host-name (along with some other 
options).  I have turned on the debugging flags in the 
dhclient-{enter,exit}-hooks.d/ to see what info is gathered from the server.  
Hostname is not one of the pieces of information that is returned.  

I am assuming that the dhcp server is actually sending out hostnames, but am 
not 100% confident.  I can take the returned address and do a nslookup to 
actually get the hostname, but this seems like a kludge.  Are there any known 
problems with getting a hostname from a dhcp server that I am overlooking?

Michael Ash had asked a similar question back in Oct 2003 (debian-user 
archives), and someone responded, but it didn't appear like there was any 
definite solution.
 
Thanks for any help.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: static ip to dhcp conversion -- getting a hostname

2004-03-05 Thread John Schmidt
On Friday 05 March 2004 09:00 am, Jonathan Schmitt wrote:
 My university is switching everyone over from a static ip to one assigned
  via dhcp.  In addition, they are specifying the hostname for each of
  these addresses.  Unfortunately, we don't get an option to choose a
  hostname.  It seems that the current mechanism within Debian is to
  specify a hostname regardless of how a ip is assigned.

 Hi,
 sorry, I can't solve Your problem, but I would like to ask You if You're
 sure it is a good idea to dynamically change the hostname?
 A long time ago, I was much younger and more inexperienced, I decided, the
 hostname assigned during installation wasn't what I expected, so I simply
 changed it. The result was different programs not working properly anymore
 (I think, You can still find my cry for help on debian-kde mailing list as
 kdm was one of those packages).
 It was potato with a self compiled kde by then, and I never ever played
 with my hostname after that day. So, are You sure, that is a wise idea? js

Unfortunately, it is not my decision to make.  If it were, I would not have 
the dhcp server assign hostnames.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: A Newbie LVM Question

2004-03-04 Thread John Schmidt
On Thursday 04 March 2004 10:38 am, stan wrote:
 On Thu, Mar 04, 2004 at 05:09:02PM +0200, Alexei Chetroi wrote:
  On Thu, Mar 04, 2004 at 08:13:18AM -0500, stan wrote:
   Date: Thu, 4 Mar 2004 08:13:18 -0500
   From: stan [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: A Newbie LVM Question
  
   On Wed, Mar 03, 2004 at 02:42:30PM -0500, stan wrote:
On Wed, Mar 03, 2004 at 09:37:06AM +0100, Erich Waelde wrote:
Content-Description: message body text
  
   I made a little more progress on this last night. I was able to
   actually create a working lvm, and format it as XFS (I do think I left
   some rements of a bad atempt laying aroud BTW, is it safe to just
   rmmive these traces?).
  
  
   In any case, when I rebooted that machine the new lvm parition did not
   mount (yes I put it in /etc/fstab)/ Atempts to mount it by had result
   in a message about it not being active.
 
   Do you have script /etc/init.d/lvm ? 1st you must run vgscan to scan
   volume groups and after that vgchange -a y

 I do, but I don'r seem to have any links to it from the various /etc/rc.d
 directories.

 How can I create these (In a Debian sort of way?). I know I can create them
 by hand, but thre must be a more Debian way fo doing it, right?


You need to have lvm10 and lvm-common installed and if using a standard debian 
kernel, need to have lvm-mod module running.  I am pretty sure that 
installing lvm10 and/or lvm-common should have set up the /etc/init.d/lvm for 
you.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Install debian on raid system

2004-02-27 Thread John Schmidt
On Friday 27 February 2004 08:21 am, [EMAIL PROTECTED] wrote:
 Hello everybody,

 I'm trying to install debian on a raid system (Promise FastTrak s150 sx
 with 3 SATA drives), I downloaded the netinstall iso and tried installing.
 Unfortunately the drivers for the raid card aren't there and I don't seem
 te be able to find them anywhere on the net (except for RH and SUSE).
 Could anyone please help as I'm completely stuck right now?
 Thanks!

 Ron

 PS. Could you please cc any replies to me?

You might want to check out this site:

http://oregonstate.edu/~kveton/debian/

It has instructions for making a custom boot cd with the drivers you need.  
You might also get lucky with the iso that is shown on this page as well.  A 
kernel config is shown which might be useful thing to check out.

John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   >