Re: [SLUG] dd speed (copying whole disks)

2003-12-15 Thread Grant Parnell
We should point out that this method is only close to efficient when the 
source disk is nearly full of data. This is because you're copying the 
blank space too. Still, if you're happy to leave it running over a weekend 
it's the easiest way to get the lot.

The other way if you're savvy and in a hurry is to manually use fdisk to 
create the partitions, then mke2fs (or whatever fs you're using) the 
partitions then mount  copy the files using cpio or something.


On Mon, 15 Dec 2003, Dave Airlie wrote:

 
 should be good enough at udma2/5, 5 relies on the 80-pin cable and I'd say
 the secondary i/f isn't udma5 capable..
 
 so it shouldn't take a major amount of time to copy a drive with those
 setings... (not sure exactly how long ...)
 
 Dave.
 
 On Mon, 15 Dec 2003, Simon Males wrote:
 
 
  Dont know anything about *DMA stuff...
 
  /dev/hda
  DMA modes: mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 
  /dev/hdc
  DMA modes: mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
 
  I guess udma2 is bad?!
 
  --
  Simon Males [EMAIL PROTECTED]
  No More AOL CDs Australia - www.anticd.org
 
  Dave Airlie wrote:
   Check that you have DMA switched on both drivers with hdparm ..
  
   otherwise this could take a long time :-)
  
   Dave.
  
 
 
 

-- 
---GRiP---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver  rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Freedom and Alternatives

2003-12-15 Thread Ken Foskey

Groklaw rules again.  It has a great article on the GPL.  I must admit I
did not understand it properly.

http://www.groklaw.net/article.php?story=20031214210634851

-- 
Thanks
KenF
OpenOffice.org developer

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk imaging software

2003-12-15 Thread DaZZa
On Mon, 15 Dec 2003, Lindsay Holmwood wrote:

 G'day,
 I just received a laptop from my school to use over the holidays, but it has
 Windows 2000 installed on it at the moment. I want to install Linux on it,
 but that would involve removing the current OS.

 Can anyone suggest any tools that I can use to make an image of the hard
 disk and restore it at the end of the break?

How much free disk space do you have?

Instead of removing W2K, reduce the partition size to give free space, and
install a dual boot W2K/Linux setup.

Alternately, if this is unfeasible, see if you can scam a copy of Ghost
from somewhere.

DaZZa

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ot: reading btrieve DOS data files ?

2003-12-15 Thread DaZZa
On Mon, 15 Dec 2003, Voytek wrote:

 I have a user with an old DOS based accounting (Pastel), the data files are
 in some sort of btrieve files, are there any tools to open such to extract
 data ? either from a Linux system, or, otherwise

btrieve was a databaseing system used by Novell for some internal files,
and licensed to a number of other ventures {RecFind is one I can recall
off the top of my head}.

A quick google search finds there's something on sourceforge - try this
URL

http://sourceforge.net/projects/btrtools/

DaZZa

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Disk imaging software

2003-12-15 Thread David Kempe
Lindsay Holmwood wrote:
Can anyone suggest any tools that I can use to make an image of the hard
disk and restore it at the end of the break?
partimage will do what you want.
its on Knoppix. www.knoppix.net
www.partimage.org
on that site is also a number of boot disks that have partimage on them.
ghost is a little bit better than it (more flexible and powerful), 
however partimage will scrape by for what you need.
NTFS might be a problem, but I think the most recent versions support NTFS.
if you want a knoppix CD, you can drop into our Hornsby office to pick 
one up anytime - free! (contact me off list for details)

dave

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] dd speed (copying whole disks)

2003-12-15 Thread David Kempe
Simon Males wrote:
Im copying 40g drive onto a 120g drive. I am using a CD live type linux 
distro.
you could use partimage and ext2resize.
www.partimage.org
dave

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread Nick Croft
Evening list,

I've been extra preoccupied for the last couple of months. 

Today I took the time to look around and noticed a huge number of /var/log/samba 
messages, all of the form:

[2003/12/15 21:51:00, 1] smbd/service.c:make_connection(766)
make_connections: refusing to connect with no session setup

Among the thousands of logs - each for a separate source address, some have
made over a thousand attempts to connect.

First of all, my password on the gateway wasn't good enough, I've fixed that
(I think), and the attempts have stopped. I'll admit I have been a bit slack
wrt the root password.

I don't want to insert an iptable INPUT rule for each of these addresses.
Since these attempts are log as /var/log/samba, is there a way of blocking
attempted samba connections.

I would have thought that the stateful rules would have knocked this
category out with even getting as far as a samba log. 

Any help on a rule here would be much appreciated.

Nick


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread David Kempe
Nick Croft wrote:
Any help on a rule here would be much appreciated.
you have samba listening on an internet interface?
turn that one off...
I think the directive is listen on, or bind to or something.
its just not a great idea to have samba listening on an internet 
interface if you can help it.
most of your traffic would probably be worms of one form or another.
nachi in particular can chew a 512K connection to max capacity easily..

dave

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Auto Mount Win Non password share folder 2

2003-12-15 Thread Phillipus Gunawan
Okay, I really can't figure it out... I just want to auto mount at
starup to mount windowz fodler share into my linux box. I add this line
into my /etc/fstab:

//192.168.0.4/shareit   /mnt/windowzsmbfs   auto,guest 0 0

This is what I've got in my log file at startup:

 tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
 SMB connection failed

What should I do then? Anyway, if I manually mount with smbmount,
everything works fine.

Another question, if I manually mount a folder which has a long folder
name with:

smbmount //windowzz/Shared\ Folder /mnt/windowzz

it works fine. But if I it in fstab, they will say ' . bad line' (it
pinting me that fstab has a bad line anyway)

What should I put in fstab as a replacement of 'Shared\ Folder'? Maybe
fstab can not handle long folder name?

Thanks,

Phillip.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] MS to charge for FAT file system

2003-12-15 Thread James Gray
Kevin Waterson wrote:
MS is set to begin charging  a license fee for FAT file system
FAT is used by camera manufacturers and more importantly is
used on Compact Flash cards used by digital cameras.
http://www.dpreview.com/news/0312/03120403microsoftisfat.asp

enjoy
Kevin
Maybe I'm over-simplifying things but the way I see it the feature set 
for a solid-state (small-ish) media is something along the lines of 
cramfs or one of those other minimalist open-source formats etc. 
Assuming manufacturers could agree on a format (yeh, big IF...can 
anyone say DVD write/rewrite formats??) the code required to write a 
winblows driver to suit would be relatively small.  Cut M$ out, get rid 
of that shitty FAT12/FAT16/FAT32 format, raise awareness of OSS 
etceveryone wins!

But like I said, I may be over-simplifying it :)

--James

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Auto Mount Win Non password share folder 2

2003-12-15 Thread Peter Hardy
Phillipus Gunawan wrote:
Okay, I really can't figure it out... I just want to auto mount at
starup to mount windowz fodler share into my linux box. I add this line
into my /etc/fstab:
//192.168.0.4/shareit	/mnt/windowz	smbfs	auto,guest 0 0

This is what I've got in my log file at startup:

 tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
 SMB connection failed
What should I do then? Anyway, if I manually mount with smbmount,
everything works fine.
Exactly what command are you using to mount it that's working?

Remember that, when your system is booting, it's mounting filesystems 
with mount, not smbmount calls (probably just doing mount -a).  In 
theory there's no difference, but you should probably be testing using 
mount instead of smbmount..

What should I put in fstab as a replacement of 'Shared\ Folder'? Maybe
fstab can not handle long folder name?
Have you tried escaping with double quotes instead of the backslash? ie: 
adding //windowzz/Shared Folder, including quote marks, instead of 
//windowzz/Shared\ Folder ?

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread Grant Parnell
Just backing up what David said... 
for example in/etc/samba/smb.conf
interfaces = 127.0.0.0/255.0.0.0 192.168.0.0/255.255.255.0

Also, block ports 137,138,139,445 udp  tcp with the firewall. EG
iptables -A INPUT -i ppp0 -p udp --dport 137:139 -j DROP
iptables -A INPUT -i ppp0 -p udp --dport 445 -j DROP
iptables -A INPUT -i ppp0 -p tcp --dport 137:139 -j DROP
iptables -A INPUT -i ppp0 -p tcp --dport 445 -j DROP
assuming your public interface is ppp0
You could also -j LOG but as you've already discovered there's thousands 
of attempts on these ports so you'd just be migrating from /var/log/samba 
to /var/log/messages or something like that. IE not worth logging.
Also as David said there's worms but there's also stray broadcast traffic 
if you're on something like cable internet. I did an arp listing on one 
client's firewall and got about 60 hosts that weren't theirs!

Oh and if by chance you really need to use SMB/CIFS over the internet,
tunnel it instead. That's a whole other topic. The other way is to allow
specific hosts through your firewall but since there's broadcast traffic
(possibly from the other end) people can snoop stuff quite easily.

 On Mon, 15 Dec 2003, Nick 
Croft wrote:

 Evening list,
 
 I've been extra preoccupied for the last couple of months. 
 
 Today I took the time to look around and noticed a huge number of /var/log/samba 
 messages, all of the form:
 
   [2003/12/15 21:51:00, 1] smbd/service.c:make_connection(766)
   make_connections: refusing to connect with no session setup
 
 Among the thousands of logs - each for a separate source address, some have
 made over a thousand attempts to connect.
 
 First of all, my password on the gateway wasn't good enough, I've fixed that
 (I think), and the attempts have stopped. I'll admit I have been a bit slack
 wrt the root password.
 
 I don't want to insert an iptable INPUT rule for each of these addresses.
 Since these attempts are log as /var/log/samba, is there a way of blocking
 attempted samba connections.
 
 I would have thought that the stateful rules would have knocked this
 category out with even getting as far as a samba log. 
 
 Any help on a rule here would be much appreciated.
 
 Nick
 

-- 
---GRiP---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver  rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] MS to charge for FAT file system

2003-12-15 Thread Grant Parnell
On Mon, 15 Dec 2003, James Gray wrote:

 Kevin Waterson wrote:
  MS is set to begin charging  a license fee for FAT file system
  FAT is used by camera manufacturers and more importantly is
  used on Compact Flash cards used by digital cameras.
  
  http://www.dpreview.com/news/0312/03120403microsoftisfat.asp
  
  enjoy
  Kevin
 
 Maybe I'm over-simplifying things but the way I see it the feature set 
 for a solid-state (small-ish) media is something along the lines of 
 cramfs or one of those other minimalist open-source formats etc. 
 Assuming manufacturers could agree on a format (yeh, big IF...can 
 anyone say DVD write/rewrite formats??) the code required to write a 
 winblows driver to suit would be relatively small.  Cut M$ out, get rid 
 of that shitty FAT12/FAT16/FAT32 format, raise awareness of OSS 
 etceveryone wins!
 
 But like I said, I may be over-simplifying it :)

I like your idea and, of course, microsoft are going to include it in 
their upgrades  later releases  cut themselves out of million$. 

Yeah I know... the camera suppliers can supply the drivers but for 
which version of windows, which ones conflict with other cameras ... oh 
what fun for mom-n-pop out there.

P.S. cramfs probably not the best choice, not made for writing files 
really. It's great for read-only filesystems though.

-- 
---GRiP---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver  rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread Torquemada

Hi,

you should be firewalling ports 135-139 inclusive (not 137-139)

kind regards
Norman

On Tue, 16 Dec 2003, Grant Parnell wrote:

 Just backing up what David said...
 for example in/etc/samba/smb.conf
 interfaces = 127.0.0.0/255.0.0.0 192.168.0.0/255.255.255.0

 Also, block ports 137,138,139,445 udp  tcp with the firewall. EG
 iptables -A INPUT -i ppp0 -p udp --dport 137:139 -j DROP
 iptables -A INPUT -i ppp0 -p udp --dport 445 -j DROP
 iptables -A INPUT -i ppp0 -p tcp --dport 137:139 -j DROP
 iptables -A INPUT -i ppp0 -p tcp --dport 445 -j DROP
 assuming your public interface is ppp0
 You could also -j LOG but as you've already discovered there's thousands

-- 
Epsilon-6! Ph:+612 8807-4780   Fax: +612 8807-4498
E-Solutions for BSD and Linux   http://www.paladincorp.com.au/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Freedom and Alternatives

2003-12-15 Thread Alan L Tyree
On Mon, 2003-12-15 at 18:48, Ken Foskey wrote:
 
 Groklaw rules again.  It has a great article on the GPL.  I must admit I
 did not understand it properly.
 
 http://www.groklaw.net/article.php?story=20031214210634851
A very good article, thanks Ken. Although it refers to American law, I
think that it applies equally to Australian law.
Cheers,
Alan
 
 -- 
 Thanks
 KenF
 OpenOffice.org developer
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 
-- 
--
Alan L Tyree
http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread Grant Parnell
On Tue, 16 Dec 2003, Torquemada wrote:

 
 Hi,
 
 you should be firewalling ports 135-139 inclusive (not 137-139)
 

Hmm probably, they're not in my /etc/services file do you know what
they're for? (ie 135  136) 

Naturally I block everything and log attempts unless the customer requests
otherwise, I tend to add specific rules for the CIFS ports (and some
others) just to keep the noise in the logs down.

-- 
---GRiP---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver  rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread Nick Croft
* Grant Parnell ([EMAIL PROTECTED]) wrote:
 Just backing up what David said... 
 
 Also, block ports 137,138,139,445 udp  tcp with the firewall. EG
 iptables -A INPUT -i ppp0 -p udp --dport 137:139 -j DROP
 iptables -A INPUT -i ppp0 -p udp --dport 445 -j DROP
 iptables -A INPUT -i ppp0 -p tcp --dport 137:139 -j DROP
 iptables -A INPUT -i ppp0 -p tcp --dport 445 -j DROP
 assuming your public interface is ppp0
 You could also -j LOG but as you've already discovered there's thousands 
 of attempts on these ports 

Thanks Grant,

I had stopped samba, but now I've got rid of it altogether.
Just for now I'm logging it out of curiosity, but htere's about 1 a minute,
so that's very temporary.

Thanks also to David last night.

Nick



pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread John Clarke
On Tue, Dec 16, 2003 at 09:26:47 +1100, Grant Parnell wrote:

 Hmm probably, they're not in my /etc/services file do you know what
 they're for? (ie 135  136) 

Port 135 is Microsoft's DCE locator service, a service similar to the
Sun RPC portmapper.  It was the target of one of the recent worms.  I
have no idea what uses port 136.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] 7000+ /var/log/samba messages in 6 weeks (?!)

2003-12-15 Thread Torquemada
Howdy,

everything to do with windows, just feels better blocking 135:139 and 445

ms names it for remote-procedure: 135/TCP   RPC *

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q179/4/42.aspNoWebContent=1

my /etc/services file names them:

loc-srv 135/tcpepmap#Location Service
loc-srv 135/udpepmap#Location Service

IANA names them ditto:

epmap   135/tcpDCE endpoint resolution
epmap   135/udpDCE endpoint resolution
profile 136/tcpPROFILE Naming System
profile 136/udpPROFILE Naming System

http://www.iana.org/assignments/port-numbers

smbd/nmbd shouldn't? be listening on all ports on a linux server,
but it doesn't hurt to block everything to do with windows
inwards/outwards at the firewall :)

nmap reports:

PORTSTATE  SERVICE
137/udp open   netbios-ns
138/udp open   netbios-dgm
139/tcp open   netbios-ssn


kind regards,
Norman

On Tue, 16 Dec 2003, Grant Parnell wrote:

 On Tue, 16 Dec 2003, Torquemada wrote:

 
  Hi,
 
  you should be firewalling ports 135-139 inclusive (not 137-139)
 

 Hmm probably, they're not in my /etc/services file do you know what
 they're for? (ie 135  136)

 Naturally I block everything and log attempts unless the customer requests
 otherwise, I tend to add specific rules for the CIFS ports (and some
 others) just to keep the noise in the logs down.

-- 
Epsilon-6! Ph:+612 8807-4780   Fax: +612 8807-4498
E-Solutions for BSD and Linux   http://www.paladincorp.com.au/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Prospero Data Access on 1525 1526

2003-12-15 Thread Nick Croft
* Torquemada ([EMAIL PROTECTED]) wrote:
 Howdy,
 
 everything to do with windows, just feels better blocking 135:139 and 445
 
Thanks for all these tips.

I pointed nmap at the machine and found a weird one

1526/tcp open pdap-np

which is listed as Prospero Data Access. I wonder what on earth it's doing 
on a simple machine like mine. It was a desktop machine converted into a
gateway rather hastily, but i don't understand what the service is used for.

Nick


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Prospero Data Access on 1525 1526

2003-12-15 Thread David Kempe
On Tue, 2003-12-16 at 10:52, Nick Croft wrote:
   1526/tcp open pdap-np
 
 which is listed as Prospero Data Access. I wonder what on earth it's doing 
 on a simple machine like mine. It was a desktop machine converted into a
 gateway rather hastily, but i don't understand what the service is used for.

google search for port 1526 tcp
seems to be associated with informix and/or other sql stuff.
did you have an sql server on that desktop?

lsof will help too.

dave

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Prospero Data Access on 1525 1526

2003-12-15 Thread Nick Croft
* David Kempe ([EMAIL PROTECTED]) wrote:

 google search for port 1526 tcp
 seems to be associated with informix and/or other sql stuff.
 did you have an sql server on that desktop?
 
Yes Dave,

I think it must be to do with the perl DBI module, which prides itself on 
being able to do all sorts of transactions with all sorts of postgres or
oracle type servers.

More stuff to tighten up. I'm losing that niggling feeling of paranoia the
more rules I insert, and the more services I stop.

Nick


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Prospero Data Access on 1525 1526

2003-12-15 Thread Jeff Waugh
quote who=Nick Croft

 I think it must be to do with the perl DBI module, which prides itself on 
 being able to do all sorts of transactions with all sorts of postgres or
 oracle type servers.

That's just a module, not something running against the port. Use netstat
-pan to find out what's using it.

 More stuff to tighten up. I'm losing that niggling feeling of paranoia the
 more rules I insert, and the more services I stop.

Close everything, and open what you need. I'd recommend setting up shorewall
and going through its policy documentation. Nice and easy, very flexible.

- Jeff

-- 
Come to gnome.conf.au 2004!   http://www.gnome.org/~jdub/2004/gnome.conf.au/
 
I'm just mucking round down the shallow end of the literary pool, I
  suppose. - Mick Molloy
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] gnome terminal vs konsole

2003-12-15 Thread David Kempe
Hey Sluggers,
just switched my work box over and this one is running debian unstable
gnome 2.2
my gnome term version is 2.2.2
I used to enjoy the feature in konsole of multiple shell tabs in one
window. I can do something similar in gnome2.2 with the new tab option,
however I have a few questions;
whats the shortcut key to switch between the tabs?
can you echo the input of one tab to all the tabs?
konsole has this handy feature where one tab can be like the master, and
whatever you type in there gets typed in all the konsoles. useful for
admining lots of boxes at once :)
does gnome-terminal have something similar? or an alternate terminal?
or maybe some screen trickery?

thanks

dave

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] gnome terminal vs konsole

2003-12-15 Thread Jeff Waugh
quote who=David Kempe

 I used to enjoy the feature in konsole of multiple shell tabs in one
 window. I can do something similar in gnome2.2 with the new tab option,
 however I have a few questions;
 whats the shortcut key to switch between the tabs?

alt-1, alt-2, alt-3 and so on, for quick switching to specific tabs, or
ctrl-pageup, ctrl-pagedown for cycling.

 can you echo the input of one tab to all the tabs?
 konsole has this handy feature where one tab can be like the master, and
 whatever you type in there gets typed in all the konsoles. useful for
 admining lots of boxes at once :)

That's... well, I would call it a horrific idea. There are better ways of
doing these kinds of admin tasks than having crackrock features in your
terminal emulator (expect, cfengine, and so on).

There was a slashdot troll about some dude who wrote a curses version of
expose (the panther direct-manipulation window switching method) for working
on multiple machines at the same time. Great pisstake value, although, now
I'm scared that it was only funny due to the element of truth...

- Jeff

-- 
Come to gnome.conf.au 2004!   http://www.gnome.org/~jdub/2004/gnome.conf.au/
 
   (Hint: IRC clients don't usually do DVD and VCD playback). - Bastien
   Nocera
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] gnome terminal vs konsole

2003-12-15 Thread James Gray
On Tue, 16 Dec 2003 12:57 pm, Jeff Waugh wrote:
 quote who=David Kempe

  I used to enjoy the feature in konsole of multiple shell tabs in one
  window. I can do something similar in gnome2.2 with the new tab option,
  however I have a few questions;
  whats the shortcut key to switch between the tabs?

 alt-1, alt-2, alt-3 and so on, for quick switching to specific tabs, or
 ctrl-pageup, ctrl-pagedown for cycling.

  can you echo the input of one tab to all the tabs?
  konsole has this handy feature where one tab can be like the master,
  and whatever you type in there gets typed in all the konsoles. useful
  for admining lots of boxes at once :)

 That's... well, I would call it a horrific idea. There are better ways of
 doing these kinds of admin tasks than having crackrock features in your
 terminal emulator (expect, cfengine, and so on).

 There was a slashdot troll about some dude who wrote a curses version of
 expose (the panther direct-manipulation window switching method) for
 working on multiple machines at the same time. Great pisstake value,
 although, now I'm scared that it was only funny due to the element of
 truth...

 - Jeff

Whilst I agree with your sentiments about simultaneously entering data on 
many machines from a terminal emulator, I was wondering if the gnome 
terminal emulator had the ability to monitor sessions for activity or lack 
of it?

Konsole has a nifty feature that changes the icon on the tab (and IIRC can 
optionally play a sound too) to indicate a lack of console activity or the 
presence of console activity (selectable on the menu).  I find those two 
features to be some of the most useful in konsole - especially when doing 
stuff like compiling code on one machine and waiting for a command to 
finish on another while I cruise Usenet on a 3rd etc.

I've been on a staple KDE diet since about version 2.0 and haven't really 
looked at Gnome in a long time (I watch the developement of Gnome, but 
don't use it personally).

--James
__
A random quote of nothing:

Any coward can sit in his home and criticize a pilot for flying into a
mountain in a fog.  But I would rather, by far, die on a mountainside
than in bed.  What kind of man would live where there is no daring?
And is life so dear that we should blame men for dying in adventure?
Is there a better way to die?
-- Charles Lindbergh

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] gnome terminal vs konsole

2003-12-15 Thread David Kempe
On Tue, 2003-12-16 at 12:57, Jeff Waugh wrote:
 That's... well, I would call it a horrific idea. There are better ways of
 doing these kinds of admin tasks than having crackrock features in your
 terminal emulator (expect, cfengine, and so on).

I haven't actually used it for about 6 months, but in the transition it
was just something I missed. I can live without it no worries.
expect and cfengine are a little heavy for the type of stuff I was
considering - you just login to say 4 boxes seperatly, and if you need
to do somethings that are the same you do it, then once you are finished
you just toggle the feature off.
I am sure the KDE guys thought it through.

the monitoring a session feature that James raised it also really
useful, which is something I do use all the time now I think about it.
only just switch so maybe there is something else I am missing...

dave

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] gnome terminal vs konsole

2003-12-15 Thread Jeff Waugh
quote who=David Kempe

 I am sure the KDE guys thought it through.

*think*think*think* ... heck, it is just another menu item!

  ;-)

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/
 
   Stupidity is used to run 98% of the world's corporations, which tops
  UNIX server usage by quite a bit. - George Lebl
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] gnome terminal vs konsole

2003-12-15 Thread Jeff Waugh
quote who=James Gray

 Whilst I agree with your sentiments about simultaneously entering data on
 many machines from a terminal emulator, I was wondering if the gnome
 terminal emulator had the ability to monitor sessions for activity or lack
 of it?

No, it doesn't! That's a bummer, that was very handy when I used powershell
on 1.x (I use screen instead of tabs these days). I wonder if there's an
open bug about that...

(Another option for GNOME terminal emulators is multi-gnome-terminal, which
was 1.x-based, but I think it's been ported now. It suffers from featuritis
though.)

- Jeff

-- 
Come to gnome.conf.au 2004!   http://www.gnome.org/~jdub/2004/gnome.conf.au/
 
  There is a very fine line between 'hobby' and 'mental illness'.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] dd speed (copying whole disks)

2003-12-15 Thread Bret Comstock Waldow
My situation is a bit different - I'm copying between identical drives. 
I wonder if geometry translation might be a factor?

Also, are both drives IDE and on the same channel (both Primary or both
Secondary)?  Given you're reporting hda and hdc I suspect no.  The other
device on the channel (like a slow CD) will limit the disk to it's
limit, so maybe that's slowing down hdc in your case.  I copy hda to
hdc, but I have no hdb or hdd at the same time, so both channels run at
the disk's full speed(s).

My 20G disk copies in 2 hours and 40 minutes.  I've experimented with
different bs= settings, and haven't noted much variance between them.  I
run date; dd if=/dev/hda of=/dev/hdc bs=16384k; date.  Someone
suggested I use time but my Tom's RootBoot diskette doesn't include
time.

Cheers,
Bret

On Mon, 2003-12-15 at 10:58, Simon Males wrote:
  Im copying 40g drive onto a 120g drive. I am using a CD live type linux 
 distro.
 
 using the command
 
 # dd if=/dev/hda of=/dev/hdc bs=2048k
 
 The thing is I dont know if its working, dd gives no active feedback. I 
 dont think i could even ^C it. I left it running for some 12hrs, hard 
 reboot, jumped back to fdisk and a partition table was written of some 
 sort (well there was a hdc1 now, just like how there was only hda1). It 
 was fresh from the shop, so the disk was completely blank.
 
 First time i tried, while dd was running I did a `fdisk -l /dev/hdc` and 
 I was given constant hdc errors. So basically can I query the 
 destination the disk and see...something?!
 
 Further, is
 
 # cat /dev/hda  /dev/hdc
 
 slower than doing the above dd command? I've had cat running for around 
 22hrs now.
 
 I have a little theory that running top may freeze the process, because 
 since running top once, the dd or cat process cpu time has not changed.
 
 -- 
 Simon Males [EMAIL PROTECTED]
 No More AOL CDs Australia - www.anticd.org

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug