[EUG-LUG:3315] Re: Windows Networking traffic...

2001-10-19 Thread Kahli R. Burke

Tim,

If you've got the router or firewall set to drop these packets, that 
should do it.  There isn't anything you need to do on the clients.  I 
would try a test on a client to make sure the router/firewall is 
configured properly.


Kahli

Tim Howe wrote:

I currently prevent traffic on ports 137-139 from leaving our network.
Is there anything else that must be blocked to prevent this traffic from
leaking out?

TimH







[EUG-LUG:3459] Re: red hat questions

2001-10-26 Thread Kahli R. Burke

Justin,

You can run netcfg (in X) that will let you set up hosts, names, 
routing, etc.  This utility modifies the files in /etc/sysconfig/, 
namely network and other files in network-scripts/, so you could modify 
them by hand too.  

I don't believe red carpet comes with redhat, at least not with 7.1. 
 You might want to check the RedHat/RPMS/ directory on the CD's and see 
if the package is there.  Otherwise download from ximian.

Kahli

Justin Bengtson wrote:

ah, the inevitable...

so red hat installed.  found my hardware.  the music is playing once again
(all that truly matters in life...).

my cable modem had an outage last night so i didn't have a chance to try out
the network.  i tried this morning before work and couldn't get it working,
although i may just need to restart the firewall.

where are the network config files in redhat?  /etc is different than debian
(duh...).  is there a configurator i should be using instead?  i found one
but it didn't seem to help.

also, i can't seem to find red carpet.  does this come with red hat, or do i
need to download it from somewhere?

thanks in advance!

---
Justin ([EMAIL PROTECTED])
---







[EUG-LUG:3527] Re: ANNOUNCEMENT: November PLUG Meeting

2001-10-29 Thread Kahli R. Burke

Anyone planning on attending this?  The presentation sounds interesting. 
If a few people are going, we should set up a car-pool so everyone's not 
driving...




[EUG-LUG:3529] AMD Tech Tour

2001-10-29 Thread Kahli R. Burke

Mr. O,

Can you elaborate on the tech tour of give us a link?

Kahli




[EUG-LUG:3545] Re: ANNOUNCEMENT: November PLUG Meeting

2001-10-30 Thread Kahli R. Burke

I will plan on driving up to this then, Ben you can get a ride with me, 
and I'll have room for one or two more if anyone's interested.  We can 
either find a central place to meet and pick people up, or I could pick 
people up at their houses if that's easier.  I'm guessing we'd have to 
leave before 5 to get there by 7, but I haven't made this drive before. 
 Is two hours enough time?

Kahli




[EUG-LUG:3550] Re: ANNOUNCEMENT: November PLUG Meeting

2001-10-30 Thread Kahli R. Burke

Ok,

My car is full now.  It sounds like we should leave around 4 to give 
us a big enough buffer.  Ben, Seth, Justin,  why don't we take this off 
the list, mail me directly to coordinate our plans...

Kahli

oh, i'd like to go, too.  :)

-Original Message-
From: Kahli R. Burke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 3:13 PM
To: [EMAIL PROTECTED]
Subject: [EUG-LUG:3545] Re: ANNOUNCEMENT: November PLUG Meeting


I will plan on driving up to this then, Ben you can get a ride with me, 
and I'll have room for one or two more if anyone's interested.  We can 
either find a central place to meet and pick people up, or I could pick 
people up at their houses if that's easier.  I'm guessing we'd have to 
leave before 5 to get there by 7, but I haven't made this drive before. 
 Is two hours enough time?

Kahli







[EUG-LUG:3618] Re: Keymapping question

2001-11-04 Thread Kahli R. Burke

Garl,

This may be more than you want to get yourself into :)...The 
approach you are thinking of sounds to me like a good way to go, however 
it's not the only way.  I recommend you take a look at:

http://www.ibb.net/~anne/keyboard/keyboard.html

This is probably more than you ever wanted to know about the ^?/^H 
conundrum.

Kahli




[EUG-LUG:42] Re: RFC 2410

2001-11-11 Thread Kahli R. Burke

Bob Miller wrote:

I just discovered RFC 2410.  This is surely one of the more important
specs for the security-conscious.

   ftp://ftp.isi.edu/in-notes/rfc2410.txt

Read it -- it's short.

This is just the thing I've been waiting for.  I've been trying to 
implement RFC 1149: A Standard for the Transmission of IP Datagrams on 
Avian Carriers

http://www.faqs.org/rfcs/rfc1149.html

However, I have been concerned about the insecurity of that transport 
mechanism. Now that I have NULL, I will finally be able to set up my 
truly wireless network.  




[EUG-LUG:105] Re: patches

2001-11-20 Thread Kahli R. Burke

Rob Hudson wrote:

I know how to apply a patch to the kernel tree, but how do you apply a
2nd patch?  I'm running 2.4.15-pre5, and if I want to patch my tree to
-pre7, do I need to start from 2.4.14 again or can I patch over an
already patched tree?  Can you undo a patch?

Thanks,
Rob
--
Rob rob_at_euglug_dot_net
my @euglugCode = qw(v+++ e--- eug+ bsd+++ gnu+ S+++);


My understanding (someone correct me if I'm wrong here) is that the pre* 
patches are cumulative, so pre7 will include everything in pre5.  If you 
take a look at the file sizes, this seems to be the case.  But I think 
if you just apply pre7, patch will have a hard time doing it because 
it's going to expect the unpatched version.  So I'd try to remove the 
pre5 patch and then apply pre7.  You can use patch -R to remove a patch, 
see the manpage, it reverses the new and old files.  If things get 
screwed up (which you can tell by doing 'find . -name *.rej', these 
are the ones that patch determined wouldn't patch cleanly), I'd start 
with a clean full version and try again.  Let us know how it goes...

Kahli




[EUG-LUG:3282] Klingon Software Development

2001-10-16 Thread Kahli R. Burke

  Top 12 Things Likely To Be Overheard
If You Had A Klingon On Your Programming Team

Specifications are for the weak and timid!

This machine is a piece of GAGH! I need dual Pentium processors if
I am to do battle with this code!

You cannot really appreciate Dilbert unless you've read it in the
original Klingon.

Indentation?! - I will show you how to indent when I indent your
skull!

What is this talk of 'release'? Klingons do not make software
'releases'. Our software 'escapes' leaving a bloody trail of
designers and quality assurance people in its wake.

Klingon function calls do not have 'parameters' - they have
'arguments' -- and they ALWAYS WIN.

Debugging? Klingons do not debug. Our software does not coddle the
weak.

I have challenged the entire quality assurance team to a Bat-Leth
contest. They will not concern us again.

A TRUE Klingon Warrior does not comment his code!

By filing this SPUR you have challenged the honor of my family.
Prepare to die!

You question the worthiness of my code? I should kill you where you
stand!

Our users will know fear and cower before our software! Ship it!
Ship it and let them flee like the dogs they are! 




[EUG-LUG:358] Us @Home (no more) people

2001-12-01 Thread Kahli R. Burke

Well,

I'm happy to say that although the transition was not seamless, I'm 
back up on my cable connection today.  I had to change everything that 
was pointing to home.com to attbi.com.  If any of you have my email 
address, its now [EMAIL PROTECTED]  If any of the list admins are 
reading, you can remove the old @home.com address.

So, it could have been better, but at least I'm not without 
connectivity for weeks or months.  ATT is limiting downstream to 1.5 
MBps which is about half what I was able to get before (I'd commonly see 
download rates of 350K/s), but it still beats dialup.  I know all you 
DSL subscribers are gonna tout the superiority of that technology 
(especially on upstream, which is capped at 128 kbps), but since DSL 
wasn't available in my house, I was really sweating the loss of this, 
since it's the cheapest broadband available to me right now.

Kahli




[EUG-LUG:419] PPTP, VPN, routing, firewalls

2001-12-04 Thread Kahli R. Burke

Alright,

 I am new to doing VPN setup, and am trying to get my network set up 
properly.  Since I'm starting to confuse myself, I though I'd see if 
anyone out there has done this before.  I've read a bunch of stuff 
(HOWTOs) on the net on how to get this set up, which haven't helped me 
figure it out yet.  Let's see if some ascii art helps (hope it doesn't 
get mangled):

   192.168.80.0
 -
 |   |---1.2.3.4 - Internet
client1   firewall   (eth0)
   192.168.80.2  192.168.80.1
(eth1)

 I've had mixed success so far configuring things the way I want. 
Right now I have a cable modem connected to my NAT/Masquerading box with 
some firewall rules using iptables.  This is a linux server, and I have 
a couple more machines sitting behind it on a private network 
192.168.80.0.  What I want is to set up the PPTP tunnel on the firewall, 
and have it route the traffic appropriately so normal internet traffic 
goes out without going through PPTP and only traffic on the network 
behind the VPN server gets routed through PPTP.  An alternative would be 
to run PPTP on a PC on my private network rather than the firewall, but 
still, I'd like the publically accessible internet stuff to bybass the 
VPN, since there's no point in sending packets out the cable modem to be 
routed through the internet to my work's network, just to be sent back 
out to the internet from my work's gateway; it seems wasteful.  So 
here's another diagram of what I'd like to have:

   PPTP tunnel
 192.168.80.0   |-ppp0 - Work networks 
   -- | 
 -
 | ||1.2.3.4  Internet |||
client1  firewall(eth0) ABC
   192.168.80.2 192.168.80.1
  (eth1)

 My most successful attempt is under Windows on a box my private 
net, (I'm writing this message through PPTP in Windows), it was a snap 
to set up.  I entered the pptp server address and my username/passwd and 
it came up fine.  I got:

 Server IP address: 206.162.164.201
 Client IP address: 206.163.164.206
 I get a default route: 206.163.164.206

 Everything works fine except I know all my internet traffic is 
going through PPTP.

 When I use the pptp client in Linux, I don't get the same IP 
addresses set up, I am trying this with eth0 set to 192.168.80.2, and I 
get 192.168.80.2 as my IP for ppp0.  So now I have eth0 and ppp0 with 
the same address, which doesn't seem right.  I don't get any route set 
up, so nothing goes through PPTP and I don't know how to get to any of 
the my work's networks.  What am I doing wrong here?  What do I have to 
do to get the correct IP?

 I've also tried to run the linux pptp client on my firewall/nat 
box, which is really what I want to do.  Here, my firewall isn't 
allowing the pptp connection to be set up.  I've allowed TCP, UDP, ICMP 
traffic in and out from the firewall box to the IP address of the VPN 
server, which doesn't seem to do the trick  What do I have to add here 
to get the traffic out?  Is it a different protocol than TCP or UDP?  I 
know its the firewall because if I flush all the rules and set the 
policy to accept, it will set up the connection.  Same IP address 
problem as my other linux box.  Here, the IP of the firewall's second 
ethernet (hooked up my private network) is 192.168.80.1.  When I set up 
the tunnel, I get ppp0 set to 192.168.80.1 as well.

 So there are two main questions:

 How do I get the right IP address and routing set up in Linux?
 and
 How do I allow the PPTP connection to get through the firewall?

 Sorry to be so long-winded...does anyone have ideas?

Thanks,

Kahli Burke




[EUG-LUG:434] Re: PPTP, VPN, routing, firewalls

2001-12-06 Thread Kahli R. Burke

Bob Miller wrote:


PPTP is not a secure protocol.  Here's a good reference.
   http://www.counterpane.com/pptp.html

Yeah I know, I found that link while looking for HOWTOs.  However, it's 
what they are using at my office, and I don't think I'll be able to talk 
them into something better like IPSec because it's working now and why 
fix what's not broken (or what's perceived not to be broken anyway)...


In the Windows example, you got a client IP of 206.163.164.206,
which I think the server allocated for you.  I think that should
be the address you assign to ppp0.

The problem is that I am getting that IP address dynamically so I can't 
rely on it being 206.  It can be anything from 203 to 212.   However, I 
figured this out.  I simply wan't telling pppd that it should get the IP 
configured from the server.  You need a 'noipdefault' option to be 
passed to pppd, in this case it went into /etc/ppp/peers/ori-tunnel, 
which is the options file set up by pptp-command.  I actually remember 
this option now but alas, it had been so long since I'd manually 
configured a ppp connection (with the advent of all those whiz-bang GUI 
tools) that I had forgotten that I needed it.

Is it a different protocol than TCP or UDP?


Ask a packet sniffer (on another box) what it sees.

Good idea.  I looked at ethereal and it looks like GRE is IP protocol 
47.  I haven't tried fixing it yet because I have it working now on the 
client behind the NAT, but I'm sure if I allowed packets in and out on 
that protocol, it would work.  Something like 'iptables -A INPUT -i eth0 
-s IP of VPN Server -p 47 -j ACCEPT'  (and the corresponding rule for 
the OUTPUT table) would probably do the trick.

So, my remaining problem is getting the routes set up.  There are a 
couple class C subnets (206.163.164.0 and 192.68.202.0)behind the VPN, 
so I figured if I just set routes for those networks to go through ppp0, 
I'd be fine.  This seems to work for the 192.68.202 network, when I do 
route add -net 192.68.202.0 netmask 255.255.255.0 dev ppp0, I can telnet 
to hosts on that network , woohoo!  

When I try the same with the other network (which is also the same 
network my PPP connection is on), it creates a circular route.  I try to 
ping anything behind the VPN and my CPU utilization gets pegged to 100% 
and the packet goes nowhere.  So obviously, something more sophisticated 
is needed.  So here's another request for help.  I'll search around in 
the meantime and let you know if I figure it out...

Thanks for the ideas,

Kahli




[EUG-LUG:439] Re: PPTP, VPN, routing, firewalls

2001-12-06 Thread Kahli R. Burke

Kahli R. Burke wrote:


 So, my remaining problem is getting the routes set up.  There are a 
 couple class C subnets (206.163.164.0 and 192.68.202.0)behind the VPN, 
 so I figured if I just set routes for those networks to go through 
 ppp0, I'd be fine.  This seems to work for the 192.68.202 network, 
 when I do route add -net 192.68.202.0 netmask 255.255.255.0 dev ppp0, 
 I can telnet to hosts on that network , woohoo! 
 When I try the same with the other network (which is also the same 
 network my PPP connection is on), it creates a circular route.  I try 
 to ping anything behind the VPN and my CPU utilization gets pegged to 
 100% and the packet goes nowhere.  So obviously, something more 
 sophisticated is needed.  So here's another request for help.  I'll 
 search around in the meantime and let you know if I figure it out...

 Thanks for the ideas,

 Kahli

I figured out the routing problem.  The problem was that the IP address 
of the VPN server (the publicly accessible one that I log into) is on 
the same network that my PPP connection gets sent to.  So when I try 
send a packet out on PPP (lets say it's 206.163.164.203) it needs to go 
out through my ethernet card and get routed to the VPN server on 
206.163.164.200.  If I have just a straight network route that routes 
packets going to the 206.163.164.0 network to ppp0, that creates the 
loop.  Packets get set up on the ppp0 output and wrapped in GRE, then 
they get routed to go out ppp0, so they get set up on the ppp0 output 
and wrapped in GRE again, and so on.  Basically PPTP and PPP keep 
handling the same packet ad infinitum.   The solution is to add an 
explicit host route for the VPN server 206.163.164.200.  So these two 
commands do the trick :

route add -host 206.163.164.200 gw 192.168.80.1
route add -net 206.163.164.0 netmask 255.255.255.0 dev ppp0

192.168.80.1 is my router/NAT/firewall box.  The most specific host 
route overrides the network route and allows the output of ppp0 (which 
is going to 206.163.164.200) to get routed out the ethernet card instead 
of the ppp0 tunnel.

Thanks to our fearless leader for the help, maybe this discussion will 
be useful to someone else someday...

Kahli




[EUG-LUG:554] Re: TCP/IP port list

2001-12-13 Thread Kahli R. Burke

Tim Howe wrote:

I used to have a link to a large comprehensive list of ports and what
they were used for, but I seem to have lost it.  I can find lots of
lists, but none as full as this one.  Anybody have a link to a great
list of ports, what they are used for, and what protocols?

TimH


I'm not sure if this is better or worse than your old link...I just 
searched google for comprehensive list of tcp/ip ports and got:

http://www.chebucto.ns.ca/~rakerman/port-table.html

This has information about some ports, and links to other pages that 
describe IANA ports, a link to snort information on ports used by 
trojans, etc.

Kahli




[EUG-LUG:699] RE: What application is it?

2001-12-26 Thread Kahli R. Burke

Justin Bengtson wrote:

uhm, was it ethereal for the console?  or maybe nmap?

Nope and nope.  Tethereal is the console based ethereal, and it just 
writes to stdout, something you'd pipe to 'less'.  This app actually had 
a GUI of sorts, it was just a text based GUI (is that an oxymoron?). 
 And I'm sure it wasn't nmap, although nmap is a pretty useful app 
itself.  Good guesses though! :)





[EUG-LUG:702] RE: What application is it?

2001-12-26 Thread Kahli R. Burke

Garl Grigsby wrote:

 was it netwatch?

I took a look at this and I don't think it's the same thing, although 
i'll play with netwatch and see what it can do.  





[EUG-LUG:760] Re: folding files

2001-12-30 Thread Kahli R. Burke

Mr O wrote:


Also, package uninstallation. Apparently to remove an RPM package you just 
type 'rpm -u or -e (package name) and that's all right? Seems the computer 
wants to tell me these packages aren't installed. Is there a work around for 
that? Tar.gz files are just drop into the directory and do 'make clean' 
right? Trying to make some space here. Thanks for the help y'all.

You can try rpm -q package name to see if the package is installed. 
 You don't need to include versioning information, so if you have 
snafu-1.3-4.i386 installed, just type rpm -q snafu and it will let you 
know if the package is installed.  If it's installed, use rpm -e 
package name to erase it.  If you just have the .rpm files around, you 
can just delete them, they are not tied to the packages on the system in 
any way.  Perhaps this is why it's telling you they are not installed? 
 Otherwise, if rpm -q tells you the package isn't installed, but you 
have some good reason to think it is, your rpm database might be 
corrupted.  I've had this problem only once, and it was really a 
hardware problem, the hard drive I was using was damaged and getting 
worse.  There are some tools to try to repair the database, but I don't 
know how to use them.  Make clean will just delete the compiled object 
files, libraries, and executables built for an application you've 
compiled yourself.  This can free up a considerable amount of space. 
 Try running it on whatever kernel you've compiled, it won't affect the 
kernel image you copied over to /boot.  Of course, if you ever need to 
tweak configuration or if you're making changes to source and need to 
recompile, it will have to build everything all over again.

Kahli




[EUG-LUG:768] Happy new year!

2002-01-01 Thread Kahli R. Burke

I just wanted to have the first post with the year 2002 on it.

:)

Kahli




[EUG-LUG:788] Re: Thursday trip to PDX

2002-01-02 Thread Kahli R. Burke

Larry Price wrote:

I'm planning on going to portland tomorrow, in fact I plan to ride with
Seth. See you all tomorrow.

OK,
   
Well apparently Seth will be driving then.  Are you two going to 
meet the rest of us at the LL (16th and Willamette) 4:30 tomorrow?  We 
may have 5 again, so I may have to drive as well.  I think the gist of 
it is meet at the LL and we'll figure out the drivers/riders there.  I 
will assume as such unless anyone makes other arrangements with me.

Kahli




[EUG-LUG:836] Re: ATT cable modem issue

2002-01-05 Thread Kahli R. Burke

Horst Lueck wrote:

Mandrake 8.1; RCA 'Broadband' modem w/o obvious model#, CAT5-to-NIC

To those of you who went to Portland last night instead of coming to the
clinic: I recently got ATT cable; the service guy got it all running on my
Win98 partition, but w/o leaving any documentation. The only info I found
is from the win registry (attached at bottom).

I am using redhat with this same (well at least similar) modem on ATT. 
 When my installer left, I got a pink work order sheet that gave me a 
lot of info, IP addresses and such.  Maybe you've already looked, but 
you could try to find this.  

 My mdk 8.1 ran fine last night on the Emerald Network(thanks to bobVP
and Cory) with static IP using the same (and only NIC). Now, over my cable
modem (trying various settings) I was not able to get configured as DHCP
client (it fails pretty fast w/o long search).

I had problems getting DHCP to work with 'pump'.  I had luck running 
dhcpcd (the dchcp client daemon).  You can try this out on the command 
line try something like 'dhcpcd -h your hostname ATT gave you -i your 
ethernet interface.  So if ATT gave you hostname c576849-d and your NIC 
is eth0, dhcpcd -h c576849-d -i eth0.  


 The local IP I got from ATT remained the same from the beginning on
though I had my machine turned off for more than 1 day. I can even ping my
NIC under windos with the cable modem power turned off.

Is Windows configured using DHCP?  It probably should be.  You might 
want to go through the windows network configurations screens and see 
what you can glean from these.


 So I tried to make a static connection using the data I pulled out of the
win-registry (gateway and dns). That failed too. Interestingly again, when
I use my dialup modem to ssh to efn and then ping 'my ATT IP' from efn
shell I get a quick positive response --even if my cable modem power is
turned off!? (I can also ping some other ATT clients in the same subnet,
but not all within the subnet, so I conclude that ATT's response is
*somewhat* reasonable)

Ok, the fact that you can ping the IP you believe you have from an 
outside public location when your cable modem is turned off is 
indicating to me that you don't have the IP you think you do.  The fact 
that it responds indicates that someone else has that IP.  Remember that 
ATT's service is by default DHCP, and they are free to shift people 
around whenever they like.  I got moved to a different address a couple 
days ago, although that's the first time since the excite@home switch.

By the way, I tried your experiment just to be sure, and I cannot ping 
my IP from an outside location when the modem is turned off.  If you 
want to be really sure, unplug the thing and try it again.

I think you need to get DHCP working under mandrake, play around with 
that.  Once you feel confident that it's working, if you're still having 
problems, I'd look at routing issues, but there is no point fixing that 
until you're sure you are getting the correct address assigned.


 So what does ATT do with my to-and-from IP packets ???
 - or do I need to take a class in routing 101 ? ... or in gatewading?

Since kbob alway askes for 'route -n' and 'ifconfig' I have attached a few
clips.

I am ready to pull my hair ... the little bit that's left!
^






[EUG-LUG:1045] Re: network questions

2002-01-15 Thread Kahli R. Burke

Bob Miller wrote:

Ben Barrett wrote:

When a process starts that uses a port, say apache httpd, and then it 
bombs out badly or quits unexpectedly, how can one recover the locked 
port(s)?


The kernel cleans up automatically.  When the process exits
(voluntarily or not), the kernel closes all its descriptors.

For TCP sockets, that means shutting down the connection.

Another note on this, FYI...

When a TCP socket is closed, either by a program explictly with close() 
or by the kernel if it is cleaning up, it doesn't get completely shut 
down.  Instead it gets put into a TIME_WAIT state.  You may see this 
state if you run netstat after a program exits.  The purpose of 
TIME_WAIT is to allow for any stray or slow network data to fizz out, 
and for security purposes so this old data does not get associated with 
new streams.  When a socket is in TIME_WAIT mode, a new server process 
will not be able to bind itself to the port as it is still somewhat in 
use.  There is a socket option, SO_REUSEADDR, that will change this 
behavior and allow a new socket to be bound.  

I think most server programs use this option, because the TIME_WAIT 
period can last a few minutes.  Its a pain to have to wait that long 
when you want to, for example, change a configuration setting and 
restart a service, or if a service crashes and needs to be restarted. 
 However, although convenient it makes things a little less correct and 
reliable in terms of how TCP is supposed to work.  If you ever have a 
problem with a server process that won't start up right away after it's 
been shut down, it probably doesn't enable the SO_REUSEADDR option...

Kahli




[EUG-LUG:1050] Re: network questions: further, uh, understanding

2002-01-16 Thread Kahli R. Burke

Jacob Meuser wrote:

On Wed, Jan 16, 2002 at 01:42:14PM -0800, Ben Barrett wrote:

[root@benBox /etc]# telnet localhost 6667
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.


portsentry actually binds to 
the list of ports in /etc/portsentry/portsentry.conf
so that resulting scans make the system appear generic and running lots 
of services!


Is the idea behind portsentry to ba a fly catcher (I can think 
of any other reason to fake services), an if so, how would listening 
on 127.0.0.1 achieve this?

It looks like portsentry just binds to all interfaces instead of being 
selective and only binding to a specific interface like a publically 
connected ethernet card.  So, it doesn't really care whether it's coming 
from the loopback device or eth0 or whatever.  This might be a nice 
configuration option to request if anyone is using this tool.  The 
article Ben linked to certainly had a pretty negative tone about this 
program, I wonder if other people are finding it useful...'

Kahli




[EUG-LUG:1155] Re: USB keyboards

2002-01-21 Thread Kahli R. Burke

Mr O wrote:

Anybody have experience with them? Are they an issue? I know my BIOS supports 
them and I think that may be the only requirement. Where to get one and/or 
who uses them with what opinions. 

Thanks y'all.

Mr O

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




I have a keyboard with both USB and PS2 connections and have run it 
successfully both ways with RedHat 7.1.  The kernel has to be built with 
some options for supporting this.  The stock RH one has what you need 
and if you compile your own you just need to look out for stuff like 
Input Core.  As far as opinions, well it doesn't really make any 
difference to me, I can type on it the same either way.  I guess if you 
have a computer without a PS2 connection you'll need to use USB...I got 
mine at Staples.

Kahli




[EUG-LUG:1157] Re: USB keyboards

2002-01-21 Thread Kahli R. Burke

justin bengtson wrote:

--- Kahli R. Burke [EMAIL PROTECTED] wrote:

As far as opinions, well it doesn't really make any 
difference to me, I can type on it the same either way.


i would have to ask what the point would be, aside from changing standards.  do
you really need all that bandwidth for a keyboard?  people can only type so
fast (currently...).  i can _maybe_ see the point of a USB mouse, especially
because the information update is so quick.

i've heard that USB mice feel snappier, but i didn't experience that when i
had my optical plugged into USB...

The only point is that some computers are being made without PS2 
connections, and are USB only.  If you're going to offer USB anyway, and 
these devices are available for USB, it makes sense to get rid of the 
(perceived to be) redundant ports.  It saves money in manufacturing the 
boards.  

I wasn't looking for this feature in a keyboard, but the new 
keyboard I bought for a new computer had both connectors built in.  I 
don't think anyone will ever be able to type fast enough to exceed the 
bandwidth offered by a PS2 connecton.  I don't have any evidence, and 
maybe this will change with the higher resolution optical mice, but I 
have doubts about there being any performance benefit with USB.  The 
description of USB mice as snappier sounds like a sales technique. 
 You know, USB Mice!  Now with flavor crystals!

Kahli




[EUG-LUG:1208] Re: Folding@home woes

2002-01-23 Thread Kahli R. Burke

Ben Barrett wrote:


 - Error: Getwork failed -1, and no other work to do
 Sleeping for about 5 minutes then retrying

 and then it keeps failing like this so far, I cannot get a WU  )-;
 does it take many many tries?


Ben,

I've seen this before and haven't been able to pin it down on 
anything except problems on their side, like maybe their server is 
having problems.  Once and I while I'll get these messages.  If I just 
let the thing run, I'll usually find that it's working later.  Have you 
tried just leaving it up?

Kahli




[EUG-LUG:1209] Re: Folding@home woes

2002-01-23 Thread Kahli R. Burke

Kahli R. Burke wrote:

 Ben Barrett wrote:


 - Error: Getwork failed -1, and no other work to do
 Sleeping for about 5 minutes then retrying

 and then it keeps failing like this so far, I cannot get a WU  )-;
 does it take many many tries?


 Ben,

I've seen this before and haven't been able to pin it down on 
 anything except problems on their side, like maybe their server is 
 having problems.  Once and I while I'll get these messages.  If I just 
 let the thing run, I'll usually find that it's working later.  Have 
 you tried just leaving it up?

 Kahli


Speak of the devil, I'm getting the same error messages right now.  I 
think they are experiencing some technical difficulties.

Kahli




[EUG-LUG:1214] Re: Jukebox woes

2002-01-23 Thread Kahli R. Burke

Bob Miller wrote:

As most of you are aware (and are really tired of hearing about), I'm
building this mp3 jukebox.  Currently, it's running on a server and
streaming out over Icecast to the PC on my desk.  That works, mostly,
but the ultimate goal is to be able to feed the same audio stream into
two stereos: the little one in my office, and the big one downstairs
in the game room that drives eight pairs of speakers throughout the
house (but not my office. )-: ).  Obviously, I want both stereos to be
in sync.

Last night, I ran an Icecast client on a second machine to see whether
Icecast clients are in sync.  It was awful.  The two PCs were about a
second out of sync.

I can move the jukebox to be next to one stereo or the other, no
problem.  But what's the best way to distribute the signal, preferably
in digital form, from one room to another in such a way that the audio
source stay synchronized?  I'm thinking that I may need to distribute
the actual PCM data, otherwise I'll be at the mercy of clock drift in
the individual D/A's.  Or else I need some fairly clever net protocol
and resampling code.

Mr. O. sent me a link last night to the SliMP3, which might or might
not be part of the solution.  Thanks, Mr. O.

   http://www.slimdevices.com/

In regards to the out of sync problem, are you sure the buffers on 
whatever clients you were running were the same?  Were you using the 
same software on both machines.  One second seems really bad.  

If this doesn't fix your problem you could try the following: It 
seems like if you were able to multicast or broadcast the MP3 data 
across one subnet, and had identical client setups, you'd be able to get 
these pretty close to in sync.  The clients would be receiving the exact 
same ethernet frames, so you'd only have the problems of hardware 
differences in terms of latency of the network card and sound card.  I 
don't know what these values would be, I'm guessing pretty small.  Even 
small latencies will cause the sound to be different though, maybe like 
running through some effects processor.  The delay for Dolby surround is 
around 22 milliseconds.  You could put together your own Icecast client 
that would then rebroadcast the packets, or perhaps Icecast already has 
this ability?
   
Of course, the easier solution is to wire up some speakers in your 
office and call it a day :).

Kahli

Kahli




[EUG-LUG:1350] Re: Crazy DSL/Cable combo idea - Advanced Network Routing

2002-01-31 Thread Kahli R. Burke

Jacob Meuser wrote:

On Thu, Jan 31, 2002 at 09:19:47AM -0800, Ben Barrett wrote:

In the original post, all that was wanted iirc was to host ports 21 and 
80 over one interface (dsl?)


No, he wanted outbound port 21  80 traffic to go through the cable line
and everything else to go out the dsl line.
That's much different than hosting inbound traffic on one interface,
and outbound on another interface.

--
[EMAIL PROTECTED]

I'm not sure what the commands would be in BSD, but with iptables 
and the routing tools on Linux this simple request seems possible.

You can use iptables to (PREROUTING) mark the packets in a way that 
can be read later by the routing tools, for example:

   

 |

iptables -A PREROUTING -i eth3 -t mangle -p tcp --dport 80 \
 -j MARK --set-mark 1

 |

 ||

 |

iptables -A PREROUTING -i eth3 -t mangle -p tcp --dport 21 \
 -j MARK --set-mark 1

 |


Where eth3 is the interface for the LAN.  We'll pretend that eth0 is 
the cable connection and eth1 is the DSL connection
||Then, read that mark later when routing and decide which 
interface to send it out on.  There is an example in the advanced 
routing howto refenced by Ben.  In the example they are using the mark 
to send www requests to another box running squid.  Here's an example 
that would probably work: 

 |

naret# echo 202 cabletraffic.out  /etc/iproute2/rt_tables
naret# ip rule add fwmark 1 table cabletraffic.out
naret# ip route add default via cable_modem_gateway dev eth0 table cabletraffic.out
naret# ip route flush cache

 |


Again, there are probably similar tools, like pf, on BSD.  I just 
don't know their usage exactly.




[EUG-LUG:1391] Re: iptables help

2002-02-01 Thread Kahli R. Burke

justin bengtson wrote:

the real dilema, and what i can't puzzle out and/or visualize, is how to route
to a dynamic IP.  especially when i only have one NIC in the router.  setting
up a gateway is simple (for me) when all of the IP's are static and i have two
NICs.

i need to route inside traffic (my desktop, my sister's desktop) to one dynamic
outside IP (my desktop to the cable modem) using only one NIC in my machine. 
my machine is thus the router, firewall, and gateway as well as my desktop.

It sounds like you want to have two usable computers, with a shared 
connection to the internet and a firewall of some sort.  I think this 
sounds perfectly reasonable, except for the part about the router with 
one NIC.  That kinda undercuts the definition of a router, which would 
have to include something to the tune of connecting multiple networks, 
shuffling packets between them.  You have two networks, your private LAN 
and your cable subnet, each network needs an interface, which means you 
need two NICs.  You then can have a static IP for that 
router/firewall/DHCP-server/desktop (maybe something like 192.68.0.1). 
 This system can serve as the gateway for your sister's machine, and any 
others you might want to connect.

OK, there are some weird things you can do with aliasing so that 
your single NIC can have more than one ip (and hence it looks like two 
interfaces an eth0:1 and eth0:2, even though they're the same physical 
card), but that really starts to complicate things, and makes security a 
more difficult prospect as well.  What you really want is a system 
sitting in between the the internet and your private LAN.  

There isn't any reason you can't use the machine that's routing 
packets for other things as well.  It really sounds like you're trying 
to do something tricky to avoid the need for two NICs.  

Try if you want but my advice is to admit to the fact that you have 
two networks at play here, and go dig up another NIC...why make it more 
complicated than it has to be?

Kahli




[EUG-LUG:1410] Re: let's finalize

2002-02-02 Thread Kahli R. Burke

Mark Bigler wrote:

On Saturday 02 February 2002 10:34, Mr O wrote:

...we'd all be a happy as clams to leave our
usage of linux as is. Is this agreed upon by the majority??


I'm not a member, but I did note that RMS took some exception in regard 
to the issue of EUGLUG being a true GLUG, since EUGLUG wasn't 
consistant in its use of GNU/Linux.  If, then, EUGLUG isn't a proper 
GLUG, it might be best to do a slight renaming and change from Eugene 
Unix and GNU/Linux User Group to Eugene Unix, GNU, and Linux User Group.


So it's better to never mention GNU and Linux together as GNU/Linux than 
to do it inconsistently, eh?

People are just too damn picky sometimes.

Kahli




[EUG-LUG:1413] Re: let's finalize

2002-02-02 Thread Kahli R. Burke

Mark Bigler wrote:


RMS pointed out the inconsistency, and suggested EUGLUG wasn't a true 
GLUG. I was just offering a kludge fix.

It's OK, I wasn't getting angry with you, I'm just feeling like too much 
energy is being put into picking at nits.  I don't think there is a GLUG 
certification board that we have to appease.  If we want to call 
ourselves a GLUG, then we can.  My vote is for doing nothing.

Kahli




[EUG-LUG:1508] Re: Web site redesign

2002-02-06 Thread Kahli R. Burke

Rob Hudson wrote:

I think arsdigita.com has potential and would make a good starting
point.  I've also been a fan of linux.com, but agree with justin about
the triple columns.

I was playing with a design from oswd.org, and threw this up a few
days ago.  Not sure about it but have a look...
http://www.euglug.org/new/
I like the subtle lines and boxes.



This looks pretty nice to me.  I'd rather do without the large left 
margin however.  I think the whole thing should be shifted over so that 
the left margin is the same as the space between the nav bar and the 
news (20 pixels or whatever it is).  Take a look at linux.com to see 
what I mean.

Kahli




[EUG-LUG:1555] Re: Info Request

2002-02-08 Thread Kahli R. Burke

Dennis Eberl wrote:

 Could somebody tell me who the president (or whatever) of EUGLUG is 
 and how to reach him by phone? I have items I want to donate and need 
 to get it done before the end of this month. Thanks.

 Dennis


Bob Miller [EMAIL PROTECTED] is our acting grand poohbah.  I think 
he'd be happy to accept the donation, he could bring them to a clinic 
and distribute them to interested parties.  Alternatively, you could 
come to a clinic and hand them out yourself, Bob would probably be there 
as well.  Is this the aforementioned list of linux goodies, books, and 
odds and ends?  I'm interested in taking a look at those Linux license 
plate frames at any rate :).

Kahli




[EUG-LUG:1556] Re: Folding@home: Team EUGLUG stumbles

2002-02-08 Thread Kahli R. Burke

Bob Miller wrote:

Last night's storm affected Team EUGLUG's Folding@home efforts.  We
lost power at our house, and it's still not back.

I moved the two Athlons to Anne's office, though, and they were
folding away until we had a half second power glitch this morning,
which sent them back into shock.  They're still fsck'ing.

My laptop, the slowest protein folder I own, is folding away between
keystrokes.  But it's the only machine that's up.

Seth says BobC is powerless too.  So we're falling behind.  Gotta
get going again.

It looks like we're still gaining ground though, up to #33...

Kahli




[EUG-LUG:1560] Re: Info Request

2002-02-08 Thread Kahli R. Burke

Dennis Eberl wrote:


 Sure. They're plastic. The deal is it _all_ has to go; then you can 
 pick out what you want.

 Thanks for the reply.

 Dennis


I'm assuming you live in Eugene or Springfield or a close outlying area? 
 If so I'll volunteer to pick them up and bring them to a clinic to pass 
out.  Why don't you email me privately and we can arrange a good time.  

Kahli




[EUG-LUG:1684] Re: A programming question.

2002-02-19 Thread Kahli R. Burke

Robert M. Solovay wrote:

I want to write a program to automate my login process. How do I get the
program to do the login and then release the terminal for my use.

Explanation: To log in to my berkeley account, I need to use the Opie
program. This gives me a challenge and I have to run a separate program to
compute the one time password. I would like to run a program which logs
in, gets the challenge, computes the response, gives it [so as to log me
in] and then turns the termianl over to me.

Thanks,

   Bob Solovay



While I won't go so far as to give example code, I'll recommend you 
take a look at Expect.  This program, built on top of Tcl, is designed 
to do exactly what you want, automate interactive programs.  It allows 
you to invoke external programs, wait to receive a prompt like login:  
then send a response.  So you could wait for the login prompt, send your 
username, capture the output and use it to run your password generator, 
then wait for the password prompt and send the generated password. 
 After you've done the automated login, you use the 'interact' function 
to turn over control to you.  I bet you could do it in less than 20 
lines of code.  Check out

http://expect.nist.gov/

and start hacking some expect scripts! :)

Kahli




[EUG-LUG:1708] Re: Firewall Configuration

2002-02-21 Thread Kahli R. Burke

[EMAIL PROTECTED] wrote:

I am going to be running a mail server. I want to set it up with 2 network cards. One 
will be inside of my firewall and I will need to allow access to ports 22, 25, 110, 
and 389. On the card outside on the firewall I only want to allow access to port 25. 
Is this possible?


It's pretty easy to do this with iptables in Linux.  So if you have eth0 
as your public interface and eth1 as your private interface, you would 
set up rules like:

iptables -A INPUT -i eth0 -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --dport 22 -j ACCEPT (and more 
lines for ports 25, 110, and 389)

So in this case you would be running the packet filter on the mail 
box, in addition to anything on another firewall box.  You'd have to let 
port 25 through any existing firewall as well.  

Are you that concerned about internal traffic that you need to 
filter it as well? An easier way would be to have a single card in the 
mail server with a public ip, then let the firewall allow traffic on 
that port destined for that address.  In iptables form:
   
iptables -A FORWARD -i public interface -o private interface -p 
tcp -d ip address of mail server --dport 22 -j ACCEPT

I'm guessing you have one subnet behind the firewall, in this case 
the traffic from internal machines wouldn't get routed anywhere so the 
firewall wouldn't be able to filter it.  You could shut down any 
services you didn't want the mail server to provide.  This seems like 
the simpler way to me, and it only requires one NIC.  Even if you did 
want to filter the internal traffic you could still do it with one NIC 
by running iptables on the mail box and filtering based on groups of 
source addresses.  I guess the question is really, how sophisticated do 
you want to get with it?

Kahli




[EUG-LUG:1741] Re: Folding

2002-02-24 Thread Kahli R. Burke

Bob Miller wrote:


I'd still like to know why there are two kahliburke's on our team.

That's because I gave an incorrect email address when I first started 
folding and completed a work unit with it.  I discovered my mistake, and 
changed it.  It just slices the username off the front of the address, 
so now there are two of me.  Actually, I don't really know if the email 
thing matters, except as a unique id, because it doesn't appear to get 
used for anything.  I haven't received any mail from them at any 
rate...I guess it's not like ditributed.net where you could win a prize.

Kahli




[EUG-LUG:1742] Re: Many novice questions

2002-02-24 Thread Kahli R. Burke

Jacob covered most of these, I thought I'd pitch in on the things he 
didn't answer...


I still can't mount a floppy.  .fstab says 
/dev/fd0   /floppy   auto   defaults,user,noauto  0  0. 
But mount says mount: can't find floppy in /etc/fstab or /etc/mtab.
A similar statement for CD works fine. What am I missing? No, let me
change that. What do I need to do?

Forgive me if I'm taking you too literally here, but are you editing 
.fstab, as if it were a user specific file?  The file you need to modify 
is /etc/fstab.  Only root can edit this file, and there isn't a way for 
a user to override it (at there is with many other preference files like 
.profile, etc.) due to security concerns.  

I added the line to .fstab,
/dev/sda1   /dos   msdos   auto   defaults,user,noauto  0  0 with
similar results. 

Ditto.

The lpr command prints, but with only LF, not CR. What needs to be
changed so the printer recognizes the Linux format?

If you have an HP Deskjet, so a search on google for deskjet staircase 
effect and you will find some tips...its not so much changing the 
printer to match linux as changing linux to send the carriage return. 
 Printing is IMHO still a weak spot for Linux and other unix like 
systems, unless you have a postscript printer.  They usually work great.

Lately man has started saying man: can't create temp filename:
Permission denied. As root, I'm wondering who denied permission and
why. Is God interfering here? I thought I was God of this system.

Well, take a look at the file permissions with ls -ld /tmp.  You can 
change this to be readable and writable by all by typing (as root) chmod 
a+rwx /tmp.  This should be set up that way already, but it sounds like 
/tmp is not set up that way for some reason.

I'd like to write c [directory] to obey alias c='cd [??] |ls'.
What is it that's needed here? Someone (Jason?) showed me it worked
anyway, but now I think he left out the [directory] part.

you could do this with alias cd='cd $1 | ls'.  The $1 represents the 
first argument to the cd command.  So, if you type cd /blah, /blah gets 
substituted for $1.  Yes, you can extend this concept to $2, $3, etc.

In LS, Less or More (pagers) apparently prevent color format. Is
there a way around that? What's the sense of having LS (or file
readers I've seen) without a pager anyway?

ls is probably aliased to 'ls --color=tty' or something similar.  There 
are a couple ways to specify that you only want the color control codes 
when standard output is a terminal device, as it might screw up some 
script or program that reads its input.  When you pipe the output to a 
pager, ls only knows that it's not being output to a terminal device and 
so it doesn't do the color thing.  You can change this by using 
--color=always.  Note that this has the potential to cause problems with 
programs reading the output, so if you ever have weird problems, you 
might look at changing it back.

Anyway, hope that helps a bit, and have fun!

Kahli






[EUG-LUG:1743] Re: Port Scans

2002-02-24 Thread Kahli R. Burke

Bob Miller wrote:

Bob Crandell wrote:

I found out that telnet was open. It's closed now.  What mechanisim
does one use to scan ports from someone else's computer?


nmap is the canonical port scanner.  http://www.insecure.org/nmap/

Just a note that nmap can be used by non root users for the simpler TCP 
and UDP scans that don't create funky invalid packets or screw around 
with the TCP protocol (which are used for XMAS scans, SYN scans, etc.). 
 These scans are more easily detected by IDS because they just look like 
connection attempts; they're not very sneaky.




[EUG-LUG:1753] Re: Many novice questions

2002-02-24 Thread Kahli R. Burke

Bob Miller wrote:

In LS, Less or More (pagers) apparently prevent color format. Is
there a way around that?


No.

alias ls='ls --color=always' works for me
Piping it to more works, but less prints out weird characters due to the 
color codes.

Kahli






[EUG-LUG:1818] Re: DOJ M$ comments online...

2002-03-02 Thread Kahli R. Burke

Seth Cohn wrote:

Kbob's is online at 
http://wwwusdojgov/atr/cases/ms_tuncom/public/18/mtc-00017012htm

Hats off to those who expressed their views  It appears that we are 
being taken seriously so far

http://wwwusdojgov/atr/cases/ms_tuncom/public/18/mtc-00017614htm

Kahli




[EUG-LUG:1821] Mailing list summaries

2002-03-03 Thread Kahli R. Burke

Here's a request

It would be nice to get a periodic summary of all of the euglug lists 
(wearables, activism, tech lunch, etc) posted to the main list (maybe 
the web site too)  At the minimum, a posting listing all of the mailing 
list addresses and instructions on how to subscribe  A nice feature 
would be some information on the traffic on each of the lists, such as 
the total number of messages posted for the period (monthly?) and the 
average number of posts per day

Jamie, Seth, or whoever is administering these lists, can this be done 
easily?  Would anybody else find this useful?

Thanks,

Kahli




[EUG-LUG:1942] Re: perl: tr/$before/$after/?

2002-03-11 Thread Kahli R. Burke

Cory Petkovsek wrote:

How can I use a variable as a search or replace selection using tr//?

$_ = be!happy;
$before=!;
$after= ;
tr/$before/$after/;
print $_;

Pulled from the perlop man page:


 Because the transliteration table is built at compile time, neither the 
SEARCHLIST nor the
   REPLACEMENTLIST are subjected to double quote 
interpolation.  That means that if you want
   to use variables, you must use an eval():
 
   eval tr/$oldlist/$newlist/;
   die $ if $;
 
   eval tr/$oldlist/$newlist/, 1 or die $;

so substitute
eval tr/$before/$after/;
for
tr/$before/$after/;

Hope it helps,

Kahli




[EUG-LUG:1972] Re: Shell one-liner poser

2002-03-13 Thread Kahli R. Burke

Larry Price wrote:


What I'm seeking:
the bit of syntax that will let me use the output of a command
as the input to mail obviously, but more generally
$ command1  ?command2?

I was trying this using /bin/sh on OpenBSD but a good solution would work
on most POSIX'ly compliant shells.

Suggestions?

Ya,

I think you're thinking about this in reverse.  Instead of trying to 
override stdin with the output of a command like this:

command1  [command2]

do this:

command2 | command1

I think the '' and '' redirectors only let you use named files. 
 You can actually create named pipes, which then might work in some of 
your examples above, but why make it difficult.  Just use the pipe directly.

Kahli




[EUG-LUG:1977] Re: bash loops

2002-03-13 Thread Kahli R. Burke

Rob Hudson wrote:

I was just trying to search for a domain name of a friend's website.  I
have an idea of the block number he is in, so I wanted to do a quick
bash look with nslookup to find the domain.  But I'm stumped on the
number range part.

Can bash to a range [1-254] or 1..254 like perl?

I tried many variations on the theme of:

  for i in 1..254; do nslookup 207.189.128.$i; done

Thanks,
Rob


It would probably be easier in perl.  You could use a while loop, with
  
i = `expr $i + 1`

somwhere in there...

something like:

i = 1
while [[ $i  254 ]]
do
nslookup 207.189.128.$i
i = `expr $i + 1`
done

The syntax might not be quite right, but you get the idea...

Kahli






[EUG-LUG:1978] Re: More on shell scripts.

2002-03-13 Thread Kahli R. Burke

Bob Crandell wrote:

mysql -u root -p
mysql create database phpgroupware ;
mysql grant all on phpgroupware.* to phpgroupware@localhost identified by
'password';
mysql quit

These are the lines to create a database and set a password.  How would I put this
in a shell script?  I want it to run unattended, at least, almost unattended.

Because mysql is an interactive program, you either need to use 
something like expect to interact with mysql for you, or put the 
commands into a file and give it to mysql on the command line.  I can't 
remember what the option is to pass ina  file with SQL commands, but 
it's in there.  If you need to substitute strings for the password or 
something, you might have to use a token in your file like '$password' 
or something and use sed to replace it with the real desired password...

Kahli




[EUG-LUG:2027] Re: Revolution OS - documentary on Open Source/Linux

2002-03-19 Thread Kahli R. Burke

Seth Cohn wrote:

--- Bob Crandell [EMAIL PROTECTED] wrote:

This Thursday at River Road Parks and
Recreation?


That is what I was thinking.  Would there be
enough chairs, etc?  1 1/2 hours is a long time
to be watching something if it's not comfortable.

Seth

I seem to remember that Ben's friend who works at LANL was going to be 
visiting with us and talking about their clustering projects.  If this 
is still happening maybe we should put off watching this until next 
week...or do I have my dates wrong?

Kahli




[EUG-LUG:2093] Re: dumb terminal and thin clients

2002-03-27 Thread Kahli R. Burke

Timothy Bolz wrote:

I have the Dorio dumb terminal and was using a null modem cable to connect it 
to my box.  I was thinking about connecting it to a hub.  I know I would need 
a serial to cat5 connector.  Does anyone have a spare one?  I know the 
terminals which stan gave away had them attached.  I have 2 dorio's.  Would 
there be any configuring I would have to do?

I have a 9 pin serial to cat5 cable that was used to connect to the 
management port of a Cisco DSL router.  I could bring to a clinic 
(possibly not this week though...I'm not sure...)  or we could arrange 
something else.  Let me know if you're interested.  I'm not sure about 
the configuration but I think this is the cable you want...

Kahli




[EUG-LUG:2096] Re: dumb terminal and thin clients

2002-03-27 Thread Kahli R. Burke

Kahli R. Burke wrote:

 Timothy Bolz wrote:

 I have the Dorio dumb terminal and was using a null modem cable to 
 connect it to my box.  I was thinking about connecting it to a hub.  
 I know I would need a serial to cat5 connector.  Does anyone have a 
 spare one?  I know the terminals which stan gave away had them 
 attached.  I have 2 dorio's.  Would there be any configuring I would 
 have to do?

 I have a 9 pin serial to cat5 cable that was used to connect to the 
 management port of a Cisco DSL router.  I could bring to a clinic 
 (possibly not this week though...I'm not sure...)  or we could arrange 
 something else.  Let me know if you're interested.  I'm not sure about 
 the configuration but I think this is the cable you want...

 Kahli


Let me expand on this and say that I have a Cisco 675 ADSL router that 
is free to a good home.  Is there anyone out there who would like to 
play with something like that, or is it a worthless piece of junk?

Kahli




[EUG-LUG:2250] Re: Sharp Zaurus SL-5000 Linux based PDA

2002-04-08 Thread Kahli R. Burke

Jim K wrote:

I just got back from Office Depot.  While I was there I played with the
Zaurus. Cool!
64MB ram, 16 MB Rom, TFT screen Opera web browser  Intel 206 StrongArm
Processor,
built in keyboard, various goodies like an office suite and games like snake
and go.
I am impressed, but no built in terminal included.
- Jim K


I saw a Japanese version of this at the JavaOne 2001 conference.  I 
agree that these are pretty slick.  The one I saw had bash running.  You 
could type all your favorite commands like ls, etc.  So it can be done, 
there are many people who want to run customized Linux distributions on 
these.  There's also a WiFi card that you can add on to get wireless 
network access.  That would be cool.  This year the JavaOne conference 
had a special on the developers version, including the WiFi card and 
developer kit for $299.  Don't know if you can get this deal elsewhere 
however

Kahli




[EUG-LUG:2284] Re: c#?

2002-04-11 Thread Kahli R. Burke

Rob Hudson wrote:

Anyone know much about C-pound?  ;)

I know it's a Microsoft thing, but what is their agenda?  I haven't seen
any C# code so don't know too much about why it exists, etc.

My reason for asking is that Ximian is working on a C# language binding
to GTK called GTK#, as seen in this announcement:
http://lists.ximian.com/archives/public/gtk-sharp-list/2002-April/48.html

Thanks,
Rob


C# is part of the .NET behemoth, Microsoft's latest and greatest plot to 
take over the world (say that in a Brain voice) with software as a 
service.  Ask twelve people what software as a service means and 
you'll get at least a dozen different answers.  It's tied in with 
Passport and all those other Microsoft things we loathe.  It's quite 
similar to Java, with enough Microsoftish incomp^H^H^H^H^H^Hfeatures to 
cause a learning curve for the Java adept.  So, like Java, its a garbage 
collected, object oriented language with a C like (Algol-66 like?) 
syntax.  It compiles to an intermediate byte-code like form called CLR 
(Common Runtime Language).  A virtual machine then interprets or 
compiles it real time into machine instructions.  So, the idea is that 
you get the platform independence of Java...without the platform 
independence :) (Ximian's Mono project notwithstanding).  Apparently, 
the plan is to allow many languages to compile into CLR so you could 
have language independence as well as platform independence.  Whether 
this will take off and allow any languages aside from VB and C# remains 
to be seen.

Some people are taking this very seriously, others not so and I'd put 
myself into the latter camp.  Personally, I like Java's platform for web 
services and such, seeing as it's existed (in a non-vaporware state) for 
a lot longer and there are more real life examples of it being used. 
 Some of the landmines have already been plotted out for the rest of us 
to avoid.  So anyway, Bill Gates thinks that web services will 
revolutionize the way computing is done and that .NET will emerge as the 
clear winner in that space.  Personally, I see a lot more going on with 
Java/J2EE/JSP, at least in the circles I'm a part of.

Or, am I just making this up?  I haven't paid really close attention 
over the past few months, so that's my only somewhat educated (and more 
than somewhat irreverent) take on things.

Kahli





[EUG-LUG:2384] Re: USB Mouse

2002-04-23 Thread Kahli R. Burke

Rob Hudson wrote:

I've got one of those mice with a USB end (and USB 2 PS2 connector).
Anyone know what's involved in getting a USB mouse working on Linux?

(Kernel 2.4.18)

Thanks,
Rob


Assuming the device is set up correctly by the kernel, you can usually 
point your XF86Config file at /dev/input/mice to use the USB mouse. 
 Sometimes this has already been linked to /dev/mouse.

Kahli




[EUG-LUG:2405] Re: Mandrake Linux install

2002-04-25 Thread Kahli R. Burke

Dexter Graphic wrote:

Ben, a number of us have Mandrake 8.2 CD's that we're happy to share;
the software is free, you pay for packaging, harcopy manuals (not very
useful IMO), and sometimes support... 


One very important thing you forgot to mention is that buying the boxed
set helps support Mandrake's product development. If no one is willing 
to pay for all those people's hard work they will eventually give up and 
the high quality and easy to use Linux Mandrake distribution will go away. 

Dexter

It is interesting to note that the message you posted below is all about 
the Mandrake Users Club and there is no mention of the fact that 
Mandrake is a publicly traded company and that purchasing stock in the 
company would also be a form of investment into it.  It would supply 
Mandrake with money in the same way that joining the club would, 
however it does have some potential differences later on.  If Mandrake 
happens to become wildly successful and profitable, and you've joined 
the club, you'll only get the satisfaction of having invested in the 
company (maybe that's enough).  If you've bought stock in the company, 
you stand a chance to share in the profit of it.

There seems to be a disconnect in the business model of the company.  If 
the company wants to survive off of charity (which is fine, I'm not 
bashing it, I work for a non-profit organization myself) then let's have 
at it, stop trying to become profitable and get off of the stock market. 
 On the other hand, if the company is a for profit venture, then it 
seems a little sneaky to have all your PR pushing for charitable 
contributions (oh yeah we'll throw in StarOffice too if you give us 
$120...) while those that have invested in the company's stock stand to 
profit off of that if the company becomes profitable in the future.

To quote whomever at Mandrake wrote that piece:

Even when the company 
becomes profitable, it is important that users have a loud voice to remind 
management and investors that the community has been -- and should always 
remain -- a crucial part of MandrakeSoft's success. As we've said before, a 
company that is mostly controlled by business people  investors would be 
drastically different than if controlled by its users.

Yeah, and how about not just controlled by but *owned* by its users, the 
so called community?  Or is that a little to close for comfort?

Just some thoughts...

Kahli




[EUG-LUG:2437] Re: C++ and Linux

2002-04-26 Thread Kahli R. Burke

Christopher Maujean wrote:

read regexp.h :P

then theres cplusplus.com which has lots of cool documentation

--Christopher

On Thursday 25 April 2002 11:51 am, Rob Hudson wrote:

Probing for resources...

When coding C/C++ on a Linux machine, what are some good resources to
find examples on how to use certain header files?

For instance, if I wanted to toy with regexp.h and see how C/C++ can
use regular expressions, where could I find what methods are available
when I #include regexp.h, and possibly an example showing that method
used.

Thanks,
Rob


In addition to reading the headers, which often times have pretty terse 
documentation, ANSI and POSIX C libraries are documented in the manual 
pages, so you can type 'man regex' to see the functions in regex.h, or 
'man stdio' to see the functions there.  If you know the name of a 
function but not the header it's in, type man function name.   For 
example, 'man strcat' will show you that definition and tell you that 
it's in string.h.

Some man pages have some examples, or at least an explanation of how you 
are supposed to do things.

You can of course use all those libraries in your C++ code.  There is 
not (at least on my Linux box) documentation in the form of manual pages 
for the C++ STL or other C++ libraries.  There are many good resources 
online, however, so it's not a huge loss.  I do like the convenience of 
typing 'man printf' when I can't remember all that arcane syntax though...

Also, although the following link is really QNX documentation, it some 
times comes in handy as a reference for ANSI and POSIX C stuff:

http://qdn.qnx.com/support/docs/neutrino_2.11_en/lib_ref/about.html

If anyone knows of a Linux equivalent, please post it!

Kahli




[EUG-LUG:2453] Re: multi gnome terminal

2002-04-28 Thread Kahli R. Burke

Timothy Bolz wrote:

I found this on freshmeat and thought it was the greatest idea.  A terminal 
with Tabs.  Instead of having four terminal windows open you can have one and 
tab between them.  This would be a great idea to add to a browser.  When I 
saw it I said That's a good idea.

http://multignometerm.sourceforge.net/#debian

Check out the screenshots.
http://multignometerm.sourceforge.net/snapshots.html

I haven't tried it yet but it looks very good.  Tell me what you think of it.

Tim


Konsole (for KDE) already does this.  The tabs are at the bottom of the 
window.  I agree that this is a nice interface touch, because it's 
easier to switch back and forth between the tabs than to find the window 
you want in a big stack.

As far as a tabbed interface for a browser, recent (I can't remember the 
build but I think it got added in .92) builds of Mozilla provide this. 
 You can set it up so that middle clicking a link opens it up in a new 
tab.  Ctrl-t creates a new blank tab.  I use this all the time and it's 
great.  Since it's in Mozilla, Galeon probably provides this 
functionality as well...

Kahli




[EUG-LUG:2456] Re: asynchronous file access: ? use chattr +S ?

2002-04-28 Thread Kahli R. Burke

Linux Rocks ! wrote:


   I do have a question about grep and stuff... I would like to replace text 
with different text (like change alt= tags to title= or duplicate alt tags to 
title tags... so, If i have something like


and I want
a href=www.rocksolidnetworks.comimg src=rock.jpg alt=picture of rock 
title=picture of a rock/a

What is the easiest way (yes, I could read awk, and sed and grep...) but I 
basicly just want a rename for inside files (not just filenames).

Both vi and emacs provide a regular expression replace mechanism.  In 
vi, try:

:%s/regex to find/replacement/g

(Note that the command starts with a colon)

I'n emacs, it's C-M-%, or access it from the edit menu.

When I want to do something more sophisticated, I'll usually write a 
quick Perl script (or one-liner), which is how I would do what you want 
above:

cat file.html | perl -ne 's/alt\s*=\s*(.*?)/alt=$1 title=$1/; print'

This says:  cat the file into perl, and for each line (-n option), 
evaluate (-e option) the script in the single quotes:

susbstitute(s/regex/replacement/):
altoptional whitespace=optional whitespaceany character in 
between the quotes, save it in $1...
replace with:
alt=whatever matched in the parentheses title=whatever matched 
in the parentheses

print the altered string (to stdout)

Try it and see if it works for you... You can do the same stuff with sed 
or awk.

Kahli




[EUG-LUG:2459] Re: KDE/GNOME programming

2002-04-28 Thread Kahli R. Burke

Ben Huot wrote:

Are there any books that teach programming from the very basics under X for
KDE or GNOME?

I would like to develop a GUI frontend for the Bible program BRS that use to
come with Linux. Or I could use one of the more modern free versions online.

Ben
[EMAIL PROTECTED]


Maybe:

http://www.amazon.com/exec/obidos/ASIN/0672318911/ref=pd_bxgy_text_2/104-9835413-0941569
(KDE Development 2.0)

or

http://www.amazon.com/exec/obidos/ASIN/1861003811/qid=1020036859/sr=1-2/ref=sr_1_2/104-9835413-0941569
(Beginning GTK+ and GNOME)

KDE and GNOME will insulate you from the lower level X APIs somewhat, so 
general X programming book might not be what you want...

Forgive me if I'm not interpreting this right, but when you say 
programming from the very basics, I wonder if these might be too 
advanced because they probably expect a certain level of familiarity 
with general programming concepts.  In that case, you might want to 
learn the basics first and then jump into GUI programming.  Learning an 
interpreted language such as Python or Perl might be the ticket there. 
 I'm sure others might have other opinions about a good first language, 
which I'm sure the list would be happy to entertain.  What is your 
background in programming?  I might be able to steer you into something 
to start with.

Kahli




[EUG-LUG:2460] Re: asynchronous file access: ? use chattr +S ?

2002-04-28 Thread Kahli R. Burke

Linux Rocks ! wrote:

Sometime just before Sunday 28 April 2002 04:30 pm Kahli R. Burke Wrote
about:[EUG-LUG:2456] Re: asynchronous file access: ? use chattr +S ?
Kahli,
   Thanks! Ill give the perl a try... Im alergic to vi, I use Emacs, but very 
little... Perl looks interesting... I was hoping for something a little less 
ugly!  I was hoping for something more like
blah -a alt=$blah title=$blah filename(s)  
This doenst look too bad... I can probably handle it :)
Jamie

: cat file.html | perl -ne 's/alt\s*=\s*(.*?)/alt=$1 title=$1/; print'

It's just a syntax familiarity thing, the regular expression reads a lot 
like your hypothetical program to me.  If you spend some time with 
regular expressions, the syntax will become clearer and you'll gain an 
appreciation for how useful they are (and understand why they're so 
prevalent), syntax notwithstanding...

Kahli




[EUG-LUG:2469] Re: asynchronous file access: ? use chattr +S ?

2002-04-28 Thread Kahli R. Burke

Linux Rocks ! wrote:

Sometime just before Sunday 28 April 2002 05:13 pm Bob Miller Wrote
about:[EUG-LUG:2461] Re: asynchronous file access: ? use chattr +S ?

: *The easiest* way it to say, Hey, Seth, can you change some web pages
: for me?  That's not very fast -- it may take several weeks, depending
: on how many S+'s you have in your EUGLUG code.

Why would seth want to do any of my html? He's got enough to do... 
The following suggestions look interesting... I tried kahli's perl line.. 
Those are very different looking :) Ill try them too :)

Bob's regular expressions are a little more sophisticated than mine are 
and would handle some cases that mine wouldn't.  In particular, his 
examples automatically back up the original file to filename.orig, 
edit the file in place instead of printing to stdout, and don't need the 
print statement because -p takes care of it.  They also ignore case (the 
i at the end of the substitution).  His last example will deal with img 
tags that span multiple lines, and the [^] would keep it from screwing 
up if there was some other tag with an alt attribute.  The idea is the 
same though.

Kahli




[EUG-LUG:2470] Re: KDE/GNOME programming

2002-04-28 Thread Kahli R. Burke

Ben Huot wrote:

I have written a program launcher with Perl and I tried to write a program
in C++, but it didn't do object oriented programming the way I thought it
worked.

Ben
[EMAIL PROTECTED]

I believe that the KDE libraries are C++ and the GNOME ones are C (or do 
I have that backwards?).  But if you understand loops, conditionals and 
the like, you might be able to pick up one of those books are start 
writing some GUIs...

By the way, how did you expect object oriented programming to work and 
how did C++ fail to fit with those expectations?

Kahli  




[EUG-LUG:2582] Re: BIG FILES

2002-05-09 Thread Kahli R. Burke

Bob Miller wrote:

Bob Crandell wrote:

I'm talking to a guy about a new workstation running Redhat.  It
might have a striped, mirrored set of drives totaling 320 gigs for
capacity and throughput.  He does some heavy arithmatic and uses
most of this to hold temporary files that could be 5 - 10 gigs in
size.  The computer he has now runs into the 2 gig limit.  Has this
limit been elimiated?  Has anyone generated a 3 gig file and run
less, cat or more on it?


I successfully created an 8 TB file on OpenBSD just now.  Kind of
irrelevant, but fun nonetheless.

SO...how much are those 8TB drives running these days?  Could you spare 
me a couple?

Kahli




[EUG-LUG:2703] Re: Defunct

2002-05-23 Thread Kahli R. Burke

Bob Crandell wrote:

Hi,
I have a server with a growing number of these:
20344 ?Z  0:00 [sh defunct]
20354 ?Z  0:00 [sh defunct]
20355 ?Z  0:00 [sh defunct]
20363 ?Z  0:00 [sh defunct]

How do I get rid if them?  How do I find out what's causing them?
--
Bob Crandell
Assured Computing
When you need to be sure.
Cell 541-914-3985
FAX  240-371-7237
[EMAIL PROTECTED]
www.assuredcomp.com
Eugene, Or. 97402


These are zombie processes, they always get created but you usually 
don't see them because they are cleaned up by their parents.  In your 
case you have some software that is creating child processes, and not 
waiting around for them to die.  They are hard to track down, they don't 
usually cause problems, but if there are too many of them they can fill 
up for process table and you won't be able to start any more processes. 
 Usually the only way to get rid of them is to reboot.

As far as tracking down the offending software, you might see of there 
are any more blocks of PIDs that correspond to sh (non zombie), and take 
a look at the parent's PID.  What software are you running that would be 
spawning sh?  I guess there are probably a lot of things that 
would...sorry I can't be more helpful here.

Kahli




[EUG-LUG:3167] Re: Missing sound libraries with Mandrake 8.2

2002-06-29 Thread Kahli R. Burke

Gordon Johnson wrote:

I've installed Mandrake 82.  Trying to compile a program I get...

libtool: link: cannot find the library '/usr/lib/libasound.la'

libalsa1 is installed but it contains libasound.so.1 - not libasound.la

Any thoughts?



  

There is a libalsa1-devel package that contains additional libraries and 
headers.

Kahli




Re: [Eug-lug]En Ateli Siteler

2002-09-01 Thread Kahli R. Burke

Wow,

Do you think they use linux to generate this spam?  :)

Kahli

___
Eug-lug mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug



Re: [Eug-lug]PHP rocks!

2002-09-19 Thread Kahli R. Burke

Bob Miller wrote:

Here is The _Perl_Review_ Suckatude Index.  It shows that under two
different studies, PHP is the most rocking language considered.

   http://www.theperlreview.com/at_a_glance.html

Perl and Python both give a good showing, but C++ and Visual Basic
suck jackal farts.

It's curious that this is on the Perl Review, since it doesn't show
Perl at the top, but whatever...

PHP and Perl battles aside, there is just no way that C++ can suck more 
than TCL.  And I mean to change that.  So, for all you suckatude 
statistics gatherers out there, let me state for the record that

TCL SUCKS

:)

Kahli


___
Eug-lug mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug



Re: [Eug-lug]We Blog

2002-11-27 Thread Kahli R. Burke
I was Bob's post about Eclipse and wanted to chime in.  Can you add me? 
Is this an appropriate way to be using the weblog?

Kahli



___
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


Re: [Eug-lug]Borrow Applied Crypto?

2003-02-15 Thread Kahli R. Burke
I have a copy you can borrow.  Why don't you email off the list and we 
can arrange the drop.  Wait a minute...are we in some spy movie?

Me (aka 003): I like the cheescake at this joint...
Bob (aka 0775): Yeah, *strawberry* is my favorite flavor.
Me: Alright, you know the password, I guess you must be the guy.  Here 
are the cryptographic algorithms.  Remember, we can't let these fall 
into the wrong hands.  Good luck soldier, we're all depending on you.
Bob (grabs fork): Are you going to finish that piece?

Kahli

Bob Miller wrote:

Does anybody have a copy of Bruce Schneier's Applied Cryptography, 2nd
Ed.?  May I borrow it for the ssh presentation?

I've read most of that book (and it's a chewy read), but I've never
owned a copy.

Thanks in advance.

 



___
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug



Re: [Eug-lug]Borrow Applied Crypto?

2003-02-17 Thread Kahli R. Burke
The handoff has already taken place...

Robert M. Solovay wrote:


Bob,

I also have a copy of the Schneier I could lend if the other offer
didn't work out.

--Bob Solovay [based in Eugene despite the email domain]

On Sat, 15 Feb 2003, Bob Miller wrote:

 



___
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug