nfs.statd bind to internal interface only

2004-12-28 Thread Adrian Levi
I'm trying to remove all of the servers listening on my external 
interface after upgrading my firewall from woody to sarge. The last one 
is rpc.statd AFAIK it is started and stopped from 
/etc/init.d/nfs-common. There is an environment variable called 
$STATDOPTS and I can't find where it is defined.

Also in other situations like this I have tried inserting switches into 
the variable to bind to an interfave but it comes up with an error for 
example: nfs-common:line 16: ns.lefty: Command not found

That was me trying to define the variable $STATDOPTS with the line:
STATDOPTS=-h ns.lefty # The domain name is correct within my lan.
Any help or pointers appreciated.
Adrian
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 12/26/04
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: nfs.statd bind to internal interface only

2004-12-28 Thread Adrian Levi
Poor form to reply to my own post but have figured out what was causing 
the error message, (the settings need to be in quotes) and that 
$STATDOPTS is defined in /etc/defaults/nfs-common.

The daemon still seems to be ignoring the setting, it dosen't fail with 
an error but using a combination of nmap and netstat -lp the rpc.statd 
service still listens on the external interface with a *.portnum line 
reported from netstat.

I am unable to secure rpc.statd rpc.mountd and nfs
Adrian
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 12/26/04
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NFS

2005-01-01 Thread Adrian Levi
[EMAIL PROTECTED] wrote:
Hello,
When I mount an NFS share I can't seem to write to it as any user...
Both the systems authenticate against the same ldap server so uid's and
gid's are all the same. My /etc/exports file looks like : 
/mnt/sda1/home/ (rw,no_root_squash)

I mount the share from the client with the command :
mount -o rw -t nfs foo:/mnt/sda1/home /home
When I try to write to /home it says permissions denied.
In the exports(5) man page it says:
   # sample /etc/exports file
   /   master(rw) trusty(rw,no_root_squash)
   /projects   proj*.local.domain(rw)
   /usr*.local.domain(ro) @trusted(rw)
   /home/joe   pc001(rw,all_squash,anonuid=150,anongid=100)
   /pub(ro,insecure,all_squash)

Line 5 exports the public FTP directory to every host  in  the  world, 
executing  all requests  under  the  nobody account.

So I would try:
/mnt/sda1/home/ *.localdomain(rw,no_root_squash)
Or specify your individual hosts.
Adrian
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/04
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: (solved) Re: how to (dis)allow some users from using wireless router?

2007-08-12 Thread Adrian Levi
On 8/13/07, Celejar <[EMAIL PROTECTED]> wrote:
> On Sat, 11 Aug 2007 11:02:05 +0100
> Liam O'Toole <[EMAIL PROTECTED]> wrote:
>
> > On Sat, 11 Aug 2007 09:06:15 + (UTC)
> > Simon Brandmair <[EMAIL PROTECTED]> wrote:
> >
> > > Please notice, that filtering by mac address doesn't really add any
> > > extra security. The mac address can easily be changed with ifconfig,
> > > which is IMO default on every Debian machine.
> >
> > While it is true that the MAC address can be spoofed, the intruder
> > would need to have an allowed MAC address at their disposal. It
> > would require some technical savvy to obtain one.
>
> Not very much; a scanner will report attached clients' MACs without any
> real effort by the 'attacker'.
>
> > Liam
>
> Celejar

Would it not be a good idea to use pppoe on the clients and use an ssh
tunnel to provide security / authentication?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?


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



Re: (solved) Re: how to (dis)allow some users from using wireless router?

2007-08-12 Thread Adrian Levi
On 8/13/07, Celejar <[EMAIL PROTECTED]> wrote:
> On Mon, 13 Aug 2007 08:18:19 +1000



> I don't quite follow you.  Can you explain in more detail?
>
> Celejar

Ok, Assuming your wireless router can use an open Linux distribution
or your wireless router connects directly to a linux firewall, you can
use the following tools to set up proper encryption and authentication
between each allowed client and the router.

I have never done this but know it's possible.

http://en.wikipedia.org/wiki/Point-to-Point_Protocol_over_Ethernet

Using pppoe the client computer makes a connection to the wireless
router, handshaking is done, The client is given an IP address for the
pppoe connection.

http://www.ssh.com/support/documentation/online/ssh/winhelp/32/Tunneling_Explained.html

The ssh tunnel provides proper authentication and protection for the
otherwise insecure and sniff able traffic that is broadcast
wirelessly. This step also ensures that a non trusted client cannot
transfer any data over your network.

As I say earlier, I have not done this, I cannot explain any further.
Good luck but this Is what I am looking to implement on my network.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?


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



Re: (solved) Re: how to (dis)allow some users from using wireless router?

2007-08-14 Thread Adrian Levi
On 8/15/07, Celejar <[EMAIL PROTECTED]> wrote:
> On Mon, 13 Aug 2007 08:57:45 +1000
> "Adrian Levi" <[EMAIL PROTECTED]> wrote:
>
> > On 8/13/07, Celejar <[EMAIL PROTECTED]> wrote:
> > > On Mon, 13 Aug 2007 08:18:19 +1000
> >
> > 
> >
> > > I don't quite follow you.  Can you explain in more detail?
> > >
> > > Celejar
> >
> > Ok, Assuming your wireless router can use an open Linux distribution
> > or your wireless router connects directly to a linux firewall, you can
> > use the following tools to set up proper encryption and authentication
> > between each allowed client and the router.
> >
> > I have never done this but know it's possible.
> >
> > http://en.wikipedia.org/wiki/Point-to-Point_Protocol_over_Ethernet
> >
> > Using pppoe the client computer makes a connection to the wireless
> > router, handshaking is done, The client is given an IP address for the
> > pppoe connection.
> >
> > http://www.ssh.com/support/documentation/online/ssh/winhelp/32/Tunneling_Explained.html
> >
> > The ssh tunnel provides proper authentication and protection for the
> > otherwise insecure and sniff able traffic that is broadcast
> > wirelessly. This step also ensures that a non trusted client cannot
> > transfer any data over your network.
> >
> > As I say earlier, I have not done this, I cannot explain any further.
> > Good luck but this Is what I am looking to implement on my network.
> > Adrian
>
> I'm no networking expert, but I'm afraid I don't understand how this
> stops untrusted clients from accessing your network.  He obviously
> won't be able to read ssh encrypted traffic, but I think he'll still be
> able to log on to the router.
>
> Celejar

Everyone needs to be able to access the router - trusted and
un-trusted, At this point you don't know who are your legitimate
users. This method Assumes that any wireless broadcast traffic is
_hostile_. I think you may be trying to secure the wrong part of the
link.

What you are stopping is any traffic passing onto your wired network
that does not originate through a ssh tunnel is discarded and the
connection dropped.

What you are doing is setting up a VPN from your trusted wired network
over the hostile wireless network segment to your trusted wireless
clients.
http://nst.sourceforge.net/nst/docs/user/ch07s03.html
http://mia.ece.uic.edu/~papers/volans/ssh-vpn.html

What I wrote in the above email was backward, SSH is established first
then pppoe or just plain ppp is tunnelled through that link to provide
full network functionality.

A basic outline of a transaction follows:

1: Client contacts firewall.

2: Firewall issues dhcp address.

3: ssh link established.

4: pppoe tunnel through ssh link established.

5: IP address from pppoe link allocated - this one is the default gateway.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?


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



Re: LVM

2007-09-04 Thread Adrian Levi
On 9/5/07, Roland M. Kruggel <[EMAIL PROTECTED]> wrote:
> Am Dienstag, 4. September 2007 21:55 schrieb Mike Bird:
> > On Tuesday 04 September 2007 10:44, Roland M. Kruggel wrote:
> > > Am Dienstag, 4. September 2007 17:10 schrieb Yuriy Padlyak:
> > > > ok, but I don't know how to move ext3 file system or it's
> > > > content without loosing any file attributes, etc either :)
> > >
> > > cp -a /src/* /dest
> >
> > That misses dot files in the source.  Use rsync instead, perhaps
> > with -H and/or -S flags (see man).
>
> Oh schitt. Sorry.
> Thats a big mistake. I have alway copy with cp -a. I never do it.
> Many Thnx
>
> >   rsync -a -H -S /src/ /dest/
>
> ok. Thats realy better.

Would you not also need to set "umask " to preserve existing file
permissions?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?


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



Re: why sarge is so noisy

2007-09-07 Thread Adrian Levi
On 9/7/07, Serena Cantor <[EMAIL PROTECTED]> wrote:
> I have sarge, I use it all the time (it's server)
> The machine is my bedroom and scsi disk make noise from time to time (it's 
> read/writing)
>
> which script cause reading/writing? Let's assume it's default installation. I 
> don't start any
> program myself.

IMHO We need a better question before we can help you.

Adrian

24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: postgresql help

2007-09-11 Thread Adrian Levi
On 9/12/07, Jude DaShiell <[EMAIL PROTECTED]> wrote:
> When you do an uninstall with purge, your original packages are still in
> /var/cache/apt/archives.  I had a situation with timidity that was similar
> though I had lost one of timidity's configuration files and reinstalling
> using packages already on the hard drive did not repair the situation.  I
> ended up deleting from /var/cache/spt/archives the timidity files after an
> uninstall with purge had been done then did an aptitude install on
> timidity and that did repair the situation.

apt-get clean should do this for you.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



scsi-spin + samba

2007-09-22 Thread Adrian Levi
I have a raid 1 array used solely  through samba. I'd like to spin
down the discs when not being used to save power. Googling has
provided information about

Could anyone provide instances where doing the following would be a bad idea?:-

   preexec = /bin/mount /mnt/raid
   postexec = /bin/sync
   postexec = /bin/sync
   postexec = /bin/umount /mnt/raid
   postexec = /sbin/scsi-spin --down /dev/sda
   postexec = /sbin/scsi-spin --down /dev/sdb

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Fwd: SAMBA ground-up tutorial?

2007-09-22 Thread Adrian Levi
forgot to cc the list
> On 9/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> [This message has also been posted to linux.debian.user.]
> I've got a Debian bastion host at a small nonprofit.
> Mix of Windoze and Macs on the LAN behind it.
> Some of the Windoze boxes have those low-end
> printers (Minolta-QMS 1100L etc) that do their
> imaging in the driver and will never work on
> anthing but Windoze.  We're using CUPS on the
> Debian box.  We want to share all the printers
> across all the hosts on the LAN.
> (At this point someone who thinks he is being
> helpful barks "google samba" as if I never thought
> of that.)

Did you google "Samba for beginners"?
http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/54415-fileserver-samba-printserver-cups-howto.html#post299791
That is the first result, doesn't look too bad.



> So I wrote a samba.conf and none of the Windoze
> boxes can see it with their little flashlights.
> Perhaps we have to set up a proprietary name
> service called WINS.  But nobody here knows
> what that's supposed to look like much less how
> to test or troubleshoot it.

You have setup your wins service with the line
wins support = yes
if you hav wins support on then disable
wins server = x.x.x.x



Comments below.

> [global]
>  bind interfaces only = yes
>  hosts allow = 192.168.1. 192.168.2.
>  hosts deny = ALL
>  interfaces  = eth1

Are both of these networks on the same interface? If so then the
interfaces = eth1 should work.
apt-get install nmap
rin nmap against both of the interface ip's and see if you have a
service listening on it on port 139 like:

[EMAIL PROTECTED]:~$ nmap 192.168.0.1

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-09-24 02:39 EST
Interesting ports on caprica.lefty (192.168.0.1):
Not shown: 1673 closed ports
PORT STATE SERVICE
22/tcp   open  ssh
53/tcp   open  domain
80/tcp   open  http
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
3128/tcp open  squid-http
/tcp open  abyss

Nmap finished: 1 IP address (1 host up) scanned in 0.991 seconds
[EMAIL PROTECTED]:~$

> #  What does this do?
>workgroup = ourlan

workgroup is the first place your client computers look to find
resources. set all of your computers to the same workgroup. You'll
find workgroup = workgroup is a common default but cam be anything.

>server string = %h chico (Samba %v)
> #  Where is WINS configured?
> wins support = yes

Right here, it's turned on. There used to be an os level config option
to make sure that samba would win the contest and be the wins sever
but its not in the new default file.
Here is what I used to have.
   os level = 100


>dns proxy = no
> name resolve order = lmhosts host wins bcast
>log file = /var/log/samba/log.%m
>max log size = 1000
>syslog = 0
>panic action = /usr/share/samba/panic-action %d
> security = user
>encrypt passwords = yes
>passdb backend = tdbsam
>obey pam restrictions = yes
>invalid users = root
>passwd program = /usr/bin/passwd %u
>passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
> *Retype\snew\sUNIX\spassword:* %n\n .
> load printers = yes
> printing = cups
> printcap name = cups
> [public]
> guest ok = yes
> guest only = yes
> path = /tmp
> read only = no
> [homes]
>comment = Home Directories
>browseable = no
>writable = no
>create mask = 0700
>directory mask = 0700
> [printers]
>comment = All Printers
>browseable = no
>path = /tmp
>printable = yes
>public = no
>writable = no
>create mode = 0700

If you want your workgroup printers to be able to 'see' the printers
then make browsable = yes. With browsable = no things still work, you
just have to type in the name of the resource - you cant 'click and
'browse' to it. It remains hidden. Make browseable = yes until you get
things working.

> [print$]
>comment = Printer Drivers
>path = /var/lib/samba/printers
>browseable = yes
>read only = yes
>guest ok = no

This is where you put the printer drivers so your clients can
automatically load the drivers for each computer, don't worry about
this yet until you get the rest working as it's only a 'fuzzy extra' -
not required to get things moving.

Below the hashes is my existing smb.conf - although with no printers defined.

Adrian

##
##
##
##
##
##
##
#
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.c

Re: How can I acces unformatted cd/dvd with data on

2007-09-22 Thread Adrian Levi
On 23/09/2007, Jude DaShiell <[EMAIL PROTECTED]> wrote:
> That's the reason for the iso9660 format among others.

Came in late to the conversation but can you mount the unwritten cd
using the udf filesystem?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Help with RAID and Formating Disks

2007-10-05 Thread Adrian Levi
On 05/10/2007, Michael Acklin <[EMAIL PROTECTED]> wrote:
> Hello all. I am very new at what I am attempting to do. I have run
> Debian in the past and just recently installed it on a new built system
> that I am setting up. So please take it easy on the Newbie.
>
> First I built the system with the ASUS Motherboard and AMD-64x2 5800+.
>
> Added 3 - 500gig drives and a DVD/CD writer to access the Downloaded
> netinst of Debian. The installation went fine with no problems over the
> internet installation. Added all the programs that I thought I would
> need and finished the installation. During the installation process it
> formatted /dev/sda as ext3 and used the complete disk for the
> system/files. I was never given the opportunity to format/partition the
> second and third drives. Figured I would get to that when I set up the RAID.
>
> Anyway tried using mdadm but am at a loss what I am trying to do. I
> tried the parameters that was called out in the --help file, but kept
> getting "not enough devices" errors. I believe the command line I used was:
>
> mdadm -create /dev/md0 -l 5 -n 2 -x 1 -c 32
>
> and in different combo's of the above.
>
> I then figured that as /dev/sdb and /dev/sdc where not partitioned or
> formatted, I should do that. But that is where I am completely lost. I
> have no idea how to format or partition the other drives.
>
> Tried finding some tools that might help out, but couldn't find anything
> that might help. I know I am not using the terminology correctly to
> search for the right tools. So came here to see if anyone could help out.
>
> So I guess my question is: Do I have to format/partition each of the
> drives before making a RAID or can the mdadm program do this. And what
> is the easiest way to set up the RAID.
>
> I figured I could set it up with 2 500gig drives and have the 3rd as the
> spare. This system is going to be used for backing up different systems
> over the net with BACKUPPC and figured 1 Tb of storage should be enough.
>
> Any help would be greatly appreciated. Thanks...

Might I suggest you look into evms? Its a realy easy tool to use to
configure discs and set up raid. It's not available from the install
but is configurable afterwards.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: password protect file befor emailing

2007-10-12 Thread Adrian Levi
On 13/10/2007, Giorgos Pallas <[EMAIL PROTECTED]> wrote:
> Juha Tuuna wrote:
> > On Friday, 12. October 2007 15:48, BartlebyScrivener wrote:



> > This way you must of course deliver the password in a secure way.
> >
>
> Not necessarily. The password could be delivered using the telephone
> according to the two-channel principle. One has to both brake into the
> mails of the user, and tap his phone in order to get the encrypted pdf.
> It all of course depends on how paranoid you are and what is contained
> in the pdf.
>
> G.

I think the OP's definition of "a secure way" didn't necessarily mean
electronically secure. Thereby your solution is also correct to the
original specification. :-)

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Mysql Database installation problem

2007-10-13 Thread Adrian Levi
On 14/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I tried to install mysql-server-5.0 using apt-get and I got the following
> error-

Comments inline.

> The following NEW packages will be installed:
>   mysql-server-5.0

Your installing one package here.

> 0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/25.8MB of archives.
> After unpacking 71.1MB of additional disk space will be used.
> Preconfiguring packages ...
> Selecting previously deselected package mysql-server-5.0.
> (Reading database ... 202487 files and directories currently installed.)
> Unpacking mysql-server-5.0 (from
> .../mysql-server-5.0_5.0.32-7etch1_amd64.deb) ...
> Setting up php-sqlite3 (0.4-4) ...

But here dpkg has detected packages on your system in an unconfigured
state. possibly you previously tried to install something that
required this package but it was left unconfigured.

> Forcing reload of web server (apache2)...apache2: Could not reliably
> determine the server's fully qualified domain name, using 127.0.0.1 for
> ServerName
> httpd (no pid file) not running
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.0.1 for ServerName
> (98)Address already in use: make_sock: could not bind to address [::]:80
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down

This looks to me like you are running 2 instances of apache, perhaps
apache and apache2?

> Unable to open logs
>  failed!
> invoke-rc.d: initscript apache2, action "restart" failed.
> dpkg: error processing php-sqlite3 (--configure):
>  subprocess post-installation script returned error exit status 1
> Setting up mysql-server-5.0 (5.0.32-7etch1) ...
> Stopping MySQL database server: mysqld.
>
> Errors were encountered while processing:
>  php-sqlite3
> E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg is unable to configure the packages so it's dying - this AFAIK
has nothing to do with mysql not installing properly it looks to be
due to previous packages in an unconfigured state.

> What to do???Whats the problem??

try running
sudo dpkg --configure -a
to configure packages first before installing mysql.

If you don't need it you could try removing php-sqlite3 then doing a
configure then moving on to your installation of mysql.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Proxy settings not released

2007-10-14 Thread Adrian Levi
On 14/10/2007, jekillen <[EMAIL PROTECTED]> wrote:
> Hello:
> I had set up a web proxy for my Debian installation and have
> tried to undo the setup. But the proxy, a Mac OSX machine,
> is still used by the Debian installation, in this manner:
> I have Apache2 installed and have set up a localhost index
> page. It has a link to the Apache server on the Mac OSX
> machine. The link goes like this:
>
> (Mac OSX server)
> The persistent problem is that the local href http://192.168.1.4/content
> is getting rewritten to http://127.0.0.1/content and the request
> fails. This happens in every browser I have installed on the Debian
> system: Konqueror, Galeon, Iceweasel, Epiphany.
> ( I do web design and development and want to test the content in as
> many
> browsers as I can have access to)

If you have tried this with so many different browsers and removed the
proxy configuration logic didctates that the problem may be elsewhere.

Personally i'd be looking at the configuration of the apache web server.

More details about your setup are required. Please provide an nmap for
each computer, which computer has the apache server installed and a
copy of its /etc/apache2/sites-enabled/* files please.



Adrian
-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Best way to install a few testing pkgs on stable system

2007-10-18 Thread Adrian Levi
On 19/10/2007, Gordon Pedersen <[EMAIL PROTECTED]> wrote:
> Running an etch system I nonetheless may want to install a testing
> package or two.
>
> If I use pinning, I have a clue about how to go about it, and have
> seen a debian wiki page about that.
>
> But I really could use a more general education on how to safely mix a
> few testing pkgs into a stable system.
>
> If there is a safe way in some cases I'd like to learn more about it.
> (I doubt it's safe in all cases, based on my recent need to abandon
> installing rubygems from testing into my etch system).
>
> Does anyone have suggested methods or reading?

Do you know of backports.org? would that provide the packages you require?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Apache2 Dying

2007-11-07 Thread Adrian Levi
On 07/11/2007, Raquel <[EMAIL PROTECTED]> wrote:
> I give up.  I've spent all day, and part of yesterday, googling and
> haven't been able to fix a thing.

Are you able to run memtest86+ on the box, every time I have had weird
problems with daemons dying it has been due to flaky ram.

Might be worth ruling out.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: USB pendrive mobility (fat32)?

2008-02-09 Thread Adrian Levi
For the list,

On 09/02/2008, s. keeling <[EMAIL PROTECTED]> wrote:
> Yeah, I think this stuff (talking to Win*) sucks too.  And this is a
> Win* problem (sorry) but I'm a Debian user, not a Win* user, so I'm
> ignorant wrt this stuff.  4 Gb pendrive from Staples:
>
> (0) phreaque [root] /etc_ fdisk -l /dev/sda
>
> Disk /dev/sda: 4103 MB, 4103938560 bytes
> 255 heads, 63 sectors/track, 498 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   1  38  305203+   b  W95 FAT32
> /dev/sda2  39 127  714892+   b  W95 FAT32
> /dev/sda3   * 128 225  787185   83  Linux
> /dev/sda4 226 498 2192872+  83  Linux
>
> Plugging that into the corporate WinXP laptop only displays the first
> ca. 300 Mb ptn.  Why doesn't it see the 2nd?  How have I borked the
> ptn table?
>
>
> [Knoppix and /scratch are on the two 83s, yet to be tested.  :-)]

Please correct me if i'm wrong but I thought that windows could only
handle one primary partition per device. Perhaps that is where your
problem lies. remake your pendrive with cylinders 39 127 as sda5
(extended) and you should be fine I think.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: USB pendrive mobility (fat32)?

2008-02-09 Thread Adrian Levi
On 09/02/2008, s. keeling <[EMAIL PROTECTED]> wrote:
> Incoming from Adrian Levi:
> > On 09/02/2008, s. keeling <[EMAIL PROTECTED]> wrote:
> > > Yeah, I think this stuff (talking to Win*) sucks too.  And this is a
> > > Win* problem (sorry) but I'm a Debian user, not a Win* user, so I'm
> > > ignorant wrt this stuff.  4 Gb pendrive from Staples:
> > >
> > > (0) phreaque [root] /etc_ fdisk -l /dev/sda
> > >
> > > Disk /dev/sda: 4103 MB, 4103938560 bytes
> > > 255 heads, 63 sectors/track, 498 cylinders
> > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > >
> > >Device Boot  Start End  Blocks   Id  System
> > > /dev/sda1   1  38  305203+   b  W95 FAT32
> > > /dev/sda2  39 127  714892+   b  W95 FAT32
> > > /dev/sda3   * 128 225  787185   83  Linux
> > > /dev/sda4 226 498 2192872+  83  Linux
> > >
> > > Plugging that into the corporate WinXP laptop only displays the first
> > > ca. 300 Mb ptn.  Why doesn't it see the 2nd?  How have I borked the
> > > ptn table?
> >
> > Please correct me if i'm wrong but I thought that windows could only
> > handle one primary partition per device. Perhaps that is where your
>
> Is that "USB" device?  That's new.  HDs can handle four primaries, or
> three primaries and an extended which holds many logicals.  USB is
> different?  Those are all primaries up there.

Can windows display 4 primary partitions or are you talking about
linux? I'm specifically talking about windows' ability to display more
than one primary partition on a device be it pen drive, usb hard
drive, sata/ide drive. I'f I'm wrong and windows can display more than
one primary partition on a device please let me know, I'd love to
know.

> > problem lies. remake your pendrive with cylinders 39 127 as sda5
> > (extended) and you should be fine I think.
>
> Ick.  Doesn't that mean blowing away ptn4 then three then create
> extended and ... (logical ...)?  Which I shouldn't really need to do
> for my purposes.  I just want WinSPIT to see a couple of fat ptns on
> the stick so I can transfer files.

That's what i'd do next.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: vim + LaTeX (Was: What am I missing without mutt?)

2008-02-09 Thread Adrian Levi
On 07/02/2008, s. keeling <[EMAIL PROTECTED]> wrote:
> Steve Lamb <[EMAIL PROTECTED]>:
> >  s. keeling wrote:
> > > Just curious, but what's wrong with breaking it up by chapters and
> > > figuring out how to merge it all together later?  "lpr chap*" too much
> > > to remember?
> >
> >  Now email that ream of paper.
>
> s/lpr/mutt -a chap* .../

Now you've moved the "cat chapter*" problem on to someone else.
:-)

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Aptitude stuck on sun-java5-bin

2008-02-09 Thread Adrian Levi
On 10/02/2008, cothrige <[EMAIL PROTECTED]> wrote:
>
> I have managed to get myself in a bit of a bind regarding packages.
> Aptitude is reporting an error regarding an apparent half-finished
> upgrade to sun-java5-bin, and this has caused all things to stop.
> Unfortunately I have not found a way to resolve or work around this.
> Here is what has been coming back from any aptitude commands:
>
>
> Preparing to replace sun-java5-bin 1.5.0-14-2 (using 
> .../sun-java5-bin_1.5.0-14-2_i386.deb)

you could try running,

#dpkg --configure -a

But likely I suspect it will fail.

Another option is possibly to pre-empt it and go ahead and delete:
/usr/share/icons/sun-java5.png

The original script mightn't bork at that part then.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: ipchains -> iptables?

2008-02-12 Thread Adrian Levi
On 13/02/2008, Zach <[EMAIL PROTECTED]> wrote:
> Anyone know a way (or even better have a script) to convert a file of
> ipchains rules into iptables rules?

The topology of chains to tables is fundamentally different, In chains
a packet that is to be forwarded must also go though the input and
output chains. Under tables this packet only has to traverse the
forward table, input and output tables only refer to packets destined
for and from the firewall machine.

I couldn't think of an easy way to differentiate between the two.

I am happy to post my tables script and you can use that as the basis
of yours if you like.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: ipchains -> iptables?

2008-02-13 Thread Adrian Levi
On 13/02/2008, Zach <[EMAIL PROTECTED]> wrote:
> On Feb 12, 2008 7:20 PM, Adrian Levi <[EMAIL PROTECTED]> wrote:
> >
> > The topology of chains to tables is fundamentally different, In chains
> > a packet that is to be forwarded must also go though the input and
> > output chains. Under tables this packet only has to traverse the
> > forward table, input and output tables only refer to packets destined
> > for and from the firewall machine.
>
> Hi Adrian,
>
> Ah I see so we're dealing with apples and oranges here.

Unfortunately yes. Someone probably has written a script but I
wouldn't know where to find it.

> > I am happy to post my tables script and you can use that as the basis
> > of yours if you like.
>
> Thank you, that would be great.

No worries. Mine was based heavily on MonMotha's firewall script,
Modified to suit my purposes and needs. - You will need to edit it as
well but that should be trivial. 2 network cards, plact the IP
adresses of your clients to access the net in the ALLOWED_INET_CLIENTS
variable and your LAN_IP range, set your network interfaces and
comment out the port forwarding stuff.

This script supports ingress and egress filtering. It will drop any
packets from or to the Internet with private IP addresses. Only open
the holes you need and you will be safer.
This script is a little slow for me to load because of all the
modprobes at the start. As soon as I got it working I dropped work on
it never got back to tidy it up.

But it should give you an idea on what you can do.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


firewall.nat
Description: Binary data


Re: OMG! Think I did something stupid with dmcrypt

2008-02-15 Thread Adrian Levi
On 15/02/2008, Andrew Henry <[EMAIL PROTECTED]> wrote:
> help.
>
>  I have debian lenny on a server with full disk encryption (the guided
>  partitioning option) and an external usb WD Mybook that is also
>  encrypted with dmcrypt/LUKS.
>
>  I just formatted the server to install and try out CentOS.  Then I went
>  to the Ubuntu Wiki to see how I can access the USB drive on another
>  computer, and I started reading about keys etc etc.  Have I just
>  overwritten my key to the usb drive whilst formatting the server?
>
>  I thought that HAL and Gnome had the ability to auto detect encrypted
>  devices and prompt for passphrase??  I thought all I needed was the
>  passphrase to be able to access the usb drive on another computer?
>
>  Please tell me ive not just lost all my data!
>
>  --andrew

When you have that sinking feeling while muttering "oh crap! oh crap!
oh crap!" you know you've messed up in ways that defy common sense, I
always make a habit to limit these moments.

What was on the drive? important stuff? do you have a copy of the keys
backed up somewhere?

Adrian


-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: iceweasel

2008-02-18 Thread Adrian Levi
On 19/02/2008, Ron Johnson <[EMAIL PROTECTED]> wrote:
> One IMPORTANT item to note: I have installed the /Adblock Plus/ and
> /Flashblock/ addons.  On the Independent home page, this means that
> 7 (yes, I said SEVEN) Flash movies just have a placeholder box.
>
> Install those two addons and I'm very confident that your freezing
> problem will disappear.

Another good one is noscript, http://noscript.net/

After a while browsing you get to teach it which scripts to allow and
deny. It is surprising how many times google-analytics.com comes up!

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: df reporting incorrect available space

2008-02-23 Thread Adrian Levi
On 24/02/2008, Chris Purves <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  I am having problems with the reported available disk space on my root
>  partition with df.  The Used and Available amounts do not add up to the
>  total amount.
>
>  Filesystem   1K-blocks  Used Available Use% Mounted on
>  /dev/hda1   255912243314 0 100% /
>  tmpfs   778404 0778404   0% /lib/init/rw
>  udev 1024072 10168   1% /dev
>  tmpfs   778404 0778404   0% /dev/shm
>  /dev/hda9105503360  27786192  72357888  28% /home
>  /dev/hda8   369000  8255341085   3% /tmp
>  /dev/hda5  4807056   1201816   3361056  27% /usr
>  /dev/hda6  2885780   2297096442096  84% /var
>  /dev/hdd1480719056 233711036 222588820  52% /backup
>  /dev/hdb1488252928 180889124 307363804  38% /video

When was the last time you fscked this drive?
Whenever I send one of my servers down for a maintenance boot (new
kernel) I always reboot and force fsck you can do this with:
shutdown -rF now

Give that a go.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Installing Debian from USB pen drive

2008-02-29 Thread Adrian Levi
On 29/02/2008, Santanu Chatterjee <[EMAIL PROTECTED]> wrote:
> Hello Everybody,
>
>  I was trying to install a very basic debian system from my 2GB
>  USB Pen Drive. For that, I did the following:
>
>  o Formatted my pen drive as a single 2GB FAT16 partition (/dev/sdb)
>  o Did a "# syslinux -sf /dev/sdb" to make it bootable
>  o Downloaded
>
> "http://cdimage.debian.org/debian-cd/4.0_r3/i386/iso-cd/debian-40r3-i386-netinst.iso";
>and placed a copy of this iso file on the pendrive as netinst.iso
>(renaming was not due to any particular reason)
>  o Opened the iso image in file-roller and copied the '/install.386'
>folder from it to the toplevel directory in my pendrive.
>  o Then copied all the files from the '/isolinux' directory in the iso iimage
>to the toplevel directory in my pendrive.
>  o Renamed isolinux.cfg in the pendrive to syslinux.cfg.
>
>  When I try to boot from the pendrive, it boots just fine, and the installer
>  starts OK. But then, it cannot find the cdrom. Thats OK, because there
>  is no cdrom in the drive. But I want it to install from the 'netinst.iso' 
> image.
>  But I can't find a way to make it do the install from the iso image.
>
>  Can anyone tell me how to make the installer install from the iso image?
>  Thanks in advance for your help.
>
>  Regards,
>  Santanu

Have you tried mounting the image from the console (in the installer)
and then pointing the installer to the local repository?

Adrian


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



Re: Installing Debian from USB pen drive

2008-02-29 Thread Adrian Levi
On 29/02/2008, Santanu Chatterjee <[EMAIL PROTECTED]> wrote:



>  Now, you said "pointing the installer to the local repository". How exactly
>  is this done? When the cdrom detection failed, at a console, I found
>  a directory named '/cdrom' already created (empty). I linked this directory
>  so that it pointed to the iso contents in my pendrive. Then I attempted
>  to rerun the earlier step by selecting the option 'install from installer 
> cdrom'
>  (the wordings might be a bit off but this is the option just next to the
>  'detect installer cdrom' option). But I am still getting the same error.
>
>  Is there any particular way to 'point the installer' to the installer cdrom
>  contents?

Somewhere there is an option to use packages in a local directory, It
has been ages since I used the installer so I will have to go and have
a look. It's way back in the beginning installing the base, you get to
choose network (www|ftp), use whats on the cd or use a local
repository.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Debian FTP server setup questions

2008-03-01 Thread Adrian Levi
Grrr Gmail - For the list...
On 01/03/2008, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:

> Is there any special reason you use wu-ftpd, BTW?
>
>  A quick apt-cache search brings out 11 ftpd-s or so. But amon them I
>  think that proftpd and vsftpd are the most commonly deployed and hence
>  well-documented. wu-ftpd suffers from bad reputation of past security
>  holes. I don't know how are things now.
>
>  I generally found proftpd more intuitive than vsftpd to configure.

IMHO vsftpd works more smoothly with more clients, I have had troubles
with proftpd especially uploads where the client would do a directory
list and after the connection times out, the listing would show up in
the client. Made directory traversal very slow! Never was able to find
a reason for it, no amount of conf tuning was able to rectify it.
installed vsftpd and the problem went away. I have never looked back.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



dircmp in debian

2008-03-01 Thread Adrian Levi
I have searched high and low but can't find this utility or something
that provides it's functionality, I want to know the differences in 2
directory structures but not change them - yet. rsync I'm fairly
confident will fix the 2 directories to make them the same but for the
moment I want to know just how far out of sync they are.

http://www.computerhope.com/unix/udircmp.htm

If diff can do what I want I am unable to coerce the magic.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: 8139cp 0000:03:08.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip

2008-03-01 Thread Adrian Levi
On 01/03/2008, stephane lepain <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I have had this error message coming up every time I start my PC where
>  it seems to be searching for the right driver. The problem is that it
>  takes a while at start time for my box to switch from "8139cp" to "8139too"
>  Is there a way I could tell my box to use the driver 8139too instead of
>  it choosing the 8139cp?
>
>  Sorry if I am not being clear and concise. I have just started with
>  Linux and I am learning at the moment.

Welcome to the community,

For your problem you could try placing 8139too into
/etc/modules

That might see that your 8139too driver gets loaded first.
Incidentally comment any references to 8139cp that you run across. HTH

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Install Debian 4.0 to watch DVD video

2008-03-01 Thread Adrian Levi
On 02/03/2008, hce <[EMAIL PROTECTED]> wrote:
> Well, I expected the "use as" can be selected as a root partition, but
>  that page only display following menu:
>  use as:
>
>  EXT 3
>  EXT2
>  Reiser FS
>  JFS
>  XFS
>  FAT16
>  FAT32
>  Swap area
>  Physical volume for encryption
>  Physical volume for LVM
>  Physical volume for RAID
>  do not use the partition
>
>  There is no "root partition", I actuall selected it as ext3, then it
>  came above error.
>
>  Now, if I select mount point to "/", it also came another error.
>
>  I actually don't want to do any partition change, the #5 has already
>  partitioned and formated as ext3. But I could not go over that
>  partition page. How can I skip partition page and just install the
>  Debian directly to hda5?

Read this part of the install guide on using the installer and partitioning.
http://www.debian.org/releases/stable/i386/ch06s03.html.en#di-partition

Even if you don't want to change the other partitions you will need to
format and set up your hda5 again and tell it to mount hda5 as / this
will set up hda5 in /etc/fstab as your / and leave all the other
partitions alone (you will have to manually add them to /etc/fstab in
you want access to them) otherwise specify a mount point for them and
select them as "do not format".

The Debian installer is very flexible, you will get it do what you
want, it's just a matter of you finding the options in the installer.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: dircmp in debian

2008-03-01 Thread Adrian Levi
On 01/03/2008, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 01, 2008 at 08:52:58PM +1000, Adrian Levi wrote:
>  > I have searched high and low but can't find this utility or something
>  > that provides it's functionality, I want to know the differences in 2
>  > directory structures but not change them - yet. rsync I'm fairly
>  > confident will fix the 2 directories to make them the same but for the
>  > moment I want to know just how far out of sync they are.
>
>
> Sounds like you like rsync. So the following begs suggesting:
>
>  rsync -nv ? rsync -ni ?

You know the thought never crossed my mind to look into rsync to do
what I wanted :-) - I was thinking of it as only an option to change
things not report on them...

Tunnel vision.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Install Debian 4.0 to watch DVD video

2008-03-02 Thread Adrian Levi
On 02/03/2008, hce <[EMAIL PROTECTED]> wrote:
> I changed to "audo", it sitll does not work. But, if I start dhclient
>  manually, it works fine. I checked ps, there was a dhclient3 running.
>  Could that cause the problem? How can I config /etc/init.d to make the
>  dhclient running?

dh-client is requiret to fetch a dhcp address for you, it should be running.
below is my /e/n/interfaces file
===
# 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
auto eth0
iface eth0 inet dhcp
===
If you want to use dhcp make sure that it looks exactly like this.

>  > AFAIK ssh depends on openssh-client and openssh-server so you should be
>  >  fine.
>
> The ssh client running fine. It can ssh to other linux box where the
>  sshd is running, but other linux box cannot ssh to it as there is no
>  sshd running on the Debian.
>
>  I searched Intenert find a ssh script and copied it to the
>  /etc/init.d. The instruction says to call "update-rc.d -f ssh defaults
>  20", then run "/etc/init.d/ssh start". But, I could not find
>  update-rc.d in my Debian box, is there alternative to make a runlevel
>  links manually for ssh defaults 20?

Woo, slow down. Stop and think a minute. Debian is one of the easiest
and trouble free distributions to run, if a package is installed all
the required scripts are installed as well.
Have you tried running:
#/etc/init.d/ssh start
What did it return, was that script there to begin with? Did you check
to see if openssh-server is installed as Andrei suggested? The client
and server are in different packages. You may have the client
installed but not the server.
If you type in
starbuck:~# apt-get install openssh-server

You should get a response like below if the server is installed:

Reading package lists... Done
Building dependency tree... Done
openssh-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Attack one problem at a time and create a new thread in debian-user
for each new problem. Give us time to help you before trying things
that will make the end result harder to achieve or introduce new
faults.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Install Debian 4.0 to watch DVD video

2008-03-02 Thread Adrian Levi
On 02/03/2008, hce <[EMAIL PROTECTED]> wrote:
> Yes, my interfaces looks exactly like this.  And, it works if I run
>  the dhclient manually.

Ok what happens if you try
/etc/init.d/networking restart

Please post the exact output.

> Thanks Adrian, it works now after installing the openssh-server.

Good, one down one to go.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Install mplayer

2008-03-02 Thread Adrian Levi
On 02/03/2008, hce <[EMAIL PROTECTED]> wrote:
> On 3/2/08, Andrei Popescu <[EMAIL PROTECTED]> wrote:
>  > On Sun, Mar 02, 2008 at 09:15:16PM +1100, hce wrote:
>  >  > Hi,
>  >  >
>  >  > I want to install mplayer RC2 and I added "deb
>  >  > http://www.debian-multimedia.org stable main" to the
>  >  > /dev/apt/source.list. After running "apt-get update", it came many
>  >  > errors.
>  >
>  >
>  > What errors?
>
>
> W: GPG error: http://www.debian-multimedia.org stable Release: The
>  following signatures couldn't be verified because the public key is
>  not available: NO_PUBKEY 07DC563D1F41B907
>  W: You may want to run apt-get update to correct these problems

The answer to that one is on their FAQ:
Q. Why apt-get doesn't find this public key : NO_PUBKEY 07DC563D1F41B907 ?
A. Install the debian-multimedia-keyring package with apt-get "apt-get
install debian-multimedia-keyring" or with "dpkg -i
debian-multimedia-keyring" (click on the link to download the
package).

>  Actually, I remove the http://www.debian-multimedia.org from
>  sources.list, the apt-get install mplayer works, but I am not sure if
>  it gets a RC2 mplayer or old RC1 mplayer.
>
>  Is it possible to just have a command line RC2 mplayer by "apt-get
>  install mplayer"?

apt-cache show mplayer
Shows that the version in stable is 1.0~rc1-12etch2.

The mplayer that you can install in debian will be very restrictive
with the codecs that are supplied with it. You will have to look
elsewhere to install non-free codecs, google can help here.
http://www.princessleia.com/MPlayer.php looks to be a good start.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Install mplayer

2008-03-02 Thread Adrian Levi
On 02/03/2008, hce <[EMAIL PROTECTED]> wrote:
> So, it shows the version 1.0 RC1, not RC2. How can I installed the RC2?

Install from sources or find a precompiled .deb on the internet
somewhere, what version did debian-multimedia have?

to download and install from source download mplayers tarball
(.tar.gz|bz2) uncompress it to a directory somewhere and read the
readme, follow the instructions. Have you ever installed something
from source before?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Using Lenny on production server?

2008-07-05 Thread Adrian Levi
2008/7/6 Bob Cox <[EMAIL PROTECTED]>:
> On Sat, Jul 05, 2008 at 16:49:39 +0100, Joe ([EMAIL PROTECTED]) wrote:

>> possibly 18 months going by previous releases. Remember that Etch is
>> only a few months old as Stable.
>
> Etch has been stable for 15 months, released in April 2007.
> http://www.uk.debian.org/News/2007/20070408

I think the OP is referring to 'Debian' time. :-)

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Firefox not showing in Applications menus

2008-07-12 Thread Adrian Levi
2008/7/12 Bret Busby <[EMAIL PROTECTED]>:
>
> Hello.
>
> I have Firefox installed on my system (Debian 4.0), and today an update for
> firefox showed, and was installed using the system update system.
>
> With the recent problems with Iceape, I thought that I would try Firefox.
>
> Synaptic shows that I have Firefox 2.0.0.15 installed, but I can't find it
> in the Applications menus.

Can you open a term type
shellprompt$ firefox &

What happens?
does
shellprompt$ which firefox
return anything?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Debian Sid first time user

2008-08-04 Thread Adrian Levi
2008/8/5 Rodolfo Medina <[EMAIL PROTECTED]>:
> Hi to all the Debian users community.
>
> I've been using Debian for a couple of years now (coming from Mandrakelinux)
> and have been happy with stable versions, Sarge and then Etch.  Now for
> particular needs I want to try to use Sid with a > = 2.6.25-2-686 kernel.
>
> Please can anybody indicate how to fetch and install a Debian Sid distribution
> and how to manage it after installation (packages and so on)?  I didn't find
> any help on www.debian.org.  Besides, large downloads are not easy for my
> connection.
>
> Thanks in advance for any reply
> Rodolfo

I honestly inform you that you _are_not_ready_ for sid.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Configure error

2008-08-12 Thread Adrian Levi
2008/8/13 Oscar Corte <[EMAIL PROTECTED]>:
>
> Hi all
>
> I'm receiving the next error message upon executing configure on a MySQL 
> source distribution.
>
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
>
> I'll appreciate any hints in order to know a way to succeed with the 
> compilation
>
> Thanks in advance and regards
>
> Oscar Corte

Just check that you have the "build-essential" meta package installed.
That will drag in the bare minimum packages to compile programs under
Debian.

What Debian release are you running? Etch?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Help...I hosed my system trying to apt-get dist-upgrade

2008-08-12 Thread Adrian Levi
2008/8/13 Mark Phillips <[EMAIL PROTECTED]>:
> I have a Debian testing system and I ran apt-get update and apt-get
>
> dist-upgrade. I now have this problem with python and all packages that
>
> depend on python - they cannot be installed (see rhytmbox example
>
> below).
>
>
>
> Setting up python (2.5.2-1) ...
>
> running python rtupdate hooks for python2.5...
>
> INFO: using old version '/usr/bin/python2.3'
>
> file does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/kiki
>
> file does not
>
> exist: /usr/lib/python2.5/site-packages/_spe/plugins/wxGlade

Have you tried touching these files to make them "exist" to see if
anything more can be gleaned from the install errors. Sometimes I have
had success with this method.

If it is only wanting to see if the files exist then you might get
somewhere but the following line about "byte compiling files" suggests
that it may want to actually use the files at those locations, so you
may or may not have some success using this method.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: chroot ?

2008-08-18 Thread Adrian Levi
2008/8/17 Paul Cartwright <[EMAIL PROTECTED]>:
> in the process of looking at what i do have mounted, I noticed a bunch of
> chroot stuff..
>
> paulandcilla:/var/log# mount
> (skip the normal mounted stuff)
>
> devpts-live on /home/live/chroot/dev/pts type devpts (rw)
> proc-live on /home/live/chroot/proc type proc (rw)
> sysfs-live on /home/live/chroot/sys type sysfs (rw)

umount /home/live/chroot/dev/pts etc?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Reg Blind

2008-04-14 Thread Adrian Levi
On 14/04/2008, Jude DaShiell <[EMAIL PROTECTED]> wrote:
> grml has xwindows components too provided you can figure out how to get them
> installed and talking.  Since I have grml on a laptop and myself am totally
> blind that's the next project I have in mind.  The orca package may or may
> not be in the grml archives, I'll have to check or perhaps gnopernicus is
> what's in the archives.

Jude, I am in awe. Until you typed that I hadn't stopped and though
about how difficult it would be to install a brand new operating
system from scratch with out any sight.

Learning and installing Debian for me (while learning linux at the
same time), was a very sight intensive task. reading logs, reading
dmesg, reading the output of commands trying many permeations on
things to get them to work. etc. Installing from scratch until you
have your reading programs installed and working from my point of view
must be a mammoth task.

What do you do if you can't get audio to work or a package doesn't
install correctly or the machine doesn't boot. I'd imagine that
whatever program you use can't read post/bios messages?

I'd like to hear more of your experiences if you'd like to ramble, If
you don't, I'll go and sit in the corner again.

Adrian


-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Source code editor

2008-04-16 Thread Adrian Levi
On 16/04/2008, Dave Thayer <[EMAIL PROTECTED]> wrote:
>  Debian has a package for damn near anything!
>
>  dt

Yup, your right...

#apt-cache show kitchensync

:-)

Adrian
-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: [OT] Naming Schemes (was: Laptop with Linux preinstalled)

2008-04-18 Thread Adrian Levi
On 19/04/2008, Vikki Roemer <[EMAIL PROTECTED]> wrote:
> Whereas my main computer has had the same name since I set it up--
>  neuromancer.  My naming scheme is AI computers/robots (I have to throw
>  in robots to include my fiance's computer, Canti).  That system has
>  been in several cases, with several different processors (AMD Duron,
>  P3, now Celeron D).  The only thing that's remained constant is most
>  of the data in my home dir, and even that's moved across a couple
>  harddrives.

My naming scheme is similar to yours, but based on Battlestar
Galactica. I have Caprica(router), Starbuck (Temperamental),
Galactica, Earth(Server), Cylon (Wireless router) and
Basestar(Laptop).

Names remain the same over different hardware - less work. For me it
is the data it holds or the function it performs that I name.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: badblock can not be detected

2008-04-19 Thread Adrian Levi
On 20/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I have an hard drive that connects to my laptop through the USB 2.0 
> interface.it was bought at 2006. some months before, it started to report 
> error on read. I reformatted it use the
>
>  mkfs.ext3 -c /dev/sda1
>
>  But it didn't detected any badblock.
>  then I copied some files to it, then read out, it shown the error:
>
>  usb 5-4.3: reset high speed USB device using ehci_hcd and address 5
>  sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
>  end_request: I/O error, dev sda, sector 214814735
>  usb 5-4.3: reset high speed USB device using ehci_hcd and address 5
>
>  I think that's because there are some badblocks on the disk, so I ran
>
>  fsck.ext3 -c /dev/sda1
>
>  but this time it still didn't find out any badblock.
>
>  any idea about it? thanks.

The error could also be due to faulty hardware.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: badblock can not be detected

2008-04-22 Thread Adrian Levi
On 22/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Oh dear, that's quite a bad news.
>  that's what I have encountered. when I heard the noise of hard drive reset, 
> and checked the dmesg to make sure about it, I reformatted the hard drive, 
> then copy my data in again, it worked. but after some days, it starts to tell 
> me about read error again.
>  so, this means the hard drive has died, right?

Install smartmontools and interrogate the smart data on the drive, if
it reports a reallocated sector count and it keeps growing you know
your drive is on it's way out. A static reallocated sector count
doesn't necessarily mean your drive is bad but if that count keeps
growing it's not a good sign.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: emacs sarge surprise!

2008-04-23 Thread Adrian Levi
On 23/04/2008, Jude DaShiell <[EMAIL PROTECTED]> wrote:
> Check this out, I downgrade to sarge which was the highest form of sarge
> before everything moved along into etch and later lenny.  The aptitude
> package was uninstalled and so I try repeating that operation where bsdgames
> and emacs21 get installed together.  Emacs21 has aptitude as a dependency
> and cannot install without aptitude being preinstalled and happy.  If that
> problem never did get remedied (aptitude required to install emacs) then
> there's no point in my taking any of this any further. For one thing
> aptitude ought to be a pre-dependency of emacs and apt-get didn't know about
> that and let me know either.

I can't understand why Emacs would depend on one package manager over
another. Unless I'm missing the bleeding obvious.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: iptables "whitelist" rule

2008-05-04 Thread Adrian Levi
2008/5/5 Raven <[EMAIL PROTECTED]>:
>  I am not really sure how to tell iptables to whitelist the traffic that
>  is not being forwarded.
>  In other words, the ipp2p module should not drop the packets originating
>  from/destinated to the router itself.
>
>  Here is my current script:

As Kevin has already stated, The input and output chains/tables are
for the local machine only. And all forwarded traffic goes through the
forward chain only.

With a quick glance your current script seems to do what you want.
Do some testing both from expected IP Ranges and not expected IP ranges.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Hplip

2008-05-05 Thread Adrian Levi
2008/5/6 David Baron <[EMAIL PROTECTED]>:
> I have been unable to get this to recognize my HP printer, either looking
>  directly to the parallel port or using CUPS. I set the driver to the one
>  which includes hplip, manually changed the URI to hp://..., nothing helps. No
>  one on their forum could solve this.
>
>  Anyone had any luck with these utilities?

Running Etch here using hplip 1.6.10-3etch1 to run a HP Deskjet F2180
that my wife bought and I hate immensely. Wasn't particularly hard to
get it to work from memory.

I configured it with the instructions at linuxprinting.org. Also I use
CUPS here that might change things.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: where did www.debian.org/security/key-rollover/ go?

2008-05-13 Thread Adrian Levi
2008/5/14 Rody <[EMAIL PROTECTED]>:
>
>  In response to the latest security issue with ssl / ssh, i updated my 
> packages
>  with the new fixed versions of ssl. However the steps to regenerate the keys
>  are not available on:
>  www.debian.org/security/key-rollover/
>  as the security advisory tells us.
>  According to google, the page did exist 4 hours ago, but right now it's a 
> dead
>  link.

At the moment it's just a page saying there is more to come. Have
patience, it will come.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Another security fix to openssh-server/ssh

2008-05-17 Thread Adrian Levi
Is anyone able to shed some light on what was fixed this time round? Are our
newly generated keys safe? I am unable to dig up any info on these new
packages.

http://packages.debian.org is timing out for me.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to ping, it
works completely, I just can't figure out where in my apartment it is.


Re: text file from Linux to windows.

2008-05-30 Thread Adrian Levi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

2008/5/30 Russell L. Harris :
> I speak of the days of Fortran-II running on an IBM 1620.  Back then,
> it often was necessary to load the compiler (another deck of punched
> cards) before loading the application.

It must have been fun to watch someone play pickup 500 and put them
all back in order again.

Adrian

- --
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to ping, it
works completely, I just can't figure out where in my apartment it is.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: http://getfiregpg.org

iQEVAwUBSD/ArqTxsRnrwUbcAQIIgAf/RnDUu2ufiVT0NY/H5MQeSZ4jwzBEQUk9
lzumMJ2BSuwRpv8BBbp2Migp56TPnS6u/Sc1B5I/Zyjb2dOLmHYg441T90cDbckS
URLxFtlQF7krP5jUd6DIjWT0blKq1NRv0rRSvOygpn8oyYyH7aT6ZEg4j1fBlRx2
dN7W93NnfJubDDshrFq2/JVUZgeRwiayzZNGA0CpVh5LyjRNnELsVJOFCEujiXA5
esWK+8Y37W6ihWPYWe0+lkFV2gvoN8TFl+nMqv6mtI2Hscd1gNY2QNMusrxvsyEV
li7IrzWs+h7DDOnT+A/SlwZB0sdjh+FQ6nQs/z7Xo2MkWgu81TlBZg==
=eoJ+
-END PGP SIGNATURE-


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



2.6.18-4-686 broke 8139too

2007-05-12 Thread Adrian Levi

After an upgrade from Sarge networking no linger works. I can see no
reason for it.

I have attached lspci -vvv, dmesg, and ifconfig eth0 and
/proc/interrupts for both kernels 2.6.8-2-686 works perfectly.

Error message is:
May 13 13:12:39 earth kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
May 13 13:12:39 earth kernel: NETDEV WATCHDOG: eth0: transmit timed out

dhcp-client refuses to get a lease and static networking doesn't work either.

Can anyone else shed some light on this problem.
Linux version 2.6.8-2-386 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 
1:3.3.5-13)) #1 Tue Aug 16 12:46:35 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 05ff (usable)
 BIOS-e820: 05ff - 05ff8000 (ACPI data)
 BIOS-e820: 05ff8000 - 0600 (ACPI NVS)
 BIOS-e820: ffef - fff0 (reserved)
 BIOS-e820:  - 0001 (reserved)
95MB LOWMEM available.
On node 0 totalpages: 24560
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 20464 pages, LIFO batch:4
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
ACPI disabled because your bios is from 95 and too old
You can enable it with acpi=force
Built 1 zonelists
Kernel command line: root=/dev/hda2 ro 
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 512 (order 9: 4096 bytes)
Detected 300.690 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 90156k/98240k available (1337k kernel code, 7584k reserved, 732k data, 
204k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 589.82 BogoMIPS
Security Scaffold v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183fbff   
CPU: After vendor identify, caps:  0183fbff   
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: After all inits, caps:0183fbff   0040
CPU: Intel Pentium II (Deschutes) stepping 01
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 
ESR value after enabling vector: 
Using local APIC timer interrupts.
calibrating APIC timer ...
. CPU clock speed is 300.0634 MHz.
. host bus clock speed is 66.0807 MHz.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4216k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f7d10
PnPBIOS: PnP BIOS version 1.0, entry 0xf:0x779e, dseg 0xf
PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router SIS [1039/0008] at :00:01.0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
pnp: CMI8330 quirk - fixing interrupts and dma
isapnp: Card 'CMI8330/C3D Audio Adapter'
isapnp: 1 Plug & Play card detected total
Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
EISA: Probing bus 0 at eisa0
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 8
NET: Registered protocol family 20
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4216 blocks [1 disk] into ram disk... 
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\

Re: 2.6.18-4-686 broke 8139too

2007-05-13 Thread Adrian Levi

On 5/14/07, Florian Kulzer <[EMAIL PROTECTED]> wrote:




With 2.6.8 you have:

> ACPI disabled because your bios is from 95 and too old
> You can enable it with acpi=force

> IRQ9: eth0

With 2.6.18, on the other hand:

> ACPI: Core revision 20060707
> ACPI: setting ELCR to 0800 (from 0200)
> ACPI: bus type pci registered
> ACPI: Interpreter enabled
> ACPI: Using PIC for interrupt routing
> pnp: PnP ACPI init
> pnp: PnP ACPI: found 12 devices
> PnPBIOS: Disabled by ACPI PNP
> PCI: Using ACPI for IRQ routing
> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report

> IRQ11: acpi, eth0

I would therefore try booting the 2.6.18 kernel with "acpi=off" and/or
"pci=routeirq" appended to the kernel parameters.


acpi=off fixed the problem. I totally missed that in dmesg thanks for
helping me. Looks like I need to look up the ACPI maintainer and post
a report.

Adrian


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




(picture) image manipulation program

2009-08-09 Thread Adrian Levi
I'd like to hear some responses for what people use as a quick and
dirty image manipulation program.
Main features I'm looking for are:-
re-size(smaller),
rotate,
convert to ...

I realise there is the gimp but it's probably overkill for what I want
and it's features are more along the lines of photoshop where I want
something along the lines of irfanview [1].

Adrian

[1] http://www.irfanview.com/


-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Installation: How do I bypass partitioning?

2009-08-30 Thread Adrian Levi
2009/8/30 Jason Hsu :
> I have a laptop with Windows XP already installed one one partition and Puppy 
> Linux already installed on another partition.
>
> I have additional partitions.  How do I install Debian on another partition?  
> The installer insists that I write the partitions before I install Debian.  
> Is there a way to skip this step given that writing a partition essentially 
> means deleting everything on the drive?  Puppy Linux didn't insist on writing 
> the partitions when I installed it after putting Windows XP on the first 
> partition.

Select manual paritioning, Update the mount points of the partition/s
you want to install to, select partition type and *format this
partion.

Install.

HTH Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Firefox 3.5 wine

2009-09-05 Thread Adrian Levi
2009/9/6 Eugene Apolinary :

> fixme:system:SetProcessDPIAware stub!
> fixme:dwmapi:DwmIsCompositionEnabled 0x32fcd4

I have no answers to your direct problems but it seems to me that
Firefox is trying to use functions in libraries that haven't been
implemented yet in wine.

You might like to look into winetricks, It can download and install
native windows libraries to install into wine. It taints your wine but
people have some success with it.

Adrian



-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: configuring xserver

2009-09-24 Thread Adrian Levi
2009/9/24 Paul E Condon :
> I just purchased a small LCD monitor. It is 16:9 format and 1366x768.
> I ran dpkg-reconfigure xserver-xorg
> and that program set up the driver for 1024x768, so naturely the letters
> and graphics were stretched out horizontally. 1366x768 is not an option
> offered by Gnome preferences screen-resolution. What is the Debian way
> to deal with this? What should I read?

You might like to look into configuring yourself a modeline to tell
the xserver what the hardware is capable of if it's not automatically
detected.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Clone a bootable USB key

2009-09-25 Thread Adrian Levi
2009/9/26 Dieder Vervoort :
> Hi All,
>
> I am trying to clone a bootable USB key B ( FAT32)
>
> I format USB key C and  set the boot flag.
> Copied all files from USB-B to USB-C in Windows.
> Copied the MBR:  dd if=/dev/sdb of=/dev/sdc bs=446  count =1
>
> When I boot from USB-B I get only the word GRUB in the left upper corner.
> I noticed: USB-B has an icon in the browser , USB-C has not.
> What could be wrong ?  Thanks.

The MBR and grub are working but Grub does not know the sector
location of the kernel, So it does not continue to boot.
Use dd to copy the entire thing, it will work.

dd if=/dev/sdb of=/dev/sdc

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Clone a bootable USB key

2009-09-26 Thread Adrian Levi
2009/9/27 Dieder Vervoort :

> What I am trying to do: I would like to make a copy of my USB-key to one or
> more  files,
> send the files to a friend and he has to dd / copy this file to his USB-Key,
> and I was hoping this should work.

Then what you have done previously will work on the proviso that you
update grub to let it know where to find the kernel to boot. probably
the easiest way for you to do this is to boot from the first working
USB key and specify on the kernel command line root=/dev/sdc1

then as root run:
update-grub



-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: "On battery power, so skipping file system check" when in AC power

2009-02-13 Thread Adrian Levi
2009/2/14 Virgo Pärna :
>Does anyone else also receives "On battery power, so skipping file system 
> check"
> warning, when starting up a laptop with AC power connected? Especially in 
> Lenny.

No, fine here on acer aspire.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wlan and IBM Thinkpad T41

2009-02-16 Thread Adrian Levi
2009/2/17 Alokat MacMoneysack :
> Hey everbody,
>
> I installed Debian Lenny two days ago.
>
> All works fine but I can't use my Wlan card.
>
> Does anyone have an idea or can give me documentation?
>
> I found a couple of installation guides, but there are for Debian 4.0
> only.
>
> Thanks for help!
>
> Alokat

What sort of card is it?
There is documentation installed for every package in /usr/share/doc/*
All the Debian install and other documentation is available from the
Debian homepage.
http://www.debian.org

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Problems with Lenny Installer

2009-02-16 Thread Adrian Levi
2009/2/17 Khristian :
> I'm trying to install lenny amd64 here, but the installer doesn't
> recognize my hard disk as already partitioned when I choose the manual
> partitioning (it simply shows an unpartitioned 250GB disk). I tried
> going through the graphical and text installers (both normal and
> expert), but nothing changed.
> Couldn't find a bug in the debian-installer bug reports page that
> looked similar to this, so I'm turning to this list for help. Any
> ideas?
>
> Thanks,

>From the information you provide I can guess that you have previously
installed linux? and want to reinstall Debian in a pre-existing linux
partition?

What is shown if you boot the install media in rescue mode?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wlan and IBM Thinkpad T41 - 2nd

2009-02-16 Thread Adrian Levi
2009/2/17 Alokat MacMoneysack :
> I have the:
>
> Intel PRO/Wireless LAN 2100 3B Mini PCI Adapter

You need to install the firmware-ipw2x00 package from non-free.
http://packages.debian.org/search?keywords=firmware-ipw2x00

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Problems with Lenny Installer

2009-02-16 Thread Adrian Levi
2009/2/17 Khristian :
> (re-sending the e-mail to the list as well, I always forget to hit the
> 'reply to all' button :/ )

Standard practice on this list is to reply only to the list unless
explicetly requested to cc someone.

> Yes, I've installed linux some times before, and what I'm trying to do
> is wipe the current ubuntu install I have to make a clean lenny
> install (I have /, /home and swap partitions already made).

Ok, default practice in Debian is to leave all existing partitions alone.

What you need to do is select "manually partition the disc" instead of
selecting "automatic partitioning" which is what I think you are
currently selecting, and set the mount points for the partitions,
select format data for all partitions except for your /home (unless
there isn't anything there you wish to save) and any other partitions
you wish to retain the data on.

This will let you reuse your existing partitions.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: DVD install question

2009-02-17 Thread Adrian Levi
2009/2/17 Ron Johnson :
> On 02/16/2009 11:03 PM, M. Lewis wrote:
>>
>> Prior to the release of Lenny, I downloaded one of the Lenny release
>> candidate DVD's and installed via a network install from DVD #1.
>
> Congrats.  None of the Lenny DVDs I downloaded ever succeeded in doing a
> proper install.  Only the CDs worked.

I always considered the DVD images as the same as the CD images, the
only difference being the number of packages included on the media. I
always assumed that the debian-installer part would be the same.

Correct me if I'm wrong.

>> Is this still possible with the released version of Lenny? Or do I need
>> all 5 of the DVD's?

The first media will in most cases give you a fully functioning system.
If you require packages from non-free (for intel wireless :-( etc.)
and don't have access to a network connection during install then you
will need to download any extra packages and store them on a media you
will be able to access.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Problems with Lenny Installer

2009-02-17 Thread Adrian Levi
2009/2/18 Khristian Alexander Schönrock :
> Adrian Levi escreveu:

>> This will let you reuse your existing partitions.
>>
> That's the problem. I'm selecting the manual partitioning, but it
> doesn't list the existing partitions. The installer simply defaults to
> the screen shown in
> [http://img23.imageshack.us/my.php?image=1602091747bg3.jpg], and going
> back doesn't change anything. This is really annoying.

All I can suggest you do is subscribe to debian-installer and ask your
questions there, I cant understand why the rescue mode would detect
the partitions but install mode wouldn't.

What install media are you using? Could you try another?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch/EVMS upgrade to lenny

2009-02-17 Thread Adrian Levi
2009/2/18 Oliver Dr. Muth :
> Hi
>
> Since lenny dropped support for EVMS I guess it would be fatal to just 
> dist-upgrade an etch system that is based on EVMS volumes.
> However, I could not find anything on this issue in the release notes.
>
> Should I file this as a bug against the release notes? ;-)
> Or am I mistaken here? Is there a way to upgrade without ending up with a 
> system that won't boot?
>
> Best regards

I used to use EVMS under Etch, but haven't upgraded that box yet (I'm
trying to obsolete it).
Are the partitions Native EVMS or are they normal partitions accessed
through the /dev/evms/ mount points?

Have you tried booting the system using the lenny install media and
selecting rescue mode to see if the partitions can still be accessed
without changing your system?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: dvips update

2009-02-17 Thread Adrian Levi
2009/2/17 Rodolfo Medina :
> Does anyone know how I can update, in Etch, my old dvips(k) 5.95a with the
> newest lenny dvips(k) 5.96.1?  Otherwise I'll have to full-upgrade to lenny...
>
> Thanks for any help
> Rodolfo

Add lenny sources to your sources.list
aptitude update
aptitude install dvips(k)

this will pull in any dependencies from lenny it requires.

Change your sources list back to etch,

You could also learn about apt pinning or use backports.org

Note that running a system halfway between distributions is not
recommended, something will break eventually.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: label swap partition

2009-02-17 Thread Adrian Levi
2009/2/18  :
> I'm trying to prepare my etch system for upgrade, and am converting to
> labels in fstab.
>
> I tried to label my swap partition (which is swap type in part table) by doing
> mkswap -L rootswap /dev/hda1  (the current dev name of my swap partition)
>
> but swapon -L rootswap says it can't find the label.
>
> i notice, possibly irrelevant, that cfdisk is seeing the new labels on
> my ext3 partitions, but not the label of the swap partition.
>
> any hints about what I might be doing wrong?

You did a swapoff /dev/hda1 first?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: etch/EVMS upgrade to lenny

2009-02-17 Thread Adrian Levi
2009/2/18 Oliver Dr. Muth :
> Hi Adrian
>
> thanks for the quick reply.
>
>> Are the partitions Native EVMS or are they normal partitions accessed
>> through the /dev/evms/ mount points?
> Most of them are native EVMS, because I occasionally used the snapshot 
> function. They are EVMS on LVM2 on a software RAID.
> I could probably convert them back into "compatibility volumes".
>
> My main goal with EVMS was to have a nice GUI that allows to resize/shrink 
> partitions with different filesystems - without having to remember all 
> commmand line options.
>
>> Have you tried booting the system using the lenny install media and
>> selecting rescue mode to see if the partitions can still be accessed
>> without changing your system?
> I wanted to upgrade via the Net, so I don't have installation media yet.
> I guess the best way is to first convert all volumes back from EVMS to 
> "compatibility"(especially root), then make some space on the RAID and 
> install a minimal lenny as rescue system. I would have to install lenny last, 
> otherwise it would change the grub boot sector and I'd be stuck, right?

You can always skip the installing grub step in the installer.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: debian ftp server that works with windows

2009-02-18 Thread Adrian Levi
2009/2/18 Micha Feigin :
> I tried installing ftpd and ftpd-ssl but when serving local directory through
> ftp to windows machine the see not only the file name but also the time, that
> is instead of seeing directory "Music" I'm seeing the directory "22:31 Music".
> Is there a better ftp daemon or some way to configure it to better behave with
> windows machines?
>
> Thanks

I can suggest vsftp works well all round.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Using Stable Dist modify repos to install/update xen from testing

2009-02-18 Thread Adrian Levi
2009/2/18 Roberto Mason :
> Ooops, wanted to post to the community instead of directly to Mr. Cohen,
> sorry Mr. Cohen, I'll be careful next time :). Here's the repost
>
>  Original Message 
> Subject: Re: Using Stable Dist modify repos to install/update xen from
>  testing
> From:"Roberto Mason" 
> Date:Tue, February 17, 2009 1:05 pm
> To:  "Tzafrir Cohen" 
> --
>
> I just downloaded Lenny before it became stable, and I installed it. it's
> rc2 if I remember correctly. I didn't know they would make it stable the
> day after. I've installed it. with the update and what not, Do I have to
> install Lenny 5.0 stable. I think not. The updates to the release
> candidate make it the stable version I assume.

It would be advisable to change your sources.list to include lenny
sources and security.
Bring your system up to the latest stable.

aptitude update && aptitude safe-upgrade && aptitude clean

RC's aren't stable they are a release candidate, to make sure the
system works as put together.
On that RC install, some of the packages would have since had security
patches applied to them.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: label swap partition

2009-02-18 Thread Adrian Levi
2009/2/18  :
> Adrian Levi  writes:
>
>> 2009/2/18  :
>> > I'm trying to prepare my etch system for upgrade, and am converting to
>> > labels in fstab.
>> >
>> > I tried to label my swap partition (which is swap type in part table) by 
>> > doing
>> > mkswap -L rootswap /dev/hda1  (the current dev name of my swap partition)
>> >
>> > but swapon -L rootswap says it can't find the label.
>> >
>> > i notice, possibly irrelevant, that cfdisk is seeing the new labels on
>> > my ext3 partitions, but not the label of the swap partition.
>> >
>> > any hints about what I might be doing wrong?
>>
>> You did a swapoff /dev/hda1 first?
>>
>> Adrian
>>
>
> After the first attempt and reboot, there was no active swap.  I then
> redid the mkswap, so the simple answer is yes, it was offline.

can you provide the output of:

fdisk -l /dev/hda
and
blkid

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: label swap partition

2009-02-19 Thread Adrian Levi
2009/2/19 Marc Auslander :
> Adrian Levi  writes:

> It follows.  /dev/hda1 looks funny, doesn't it?  Like no UUID.  How do
> I fix?
>
>
> fdisk -l /dev/hda
>
> Disk /dev/hda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>   Device Boot  Start End  Blocks   Id  System
> /dev/hda1   1 996 8000338+  82  Linux swap / Solaris
> /dev/hda2   * 9971604 4883760   83  Linux
> /dev/hda31605   60801   475499902+  83  Linux
> (~)# blkid
> /dev/hda1: TYPE="ntfs"
> /dev/hda2: LABEL="rootfilesys" UUID="ba868810-7835-4f45-bfd4-269125a3084d" 
> SEC_TYPE="ext2" TYPE="ext3"
> /dev/hda3: LABEL="home2filesys" UUID="5e653e2d-c25b-44c6-9331-ba4f8fcb4895" 
> SEC_TYPE="ext2" TYPE="ext3"
> /dev/sda1: UUID="de409046-419c-4629-be16-36378a53e1f3" TYPE="swap"
> /dev/sda2: UUID="a519998d-3306-49eb-8508-a2eb945974ee" SEC_TYPE="ext2" 
> TYPE="ext3"
> /dev/sda3: LABEL="homefilesys" UUID="bce0dc2f-8008-44b7-b7ee-1534181751b7" 
> SEC_TYPE="ext2" TYPE="ext3"

Why do you want 2 swap partitions?
One on sda1 and another on hda1.

Was hda1 at one point a windows partition?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: [OT]: Label printer Dont worry

2009-02-19 Thread Adrian Levi
2009/2/19 Thierry Chatelet :
> On 18 February 2009 06:32:11 Thierry Chatelet wrote:
>> Hi,
>> I need a label printer. I was looking at this one:
>> BROTHER Label Printer N&B P-Touch QL-500A
>> Has anyone used it ?
>> Or can you give me information on a label printer that you use under
>> debian? Thank you.
>> Thierry
>
>
> Looking at the price of the label, my friend decided to wait , and to look for
> an other label printer. Sorry for the noise.
> Thierry

When you do find a label printer that works reliably with linux I'd
like to know for one.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Repeated Raid1 Failures after upgrade to Lenny

2009-02-19 Thread Adrian Levi
2009/2/19 Ryan Wetterich :
> So I upgraded to Lenny over the weekend, and now I'm having issues with my
> RAID1 were there weren't any before. Every few hours one of the devices
> making up any /dev/md will fail. It's usually on /dev/sdb but it's happening
> on /dev/sda as well. I can set the device faulty in mdadm and then readd and
> it builds fine, but then fails again 4 or 5 hours later. I'm new to Linux
> software RAID so i'm hoping someone can point me in the right direction.
>
> Here's some of the output from dmesg:

Do you still have Etch's kernel installed?
Boot from that and see if it continues?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Upgrade procedure: etch -> lenny

2009-02-19 Thread Adrian Levi
2009/2/19 Chris Jones :
> I plan to upgrade to lenny over the weekend:
>
> 1. duplicate current etch system on a new partition
> 2. apt-get update
> 2. replace "etch" by "lenny" in /etc/sources.list
> 3. apt-get dist-upgrade
>
> Am I missing anything?
>
> Note: I do not want apt to mess with my linux kernel.

I like to upgrade in steps,
apt-get upgrade
Then if there are any packages that fail do: dpkg --configure -a
Then incrementally get the system installed by those 2 commands.

Upgrades any packages that have direct replacements,
apt-get dist-upgrade
Upgrades packages that require new packages, conflicts or removes packages.
Then same as above if there are any problems on this stage.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Lenny kernel (2.6.26) hangs

2009-02-20 Thread Adrian Levi
2009/2/21 Dennis Busboom :
> I just upgraded an older machine, PII 400mhz, 256mb RAM, from Etch to
> Lenny.  The upgrade went smoothly, but the new Lenny kernel hangs upon
> booting.  The old Etch kernel (2.6.18) is still present and boots up fine
> into the Lenny upgrade.  When booting from the 2.6.26 kernel, it never makes
> it to the "Uncompressing Linux" stage, only appears to load the kernel and
> the initrd, then just stops.  Ctrl-Alt-Delete will reboot it, so it doesn't
> lock hard, just goes into a coma.  I've re-installed the kernel image and
> have tried a few suggested boot parameters, (noapic, etc,etc) but there is
> no change. Any idea of what might cause it to hang that early in the boot?

What processor architecture is the new kernel compiled for?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Lenny kernel (2.6.26) hangs

2009-02-20 Thread Adrian Levi
2009/2/21 Dennis Busboom :
> I just upgraded an older machine, PII 400mhz, 256mb RAM, from Etch to
> Lenny.  The upgrade went smoothly, but the new Lenny kernel hangs upon
> booting.  The old Etch kernel (2.6.18) is still present and boots up fine
> into the Lenny upgrade.  When booting from the 2.6.26 kernel, it never makes
> it to the "Uncompressing Linux" stage, only appears to load the kernel and
> the initrd, then just stops.  Ctrl-Alt-Delete will reboot it, so it doesn't
> lock hard, just goes into a coma.  I've re-installed the kernel image and
> have tried a few suggested boot parameters, (noapic, etc,etc) but there is
> no change. Any idea of what might cause it to hang that early in the boot?

Just to add, you could install one of the linux-image-686 or
linux-image-2.6-686 meta packages.

The first one depends on the most recent linux kernel, the second one
depends on the most recent 2.6 kernel.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Lenny kernel (2.6.26) hangs

2009-02-20 Thread Adrian Levi
2009/2/21 Dennis Busboom :

> I tried linux-image-2.6-686 and linux-image-686 (for PentiumX machines).
> Both behave the same way. I see the kernel and initrd load, then nothing.
> The old 2.6.18 still boots right up.  I also tried going into the grub
> command-mode and doing a 'testload' on the kernels and initrd images.
> They appear to load just fine, but trying to actually 'boot' them sends
> the machine into never-never-land.  Definitely something this old box
> doesn't like about the new kernal.

Yes, If it's not getting to a kernel panic from unable to rind a root
device then i'm perplexed. You seem to be running the right kernel for
your machine.

Could you try running memtest86+ on it and see if its a memory issue.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Java in Debian 5

2009-02-20 Thread Adrian Levi
2009/2/21 Bret Busby :
> On Fri, 20 Feb 2009, Tzafrir Cohen wrote:
>> On Thu, Feb 19, 2009 at 11:31:27AM -0500, Michael Pobega wrote:
>> If you install the desktop task you also get OpenOffice.org that depends
>> on a Java JRE.

> So, to use Open Office, Java is needed?
>
> I understood that Open Office could be run without Java, unless a person
> wanted to use the Open Office database.

If you install a desktop task then the openoffice.org meta package is
installed and that depends on all of the openoffice packages which
also depends on a java JDK.

You can install the openoffice items separately thereby not requiring
Java to be installed.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Java in Debian 5

2009-02-21 Thread Adrian Levi
2009/2/22 Bret Busby :
> On Sat, 21 Feb 2009, Adrian Levi wrote:
>
>>
>> 2009/2/21 Bret Busby :
>>>
>>> On Fri, 20 Feb 2009, Tzafrir Cohen wrote:
>>>>
>>>> On Thu, Feb 19, 2009 at 11:31:27AM -0500, Michael Pobega wrote:
>>>> If you install the desktop task you also get OpenOffice.org that depends
>>>> on a Java JRE.
>>
>>> So, to use Open Office, Java is needed?
>>>
>>> I understood that Open Office could be run without Java, unless a person
>>> wanted to use the Open Office database.
>>
>> If you install a desktop task then the openoffice.org meta package is
>> installed and that depends on all of the openoffice packages which
>> also depends on a java JDK.
>>
>> You can install the openoffice items separately thereby not requiring
>> Java to be installed.
>>
>> Adrian
>>
>>
>
> Which is yet another reason that many of us want them to reinstate Star
> Office 5.2.
>
> It was far superior to Open Office, and, did not require Java, unless the
> database was to be used, from memory, although I had had a database running
> in at least one version of Star Office 5.x, without Java.

But you can use Openoffice.org without java but for Base, even then
IIRC it's only used for some of the functionality

I found a feally good link [1] that describes exactly what Java
provides in the different components of openoffice.org

aptitude show openoffice.org-writer


Depends: openoffice.org-core (= 1:2.4.1-17+b1), openoffice.org-base-core (=
 1:2.4.1-17+b1), libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libicu38 (>=
 3.8-5), libstdc++6 (>= 4.2.1), libwpd8c2a, libwps-0.1-1, libxml2 (>=
 2.6.27), zlib1g (>= 1:1.1.4)
Recommends: openoffice.org-filter-binfilter, java-gcj-compat | openjdk-6-jre |
sun-java5-jre | sun-java6-jre, openoffice.org-java-common (>
2.2.0-4), openoffice.org-writer2latex, openoffice.org-emailmerge
Suggests: openoffice.org-gcj, openoffice.org-base
Conflicts: openoffice.org-debian-files, openoffice.org-java-common (<= 1:2.3.1),
   openoffice.org2-writer (< 1:2.4.1-17+b1)
Replaces: openoffice.org (< 1.9), openoffice.org-common (< 1:2.3.1),
  openoffice.org-debian-files, openoffice.org2-writer (< 1:2.4.1-17+b1)
Provides: openoffice.org2-writer

If you have issues with Java 'tainting' your system then power to you,
but both Staroffice and Java were invented by Sun Microsystems then
released to the community freely. Open JDK is a completely free
implementation of Java that satisfies the DSFG.
I really don't see what your grumble is.

Adrian

[1]http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Re: Lenny kernel (2.6.26) hangs

2009-02-21 Thread Adrian Levi
2009/2/22 Dennis Busboom :
>> Could you try running memtest86+ on it and see if its a memory issue.
>
> I fired up memtest before leaving last night.  It ran 10 hours, 12 passes
> with no errors.  Only thing I can think of now is to grab some source and
> and roll my own where I can cherry-pick and make some SWAG's (Silly Wild 
> A$$ed Guesses)
> as to what it'll take to make 2.6.26 go. :)
>
> D. C. Busboom

Before you go and do that, It might be worth mentioning something on
the debian-kernel mailing list. The kernel developers may have some
ideas why the 686 kernel fails for you.

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

If they find a solution for you please do report back here with your
findings. I'd be interested in knowing what's going on.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Java in Debian 5

2009-02-21 Thread Adrian Levi
2009/2/22 Celejar :

> I was actually surprised by the fact that I apparently had a bunch of
> java stuff marked as manually installed.  I run aptitude without
> automatic installation of recommends, and I have no idea when I would
> have marked stuff like 'libxom-java' or 'bsh' (BeanShell) as manually
> installed, since I'm not a java dev.

Stuff tends to build up over time. It happens under linux but nowhere
at the speed that I used to find the same thing happening under
Windows.

> I have nothing against it, since it's FLOSS, but I'd rather not have a
> bunch of stuff on my system for functionality that I don't use.  And
> with the greatness that's Debian, if I ever *do* need it, it's only a
> quick and easy 'aptitude install' away.

Isn't that the truth :-)

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Newly obsolete package?

2009-02-21 Thread Adrian Levi
2009/2/22 Umarzuki Mochlis :
> There are 35 newly obsolete packages: bomber, gtk-qt-engine-kde4, kapman,
> kdeedu-kvtml-data, kdepim-groupware, killbots, kmymoney2-common,
> kpartloader,



The 4 packages I checked from that list are in experimental only, My
guess is that if you add an apt pinning line for experimental the
messages might go away.

Another reason might be if they were recently in sid and removed due
to newer versions coming in to experimental they might be classed as
obsolete.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Lenny kernel (2.6.26) hangs

2009-02-23 Thread Adrian Levi
2009/2/23 Dennis Busboom :
> I think I've discovered what's causing the hang, but haven't had time to
> dig into it.  It seems that the video card (huh?!) is the problem.
>
>  lspci -v shows this with the 2.6.28 kernel booted up
>
> 01:00.0 VGA compatible controller: nVidia Corporation NV4 [RIVA TNT]
> (rev 04) (
>Subsystem: VISIONTEK Device 0020
>Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 9
>Memory at f500 (32-bit, non-prefetchable) [size=16M]
>Memory at fc00 (32-bit, prefetchable) [size=16M]
>Capabilities: [60] Power Management version 1
>Capabilities: [44] AGP version 1.0
>Kernel driver in use: rivafb
> 
> On a whim I dropped in a low end VESA PCI card and 2.6.26 boots right
> up.  Put the Nvidia Riva back in, and the hang returns. And people
> wonder why I have ulcers.  :)
>
> D. C. Busboom

What made you suspect the video card?
The 2.6.28 kernel that you are running is vanilla or from unstable?

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: which machine will be affected if virus attacks?

2009-02-23 Thread Adrian Levi
2009/2/23 ██╔►Engr LEO◄╗██ :
> Hi all,
>
> I am running Windows Xp on two systems.. system#1 is connected
> directly to inetrenet.. system#2 uses the shared connection from the



> I have no firewall, no antivirus, nothing on system#1.. system#2 has updated
> antiviruses.. are my virtual machines vulnerable?..



I'd suggest that you install sufficient security for your application
for your host OS.

As for your question about the security of your virtual machines...
All that needs to be said is this: If your host OS gets owned then
your virtual machines get owned.

Adrian

> Thanks and Regards,
> Leo John Thomas,
> Junior Security Analyst
>

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Java in Debian 5

2009-02-23 Thread Adrian Levi
2009/2/24 Bret Busby :
> On Mon, 23 Feb 2009, Paul Johnson wrote:

> I thought that using package management to do system updates, like apt-get
> update followed by apt-get dist-upgrade, removed packages that became
> obsolete, and thence associated files, other than data files created by the
> packages.

By default configuration files are left behind unless you pass the
--purge switch to aptitude or apt-get.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Old PHP on new Debian

2009-03-07 Thread Adrian Levi
2009/3/8 Florian Weimer :
> * Pet:
>
>> /etc/apt/sources.list
>
> This looks fine.  How did you figure out that you had installed PHP
> 5.1.6?

He doesn't have it installed, he wants it installed.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: smart

2009-03-08 Thread Adrian Levi
2009/3/8 randall :
> hi all,

G'Day.

> smartctl --all /dev/sde
> gives me the following, i've been trying to google this but some sources say
> replace the disk at once or don't wory, its harmless. Anybody can shed some
> light?

>  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always
>   -       35

This one above indicates that you drive is developing bad sectors. All
drives come with 'spare' sectors that can be remapped to the usable
space if ine or more becomes bad. Your drive has reallocated 35 bad
sectors and is most likely out of spares. Regardless the drive is
failing and must be replaced. In addition to that the data that was
stored on those 35 previously bad sectors is most likely irretrievably
lost. I hope that your raid setup has saved you from this data
corruption.

> Num  Test_Description    Status                  Remaining  LifeTime(hours)
>  LBA_of_first_error
> # 1  Extended offline    Completed: read failure       10%      9849
> 917923767

...

> #13  Extended offline    Completed: read failure       40%      8002
> 675183097

Your disc has been steadily failing for the last ~1800 hours.
Buy a replacement and swap it out asap.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Ext3 for flash drive

2009-03-12 Thread Adrian Levi
2009/3/12 Bob Cox :
> On Wed, Mar 11, 2009 at 22:14:59 -0700, Mike McClain (mike.j...@nethere.com) 
> wrote:
>
>> On Wed, Mar 11, 2009 at 12:38:35PM +0100, Jens Van Broeckhoven wrote:
>> > Masatran / Deepak, R. wrote:
>> > >Recently, I re-partitioned my flash drive. I made one FAT32 partition, and
>> > >one Ext3 partition. The problem is that when I transfer files from my
>> 
>> > Why so many difficult answers?
>> > If you normally use ext3, use ext2(ext3 without journalizing) on your
>> > flash drive.
>> >
>> > Even Windows supports it.
>> >
>>
>> I did not know that.
>> Which versions of Windows can read ext2?
>
> Windows 95/98/2000/XP/NT definitely.  Not sure about Vista.
>
> Google for explore2fs.

Or ext2ifs
Installable file system.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: SMART -d ata or -d sat

2009-03-12 Thread Adrian Levi
2009/3/13 Norbert Zeh :
> Hi Debianites,
>
> I have just installed smartmontools on my Lenny box and am using smartd
> to monitor two SATA IDE drives.  I've read on the web that the right
> option to use for such a drive is "-d ata" to force smartd to treat it
> as an ATA drive.  On the other hand, when starting smartd without any -d
> switch for the two drives in smartd.conf, smartd reported that it is
> automatically using "-d sat" for ATA disk behind SAT layer.
>
> smartd does not complain with either, -d sat or -d ata.  The only
> difference is that, in the first case, it reports to be monitoring two
> SCSI drives, while in the latter it says they're ATA drives.
>
> So I'm a bit confused about which of the two switches, sat or ata, is
> the correct one to use.  Or maybe it doesn't matter.  Any pointers are
> appreciated.

SATA drives are ATA drives on a serial interface.
-d ata is correct. I haven't heard of, or any experience with -d sat.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: pppd curiosity

2009-03-15 Thread Adrian Levi
2009/3/15 Umarzuki Mochlis :
> --> Sending:
> ATZ
> ATZ
> OK
> --> Sending:
> AT+CGDCONT?
> AT+CGDCONT?
> +CGDCONT:
> 1,"IP","my3g","0.0.0.0",0,0
> OK
> --> Modem
> initialized.
> --> Sending:
> ATDT*99#
> --> Waiting for
> carrier.
> ATDT*99#
> CONNECT
> --> Carrier detected.  Starting PPP
> immediately.
> --> Starting pppd at Sun Mar 15 19:24:44
> 2009
> --> Warning: Could not modify /etc/ppp/pap-secrets: Permission
> denied
> --> --> PAP (Password Authentication Protocol) may be
> flaky.
> --> Warning: Could not modify /etc/ppp/chap-secrets: Permission
> denied
> --> --> CHAP (Challenge Handshake) may be
> flaky.
> --> Pid of pppd: 4351
>
> Does it somehow reduce the performance of my modem when it cannot modify
> /etc/ppp/pap-secrets and /etc/ppp/chap-secrets? What does those do anyway?

What sent the AT commands to the modem? You or some other program? I
can't understand how you sending AT commands can initiate a ppp
session.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: pppd curiosity

2009-03-16 Thread Adrian Levi
2009/3/16 Umarzuki Mochlis :
> Frankly, I don't really know how to answer that other than giving you the
> full dialing message

What was the command you typed to get that message?
PS I am subscrubed, you don't need to email me, just the list is fine.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Stock kernel - it works everywhere because?

2009-03-20 Thread Adrian Levi
2009/3/20 Matthew Smith :
> Hi Folks
>
> Nearing the end of my journey now (Gentoo to Debian migration.)  Setting up
> VMware Workstation from the official distribution (this is the commercial
> one that I use) requires me to re-build the kernel so that it and the VMware
> modules are compiled with the same version of gcc.
>
> I derived the .config for the kernel I am building from /proc/config.gz
>
> This is a HUGE build, taking forever.  May sound like a daft question, but
> is the ease-of-use of the stock kernel due to the fact that drivers for
> EVERYTHING are built as modules?
>
> Not used to distros that just work - especially with odd wireless drivers -
> so forgive me if I sound a little stunned!

Everything is compiled as modules, necessary items are included in an
initrd image that is loaded at boot time. so that the modules are
available for thins such as mounting you preferred file system and the
modules to access the required block device.

If everything was compiled in the kernel would work just as well but
it would be huge!

Note that (at least there used to be) specific Debian patches applied
to the Debianised kernel sources to allow things such as a cramfs
initrd. I am not sure if this is still the case for cramfs
specifically (may have been merged into the vanilla kernel) but there
are still specific kernel patches applied AFAIK.

Welcome to Debian propper!  ;-)

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Top posting vs Bottom posting

2009-03-22 Thread Adrian Levi
2009/3/23 Christofer C. Bell :

> This isn't true.  Come enter the 21st Century, it started nearly a decade
> ago. ;-)  Top posting works well in a modern threaded mail reader (all of
> which, incidentally, support HTML email).  Because *you* are a curmudgeon
> doesn't mean everyone else has to be. ;-)
> Your example looks like this in a threaded mail reader:
> Mail 1: Q: What is the most annoying thing in e-mail?
> Mail 2: A: Top-posting.
> Mail 3: Q: Why is top-posting such a bad thing?
> Mail 4: A: Because it messes up the order in which people normally read
> text.
> It looks no different than a discussion forum or other normal conversation.
>  In fact, reading bottom-posted threads in a *modern mail reader* is
> annoying as it forces the reader to display a bunch of extraneous
> unnecessary text (the quoted material).  I just read it in the previous
> post, I don't need to see it again.
> I bottom-post out of force of habit, however, it's archaic and generally
> unnecessary.
> --
> Chris

Now imagine you are CC'd in on the conversation with no warning at
Mail 4, Now try to sort out why you have been CC'd in through all the
fancy fonts|colours, underlining background pictures, flashing text
and the like in an email that is now (to print it) 5 A4 pages long.

IMHO Personally I despise HTML and anything 'fancy' if it dosen't add
to the message it's noise.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



  1   2   3   >