[techtalk] network configuring

2000-05-18 Thread Deepa Karnad




One basic question. How can an IP address be 
assigned to a host? 
Tried many ways including Lisa. Could not figure 
out. 
I understand that there should be some way of 
accomplishing this. How else does a host know if the destination of a certain 
arrived packet is itself? 
Deepa


[techtalk] installation failure

2000-05-18 Thread Deepa Karnad




Hi.
I found myself trying to make sense of a queer 
problem today. I am installing Caldera OpenLinux Lite on 3 machines. 
Installation into 2 of them went fine. Infact it happened like clockwork. Now, 
on this 3rd machine, it installs completely and reboots perfectly the first time 
after install. The next time I boot/reboot it, Linux just disappears from the 
machine and it boots into dos as if the installation was never 
done.
I use fdisk to partition. It was fine in the 
last two cases. I did not want to risk though. Which is why, I repartitioned 
again and installed. And then I had to do it again. But to no avail. The problem 
is recurring. 
Has anybody faced similar problems? Or can somebody think of 
what could be doing it?  How can the machine develop amnesia just like 
that??
By the way, this is my first experience with installing an OS 
(and partitioning too). 
I gave swap partition size of 32 MB and native partition of 
500 MB (which was sufficient to load the standard version of 212MB). The disk 
has 2GB with a dos partition of 300 MB.
I have tried with a larger linux native partition of 700 MB 
too. With no luck.
Help pleez.
Deepa


[techtalk] Linux on the HP Pavilion 6350

2000-05-18 Thread Elizabeth Cortell

I just installed Linux on my Hewlett-Packard Pavilion 6350, which is
aimed at the home market and is allegedly made for Windows 98. I
encountered a few problems specific to this box, and documented my fixes
at http://www.zrusilla.com/hacking/hp6350linux.html.  Hope this helps
someone.

Liz Cortell



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] network configuring

2000-05-18 Thread Laurel Fan


(please don't use html mail.)

Excerpts from linuxchix: 18-May-100 [techtalk] network configuring"Deepa
Karnad"@blr.vsnl. (1539*) by   
> One basic question. How can an IP address be assigned to a host?=20
> Tried many ways including Lisa. Could not figure out.=20
> I understand that there should be some way of accomplishing this. How =
> else does a host know if the destination of a certain arrived packet is =
> itself?=20

In unix, the IP address is generally assigned to the interface (such as
(for linux) eth0 for an ethernet card or ppp0 for a ppp connection) with
ifconfig.  ie, you tell it and then it knows.  If you use dhcp, ppp, or
a higher level configuration tool, something else might be doing this for
you.  

You don't specify what OS or distribution you're trying to do this for,
and I have no idea what Lisa is, so unfortunately I can't help you with
your specific problem.




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] installation failure

2000-05-18 Thread BobTFish

At 16:43 18/05/00, Deepa Karnad wrote:
>Hi.
>I found myself trying to make sense of a queer problem today. I am 
>installing Caldera OpenLinux Lite on 3 machines. Installation into 2 of 
>them went fine. Infact it happened like clockwork. Now, on this 3rd 
>machine, it installs completely and reboots perfectly the first time after 
>install. The next time I boot/reboot it, Linux just disappears from the 
>machine and it boots into dos as if the installation was never done.

Oops.

>I use fdisk to partition. It was fine in the last two cases. I did not 
>want to risk though. Which is why, I repartitioned again and installed. 
>And then I had to do it again. But to no avail. The problem is recurring.
>Has anybody faced similar problems? Or can somebody think of what could be 
>doing it?  How can the machine develop amnesia just like that??
>By the way, this is my first experience with installing an OS (and 
>partitioning too).


Ok.. Lets do just a little theory then you can understand what you need to 
do to sort your machine out.

When you turn the machine on the CPU jumps to a certain address in memory. 
The BIOS chip lives at this address and so starts executing (not 100% true 
but will do for now). The BIOS finds all your hard discs and then loads the 
first sector of the boot drive (usually the first drive) this secor 
contains the master boot record (MBR)

The bios then jumps to the MBR giving it control. The MBR then loads 
another loader in the boot sector of the boot partition (In your case DOS) 
- This second boot sector then either loads another loader which knows 
something about the filing system and loads the OS..

When you install linux you usually install a program called lilo. You can 
install lilo either on the MBR or in a partition's boot sector.. Lilo knows 
about all your OSen and gives you a choice - For linux it loads the kernel 
directly and for other OSes it loads their partition boot sector.

Your problem seems to be that you have installed lilo not on the MBR but on 
your linux partition's boot sector and the MBR isn't booting that partition.

What you need to do is to go into DOS, start fdisk and mark the linux 
partition as bootable and un-mark the DOS partition as bootable.. This will 
mean lilo gets executed and you can choose :)

(The bootable flag has nothing to do with if an OS is on that partition, 
just where the master boot record should go to...)


Hope this is clear (ish) and helps

BobTFish



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] network configuring

2000-05-18 Thread Jenn V.

Laurel Fan wrote:
> 
> Excerpts from linuxchix: 18-May-100 [techtalk] network configuring"Deepa
> Karnad"@blr.vsnl. (1539*) by
> > One basic question. How can an IP address be assigned to a host?=20
> > Tried many ways including Lisa. Could not figure out.=20
> > I understand that there should be some way of accomplishing this. How =
> > else does a host know if the destination of a certain arrived packet is =
> > itself?=20
> 
> In unix, the IP address is generally assigned to the interface (such as
> (for linux) eth0 for an ethernet card or ppp0 for a ppp connection) with
> ifconfig.  

As for how a machine knows IP addresses without using a DNS, the /etc/hosts
file (Debian distribution) records a lot of IPs.

In Debian, at least, the most critical IP addresses are entered during the
installation.


Jenn V.
-- 
  "We're repairing the coolant loop of a nuclear fusion reactor. 
   This is women's work!"
Helix, Freefall. http://www.purrsia.com/freefall/

Jenn Vesperman[EMAIL PROTECTED] http://www.simegen.com/~jenn


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Linux on the HP Pavilion 6350

2000-05-18 Thread Jenn V.



Elizabeth Cortell wrote:
> 
> I just installed Linux on my Hewlett-Packard Pavilion 6350, which is
> aimed at the home market and is allegedly made for Windows 98. I
> encountered a few problems specific to this box, and documented my fixes
> at http://www.zrusilla.com/hacking/hp6350linux.html.  Hope this helps
> someone.

What a really great thing to do.

May I suggest looking at the Linux Documentation Project and the Open
Source Working Group's websites and getting your fixes included in their
indexes of free documentation?

I believe the addresses are http://www.ldp.org/ and http://www.oswg.org/


Jenn V.
-- 
  "We're repairing the coolant loop of a nuclear fusion reactor. 
   This is women's work!"
Helix, Freefall. http://www.purrsia.com/freefall/

Jenn Vesperman[EMAIL PROTECTED] http://www.simegen.com/~jenn


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] I found 44% off O'Reilly books!

2000-05-18 Thread Elizabeth Cortell

I found out that bookpool.com is offering 44% off  O'Reilly & Associates
books:
http://www.bookpool.com/.x/mjsqm76ta6/z1

I don't own stock in bookpool.com or O'Reilly, or work for them. I read
lots of ORA books and am always looking to save a buck or two on them.

Liz Cortell



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] network configuring

2000-05-18 Thread BobTFish

At 16:49 18/05/00, Deepa Karnad wrote:
>One basic question. How can an IP address be assigned to a host?
>Tried many ways including Lisa. Could not figure out.
>I understand that there should be some way of accomplishing this. How else 
>does a host know if the destination of a certain arrived packet is itself?

Erm, this isn't all that clear what you want to know but I will try..

I assume you are talking about IP over Ethernet.

Each station is given a unique IP address within it's network (more on this 
later) which it knows. When another host wants to send a packet to a host 
then it transmits an ARP (Address Resolution Protocol) query. This query is 
sent out on the ehernet to all stations (Etherenet address 
FF:FF:FF:FF:FF:FF IIRC) meaning that all stations see it. The station who 
has the IP address asked for replies with a broadcast packet (so everybody 
knows) saying I have IP x.x.x.x and my ethernet address is 
xx:xx:xx:xx:xx:xx. (Each Ethernet card has a unique (Ethernet) address BTW).

Hosts keep a cache of ARP entries (so that they don't have to make a query 
every time they send a packet). On linux you can view this in /proc/net/arp.

The way IP addresses are actually ASSIGNED is a different matter.. You have 
to ask the Internet Assigned Numbers Authority for a block of IP addresses 
- which they give you.. However if the network is not going to be Internet 
connected - or is through a masquerading gateway then you can pick any IP 
in the range 10.x.x.x or 192.168.x.x.

In Linux you actually give an IP address to a host at the same time you 
bring the interface up using the ifconfig command.

Eg:
ifconfig eth0 192.168.1.25 gw 192.168.1.1 mask 255.255.255.0 up

This looks a little confusing... But here we go: eth0 - First ethernet 
interface.
192.168.1.25 <- The actual IP address.
255.255.255.0 <- Netmask - this specifies what hosts you can actually 
contact on the local LAN without going through a gateway machine..
It is a bit mask that is ANDed with the IP address to see who is local thusly:
192.168.1.25   - 1100.10101000.0001.00011001
255.255.255.0 - ...
Gives: - 1100.10101000.0001.

Meaning that any IP addresses matching 192.168.1.don't care are local. Any 
other IP addresses get sent to the gaateway machine (192.168.1.1) which 
will automagically do the right thing with them..

Hope this helps.. Maybe I went for too much theory, but it's good for you ;)
BobTFish

P.S. If you want to know more about Ethernet I wrote an article about it 
for Napalm zine recently.. Issue 5. (napalm.firest0rm.org)



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Adobe Acrobat help needed (fwd)

2000-05-18 Thread Laurel Fan

Excerpts from linuxchix: 17-May-100 Re: [techtalk] Adobe Acroba.. by
Lynn [EMAIL PROTECTED] 
> acroread ../../Source/ATM/Extra/Edge/FileCore.cpp:322:CTBool, CTFile:
> Write(const void *, unsigned int): Assertion 'nWritten == nCount' failed.
> Abort

Looks like an assert() failed[1].  If acroread was open source, I (or anyone
else so inclined) would be able to look at line 322 of the file
../../Source/AIM/Extra/Edge/FileCore.cpp and see what would cause this.
There are several open source pdf viewers, xpdf, which was mentioned before,
and gv (which reads pdf and postscript).

Making a wild guess, it appears that it is unable to write a file.  There
are three kinds of file a program usually writes: config files, output,
and temp files.  Since you're probably not trying to output yet, this
eliminates it to config files and temp files.  Acroread seems to have
a config file ~/.acrorc (the ~ means your home directory, if you didn't
know).  Check to make sure that this is writable by the user.  Temp files
are usually in /tmp.  Make sure that the user is allowed to create files
in /tmp.

Also, check for disk space on the partitions where /tmp and your home
directory are.  If the disk is more than 90% and less than 100% full,
root will be allowed to write to it, but users usually will not.

If it's none of these problems, and you have some reason to want to
use acroread instead of one of the non-proprietary solutions, strace
it (run 'strace acroread'), and post the last 20 lines or so of that.
strace traces system calls (such as writing files), so if we can see
what it's trying to do before it dies, we might be able to figure out
what exactly is wrong.

[1] assert() is a C function generally used for debugging.  While writing
a program, one often makes assumptions on what should be true at some
point based on what the program does before that point.  A problem arises
when your assumptions are wrong, either because you changed the code,
or it wasn't right in the first place.  The error could also propagate
pretty far before causing a crash or data loss, making it annoying to
debug.
It's a good idea to put your assumptions in asserts, for example:
  assert(number_of_open_files >= 0);
If number_of_open_files is, in fact, not greater than or equal to 0 when
the program gets to this line, it will print an error message, like
the one above, telling you exactly what and where failed, and exit.
Then, you go look at the code, and figure out why your assumption was
not true and how to fix it.



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] network configuring

2000-05-18 Thread Deepa Karnad


-Original Message-
From: Laurel Fan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 18, 2000 10:06 PM
Subject: Re: [techtalk] network configuring


>
>(please don't use html mail.)
>
>Excerpts from linuxchix: 18-May-100 [techtalk] network configuring"Deepa
>Karnad"@blr.vsnl. (1539*) by
>> One basic question. How can an IP address be assigned to a host?=20
>> Tried many ways including Lisa. Could not figure out.=20
>> I understand that there should be some way of accomplishing this. How =
>> else does a host know if the destination of a certain arrived packet is =
>> itself?=20
>
>In unix, the IP address is generally assigned to the interface (such as
>(for linux) eth0 for an ethernet card or ppp0 for a ppp connection) with
>ifconfig.  ie, you tell it and then it knows.  If you use dhcp, ppp, or
>a higher level configuration tool, something else might be doing this for
>you.
>
>You don't specify what OS or distribution you're trying to do this for,
>and I have no idea what Lisa is, so unfortunately I can't help you with
>your specific problem.
>
I'm working on Caldera OpenLinux Lite version 1.1

>
>
>
>___
>techtalk mailing list
>[EMAIL PROTECTED]
>http://www.linux.org.uk/mailman/listinfo/techtalk
>



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] internet

2000-05-18 Thread Elizabeth Fallon

*from lurkerdom*
Hi all, my name's Elizabeth.  I'm somewhat of a newbie to Linux, and new to 
the list as well.

I've finally gotten a new hard drive, and installed Redhat 6.1.  Now it's 
time to connect to the internet!  I already have a provider...but I need to 
know how to set it all up.  I don't have even the faintest clue where to 
start, though.  Please help!

~Elizabeth

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



RE: [techtalk] internet

2000-05-18 Thread Weilbacher, Katie, CON, OASD(HA)/TMA

well from one fellow newbie-lurker to another, welcome :) 

this might be a good place to start... it explains setting up ppp & whatnot.

http://www.redhat.com/mirrors/LDP/HOWTO/ISP-Hookup-HOWTO.html

:)

katie, fellow newbie from d.c.




> -Original Message-
> From: Elizabeth Fallon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 18, 2000 1:21 PM
> To: [EMAIL PROTECTED]
> Subject: [techtalk] internet
> 
> 
> *from lurkerdom*
> Hi all, my name's Elizabeth.  I'm somewhat of a newbie to 
> Linux, and new to 
> the list as well.
> 
> I've finally gotten a new hard drive, and installed Redhat 
> 6.1.  Now it's 
> time to connect to the internet!  I already have a 
> provider...but I need to 
> know how to set it all up.  I don't have even the faintest 
> clue where to 
> start, though.  Please help!
> 
> ~Elizabeth
> __
> __
> Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] network configuring

2000-05-18 Thread Caitlyn Máire Maritn

Hi, Deepa, Laurel, and everyone else,
>
> (please don't use html mail.)

Absolutely!  On a *nix list, you are always going to have people who prefer
text-based mail readers.
>
> Excerpts from linuxchix: 18-May-100 [techtalk] network configuring"Deepa
> Karnad"@blr.vsnl. (1539*) by
> > One basic question. How can an IP address be assigned to a host?=20
> > Tried many ways including Lisa. Could not figure out.=20
> > I understand that there should be some way of accomplishing this. How =
> > else does a host know if the destination of a certain arrived packet is
=
> > itself?=20
>
> In unix, the IP address is generally assigned to the interface (such as
> (for linux) eth0 for an ethernet card or ppp0 for a ppp connection) with
> ifconfig.  ie, you tell it and then it knows.  If you use dhcp, ppp, or
> a higher level configuration tool, something else might be doing this for
> you.
>
> You don't specify what OS or distribution you're trying to do this for,
> and I have no idea what Lisa is, so unfortunately I can't help you with
> your specific problem

Lisa is the text-based installer in Caldera OpenLinux, so it's some version
or another of COL.  Deepa, are you trying to do this on a machine which is
already setup, or during install?  If it's during install, if you use Lizard
(the graphical installer on COL 2.2 and above) there is a networking screen
that allows you to enter the IP address, subnet mask, and host name.  If the
system is already setup, did you do the default install with X/KDE?  In 2.2
and 2.3 there is a COAS menu right on the panel.  In 2.4, go to your menus
and click on System->COAS->System -> Networking -> Ethernet.  You just fill
in the boxes.

I hope this helps.

All the best,
Caity





___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] network configuring

2000-05-18 Thread Caitlyn Máire Maritn

Hi, Deepa,

> I'm working on Caldera OpenLinux Lite version 1.1

That version is *ancient*.  That's a 1.x kernel of some sort, if I remember
right.  Your life will be much, much easier if you go to a more recent
version.  You can download COL 2.4 for free off their web site.

That s two versions earlier than the oldest COL I've used.  ifconfig shoudl
work, though.

Regards,
Cait



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] internet

2000-05-18 Thread Caitlyn Máire Maritn

Hi, Elizabeth,

I am probably going to be quite unpopular for making this suggestion, but...
if you are a relative newbie coming from a Windows environment, the easiest
way is with kppp.  It looks a whole lot like Dial-Up Networking in Windows.
(Yeah, I know, you don't learn what's under the hood that way, but it's
s *easy*.)

If you've installed and are running KDE (one of the desktop
environments/window managers you get with 6.1), it's on your Internet menu.
If you installed KDE but are running Gnome/Enlightenment (the default
desktop environment/window manager), just open a terminal session and type
in kppp &.  If you know how to do a DUN setup in Windows for your ISP,
you're home free.

If not, you'll need the following from your ISP:

-Your local dial-up phone numbers
-Is you IP address assigned dynamically?  (Usually yes, but VNet, for
example, offers static IPs)  If not, what is your assigned IP address?
-What are the IP addresses of the DNS servers the ISP uses?
-What type of authentication do they use?  (Almost always PAP.)
-Is the default gateway automatically assigned?  (It usually is.)  If not,
what's it's IP address?

In addition, when you go to set up your mail client and news reader, you'll
need to know the names of the ISPs mail and news servers, but first let's
get you connected :)

I believe there is a similar Gnome tool, and I also believe you can set up
most of this in Red Hat's Linuxconf as well, but I've always taken the easy
way out.

I hope this is somewhat helpful.

All the best,
Caity

>
> I've finally gotten a new hard drive, and installed Redhat 6.1.  Now it's
> time to connect to the internet!  I already have a provider...but I need
to
> know how to set it all up.  I don't have even the faintest clue where to
> start, though.  Please help



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] setting up a network.

2000-05-18 Thread Deepa Karnad




Hi again.
I realise my last previous 
question on how to assign an IP address to a host was vague. I may need to 
indulge in some explaining.
I'm encountering several blocks (basically due 
to a lack of thorough knowledge of Linux) while setting up a network. I'll begin 
from the beginning.
 
I with my project team have developed a new 
router (/routing algorithm) that we got to demonstrate at our undergrad project 
exhibition. This we intend to do with a file transfer demo where the routing is 
done by our router (instead of RIP). For this, we want to set up a network of 3 
hosts. We are using PPP with serial ports in a NULL MODEM SERIAL CONNECTION. 

 
I've installed Caldera on 
two machines and configured both to be hosts. Now I want to assign each one IP 
addresses, use ports ttyS* and bring up a communication link. Because I'm using 
a null modem (modem absent) connection, I cross connected the modem cable (used 
between the serial ports belonging to the two) internally i.e. TXD line of one 
goes to RXD line of the other and vice versa. (Has any of you done this any 
time?) In effect, this is not ethernet cuz I'm not using any lan cards. 

 
To begin setting up the link, 

Shouldn't each host know what IP address is  assigned 
to itself? When I tried assigning an IP address to this host that had the 
default lo address, it did not work. (I used Lisa, Linux Installation and 
System Administration utility) Is my logic totally off point? How does the 
host know by which IP address it is associated with by other hosts in the 
network? I am not using a DNS server for my tiny network. i.e. in my 
/etc/hosts file, how do I have an entry for itself given a host (with an 
address other than the loopback)?

Now, incase I have to run getty on this link, how and where 
should I begin? I looked up relevant man pages but am at a loss. I am trying 
to figure out the sequence of commanding the OS. ( pppd, setserial, term, 
getty, ifconfig, netstat, route...all these swim around me in my dreams but 
I can't get them to line up in the right sequence for the job)

This may sound stupid, but how do I tell the OS that at 
ttyS0 is a valid serial link which leads to a host with a certain IP 
address?
 
sorry for including too much into a single mail. Thought this 
would make it clearer. Thanks a ton in advance. I've asked for a lot of info. 
That's because, there is a lack of Linux expertise in my college and so nobody 
to solve the small, nagging problems.
Deepa.
 


Re: [techtalk] setting up a network.

2000-05-18 Thread Deepa Karnad

Oh ye
This is a lot of help.

-Original Message-
From: Snarfblat <[EMAIL PROTECTED]>
To: Deepa Karnad <[EMAIL PROTECTED]>
Date: Thursday, May 18, 2000 11:51 PM
Subject: Re: [techtalk] setting up a network.


>I may be able to help with some of the problems.. (try to at
>least)
>I am assuming that you will be using two serial ports on each box
>then?
>Or one serial port for each client machine into your router
>project machine?
>

I'm infact using 2 serial ports on each box.


.  Basically
>when you configure the serial interface, slip0 for example, you
>will tell it
>the serial port and configuration settings to use.  Then you can
>use the above
>mentioned ifconfig command to activate and deactivate the
>interface.
>
>Also, you may need to double check your kernel configuration.
>SLIP and PLIP require
>specific kernel modules or drivers to be present.  If you dont
>have these, it will
>not work.
>
Okay. So I first configure serial port. Then use ifconfig to set up link. I
had read up an HOW-TO on Ethernet networking where there was a small part
talking on null modem link. There it said, I first run getty from one box
and check if link is up and working. Then I come out of getty and run pppd
on both machines. ( I'm using PPP and I think the ppp modules are installed.
Any way to check that?)
This should explain why I enquired about getty. So, how are these two
methods of obtaining a link different? In the end, all I want to do is route
between 3 hosts using 3 links.
>

Deepa.



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] setting up a network.

2000-05-18 Thread Snarfblat

Deepa Karnad wrote:
> 
> Okay. So I first configure serial port. Then use ifconfig to set up link. I
> had read up an HOW-TO on Ethernet networking where there was a small part
> talking on null modem link. There it said, I first run getty from one box
> and check if link is up and working. Then I come out of getty and run pppd
> on both machines. ( I'm using PPP and I think the ppp modules are installed.
> Any way to check that?)
> This should explain why I enquired about getty. So, how are these two
> methods of obtaining a link different? In the end, all I want to do is route
> between 3 hosts using 3 links.
> 
> Deepa.

Ahh, ok.  If you will be using PPP and not SLIP, then yes, you
will need getty and
a few other things as well.

To clarify things a bit, I was under the impression you were
using SLIP.  PPP and PLIP
(PLIP == SLIP for parralell ports) are other options for
networking.

You would be better off using PPP, and I will continue from that
angle..
(i found this page: http://www.swcp.com/swcp-info/slip-ppp.html )

Ok, first off you will need getty only if you want to autheticate
users.  You probably dont want this.

Most of this info is in the HOWTO for PPP.. (
http://www.linuxdoc.org/HOWTO/PPP-HOWTO.html ) but its kinda of
confusing since you are using ppp for local networking.

Setup:
First you need to decide how you will connect the multiple boxes
together.  Because PPP requires
a client and server, you can either:

1) Make all clients connect to one central server, this would
route requests between clients and act as a gateway to any other
networks.  This is like an ISP setup for modem users.  The
downside of this is that you will quickly run out of serial
ports.

2) Run a client and server on each machine.  Somehow define which
client connects to which server, with the end result being all
are linked together in some fashion.  This would require two
serial ports for each machine.  Downside of this is the
complexity, there is a fair amount of work to do to configure the
machines correctly to make sure no machine is left hanging, and
also the path from one machine to another could be quite a few
hops, depending on how many workstations you have.

Now, regardless of which way you choose, you will have to then
configure the clients, and configure the servers.  Note that a
machine may be a client and a server depending on how you
implmenent the network.

For clients:
You will be using PPP over a null modem connection.  See
http://www.linuxdoc.org/HOWTO/PPP-HOWTO-27.html for how to do
this.. This section is explained fairly well.
The commands to pppd are what configure the network as far as IPs
and other network info is concerned.

For Server:
http://www.linuxdoc.org/HOWTO/PPP-HOWTO-26.html for specifics,
this section is also fairly good.
They also mention the kernel modules you will need.
You can ignore anything with standard dial up stuff.  You arent
going to have users dial in via modems  (are you?).

Hope that clears things up a bit.

-- 
.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.
[EMAIL PROTECTED] | http://cubicmetercrystal.com/
 "You are the product of a mutational union 
   of ~640Mbytes of genetic information."


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] installation failure

2000-05-18 Thread Deepa Karnad


-Original Message-
From: BobTFish <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 18, 2000 10:04 PM
Subject: Re: [techtalk] installation failure


>
When you install linux you usually install a program called lilo. You
can
>install lilo either on the MBR or in a partition's boot sector.. Lilo knows
>about all your OSen and gives you a choice - For linux it loads the kernel
>directly and for other OSes it loads their partition boot sector.
>
>Your problem seems to be that you have installed lilo not on the MBR but on
>your linux partition's boot sector and the MBR isn't booting that
partition.
>
>What you need to do is to go into DOS, start fdisk and mark the linux
>partition as bootable and un-mark the DOS partition as bootable.. This will
>mean lilo gets executed and you can choose :)


Will try first thing tomorrow. Seems most likely that this could have
happened.


>(The bootable flag has nothing to do with if an OS is on that partition,
>just where the master boot record should go to...)
>
>
>Hope this is clear (ish) and helps
>
>BobTFish




That was more than clearish. And the theory is groovy. Thanx for taking time
out to write in such detail.
Deepa

>___
>techtalk mailing list
>[EMAIL PROTECTED]
>http://www.linux.org.uk/mailman/listinfo/techtalk
>



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] a good perl book

2000-05-18 Thread Clair Mooza

I don't know the first thing about Perl and am very new to Linux/Unix.
I was wondering what a good first book(s) would be to start with.  I am
looking for a reference book and also for a book that I can sit down and
read through to familiarize myself with Perl.  Thanks!

-Clair



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] a good perl book

2000-05-18 Thread elizabeth ~

Learning Perl by Randal L. Schwartz and Tom Christiansen, published by 
O'Reilly (on the 44% off list at http://www.bookpool.com)

Programming Perl by Larry Wall, Tom Christiansen, Randal L. Schwartz, 
Stephen Potter also published by O'Reilly, and also on said list at 
Bookpool.

Good luck!

Elizabeth


Original Message Follows
From: Clair Mooza <[EMAIL PROTECTED]>
To: techtalk <[EMAIL PROTECTED]>
Subject: [techtalk] a good perl book
Date: Thu, 18 May 2000 14:20:16 -0700

I don't know the first thing about Perl and am very new to Linux/Unix.
I was wondering what a good first book(s) would be to start with.  I am
looking for a reference book and also for a book that I can sit down and
read through to familiarize myself with Perl.  Thanks!

-Clair



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] Oracle 8i on Linux - any lurking DBAs?

2000-05-18 Thread Saska

Hello list,

A sysadmin and a DBA here, both stumped!

We're running Oracle 8i on RedHat 6.1 Secure with the ArsDigita
Community System (ACS) and AOLServer.  That may not mean anything to any
of you; the relevant point is that the ACS (which requires Oracle) and
AOLServer (which just uses whatever db connection the ACS has) are
speaking properly to the database and to one another, the tables have
automagically assembled themselves with the proper attributes, etc.
However, when we attempt to insert values into the tables in the
community system, we're getting a VERY strange error:

ORA-01403: no data found

The insert does not commit and the table remains empty.

We have verified: (a) there are no triggers running based upon an insert
into this table (b) no other errors are being generated (c) the same
results occur if we insert data into the table in exactly the same order
as is listed in the DESCRIBE results below.

Any lurking DBAs out there who can help us figure out what the )&^#$ is
going on?


relevant data:




SQL> describe users

 Name  Null?Type
 -  

 USER_ID   NOT NULL NUMBER(38)
 FIRST_NAMES   NOT NULL VARCHAR2(100)
 LAST_NAME NOT NULL VARCHAR2(100)
 SCREEN_NAMEVARCHAR2(100)
 PRIV_NAME  NUMBER(38)
 EMAIL NOT NULL VARCHAR2(100)
 PRIV_EMAIL NUMBER(38)
 EMAIL_BOUNCING_P   CHAR(1)
 CONVERTED_PCHAR(1)
 PASSWORD  NOT NULL VARCHAR2(30)
 URLVARCHAR2(200)
 ON_VACATION_UNTIL  DATE
 LAST_VISIT DATE
 SECOND_TO_LAST_VISIT   DATE
 N_SESSIONS NUMBER(38)
 REGISTRATION_DATE  DATE
 REGISTRATION_IPVARCHAR2(50)
 USER_STATE VARCHAR2(100)
 APPROVED_DATE  DATE
 APPROVING_USER NUMBER(38)
 APPROVING_NOTE VARCHAR2(4000)
 EMAIL_VERIFIED_DATEDATE
 REJECTED_DATE  DATE
 REJECTING_USER NUMBER(38)
 REJECTING_NOTE VARCHAR2(4000)
 DELETED_DATE   DATE
 DELETING_USER  NUMBER(38)
 DELETING_NOTE  VARCHAR2(4000)
 BANNED_DATEDATE
 BANNING_USER   NUMBER(38)
 BANNING_NOTE   VARCHAR2(4000)
 CRM_STATE  VARCHAR2(50)
 CRM_STATE_ENTERED_DATE DATE
 PORTRAIT   BLOB
 PORTRAIT_UPLOAD_DATE   DATE
 PORTRAIT_COMMENT   VARCHAR2(4000)
 PORTRAIT_CLIENT_FILE_NAME  VARCHAR2(500)
 PORTRAIT_FILE_TYPE VARCHAR2(100)
 PORTRAIT_FILE_EXTENSIONVARCHAR2(50)
 PORTRAIT_ORIGINAL_WIDTHNUMBER(38)
 PORTRAIT_ORIGINAL_HEIGHT   NUMBER(38)
 PORTRAIT_THUMBNAIL BLOB
 PORTRAIT_THUMBNAIL_WIDTH   NUMBER(38)
 PORTRAIT_THUMBNAIL_HEIGHT  NUMBER(38)
 BIOVARCHAR2(4000);




SQL> INSERT INTO users (user_id,
   email,
   password,
   first_names,
   last_name,
   url,
   registration_date,
   registration_ip,
   user_state,
   last_visit)
   VALUES (44,
   '[EMAIL PROTECTED]',
   'password',
   'Alice',
   'Lidell',
   '',
   sysdate,
   '192.168.0.101',
   'authorized',
   sysdate);

ERROR at line 1:
ORA-01403: no data found

SQL>




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] a good perl book

2000-05-18 Thread srl

On Thu, 18 May 2000, Clair Mooza wrote:

> I don't know the first thing about Perl and am very new to Linux/Unix.
> I was wondering what a good first book(s) would be to start with.  I am
> looking for a reference book and also for a book that I can sit down and
> read through to familiarize myself with Perl.  Thanks!

the O'Reilly Press book *Learning Perl* is the canonical first step
for learning Perl. as you get better with it, get *Programming Perl*
or perhaps *Learning Regular Expressions* (?), also both published
by O'Reilly. www.oreilly.com will tell all. 

HTH,
srl
-
Shane Renee Landrum 
slandrum<@>cs.smith.edu 




___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] a good perl book

2000-05-18 Thread skud

On Thu, May 18, 2000 at 09:35:21PM -0400, srl wrote:
> On Thu, 18 May 2000, Clair Mooza wrote:
> 
> > I don't know the first thing about Perl and am very new to Linux/Unix.
> > I was wondering what a good first book(s) would be to start with.  I am
> > looking for a reference book and also for a book that I can sit down and
> > read through to familiarize myself with Perl.  Thanks!
> 
> the O'Reilly Press book *Learning Perl* is the canonical first step
> for learning Perl. as you get better with it, get *Programming Perl*
> or perhaps *Learning Regular Expressions* (?), also both published
> by O'Reilly. www.oreilly.com will tell all. 

"Elements of programming in Perl" by Andrew Johnson is also a good
beginners book.  It takes a lot of effort to explain programming
concepts for non-programmers, whereas Schwartz's "Learning Perl" assumes
a fair bit of previous programming knowledge.

The "camel" book, "Programming Perl", is a good reference, but
everything in it can also be found in the online manuals ("man perl"),
and it is somewhat out of date now.  I believe a 3rd edition is due
sometime soon, which might be more useful.

"Perl in a Nutshell" might be a good desktop reference for some.  Check
it out and see what you think.

K.

-- 
Kirrily Robert -- <[EMAIL PROTECTED]> -- http://netizen.com.au/
Internet and Open Source Development, Consulting and Training
Level 13, 500 Collins St, Melbourne VIC 3000
Phone: +61 3 9614 0949  Fax +61 3 9614 0948


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] setting up a network.

2000-05-18 Thread Deepa Karnad

I'll try my hand at this and get back to you.
Thank you. =)
Deepa


-Original Message-
From: Snarfblat <[EMAIL PROTECTED]>
To: Deepa Karnad <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Friday, May 19, 2000 1:05 AM
Subject: Re: [techtalk] setting up a network.


>Deepa Karnad wrote:
>>
>> Okay. So I first configure serial port. Then use ifconfig to set up link.
I
>> had read up an HOW-TO on Ethernet networking where there was a small part
>> talking on null modem link. There it said, I first run getty from one box
>> and check if link is up and working. Then I come out of getty and run
pppd
>> on both machines. ( I'm using PPP and I think the ppp modules are
installed.
>> Any way to check that?)
>> This should explain why I enquired about getty. So, how are these two
>> methods of obtaining a link different? In the end, all I want to do is
route
>> between 3 hosts using 3 links.
>>
>> Deepa.
>
>Ahh, ok.  If you will be using PPP and not SLIP, then yes, you
>will need getty and
>a few other things as well.
>
>To clarify things a bit, I was under the impression you were
>using SLIP.  PPP and PLIP
>(PLIP == SLIP for parralell ports) are other options for
>networking.
>
>You would be better off using PPP, and I will continue from that
>angle..
>(i found this page: http://www.swcp.com/swcp-info/slip-ppp.html )
>
>Ok, first off you will need getty only if you want to autheticate
>users.  You probably dont want this.
>
>Most of this info is in the HOWTO for PPP.. (
>http://www.linuxdoc.org/HOWTO/PPP-HOWTO.html ) but its kinda of
>confusing since you are using ppp for local networking.
>
>Setup:
>First you need to decide how you will connect the multiple boxes
>together.  Because PPP requires
>a client and server, you can either:
>
>1) Make all clients connect to one central server, this would
>route requests between clients and act as a gateway to any other
>networks.  This is like an ISP setup for modem users.  The
>downside of this is that you will quickly run out of serial
>ports.
>
>2) Run a client and server on each machine.  Somehow define which
>client connects to which server, with the end result being all
>are linked together in some fashion.  This would require two
>serial ports for each machine.  Downside of this is the
>complexity, there is a fair amount of work to do to configure the
>machines correctly to make sure no machine is left hanging, and
>also the path from one machine to another could be quite a few
>hops, depending on how many workstations you have.
>
>Now, regardless of which way you choose, you will have to then
>configure the clients, and configure the servers.  Note that a
>machine may be a client and a server depending on how you
>implmenent the network.
>
>For clients:
>You will be using PPP over a null modem connection.  See
>http://www.linuxdoc.org/HOWTO/PPP-HOWTO-27.html for how to do
>this.. This section is explained fairly well.
>The commands to pppd are what configure the network as far as IPs
>and other network info is concerned.
>
>For Server:
>http://www.linuxdoc.org/HOWTO/PPP-HOWTO-26.html for specifics,
>this section is also fairly good.
>They also mention the kernel modules you will need.
>You can ignore anything with standard dial up stuff.  You arent
>going to have users dial in via modems  (are you?).
>
>Hope that clears things up a bit.
>
>--
>.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.oO()Oo.
>[EMAIL PROTECTED] | http://cubicmetercrystal.com/
> "You are the product of a mutational union
>   of ~640Mbytes of genetic information."
>



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] a good perl book

2000-05-18 Thread Christian MacAuley

> I don't know the first thing about Perl and am very new to Linux/Unix.
> I was wondering what a good first book(s) would be to start with.  I am
> looking for a reference book and also for a book that I can sit down and
> read through to familiarize myself with Perl.  Thanks!

I think Perl: An Interactive Guide was also very good.  This a huge, black,
tutorial based guide to learning Perl.

Good luck!

~Christian



___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] a good perl book

2000-05-18 Thread Melissa Plunkett

When it comes to Perl books I found O'Reilly's Learning Perl
a good starter and for later and reference Programming Perl (all of 
O'Reilly's Perl books can be found at http://perl.oreilly.com/) 
There are also many online goodies at http://www.perl.com
Also I've always found learning by example is one of the best
ways so try going to places such as the http://www.cgi-resources.com/
where there are tons of perl CGI's for you to tinker with.

Have fun :)  
Melissa Plunkett

Clair Mooza wrote:
> 
> I don't know the first thing about Perl and am very new to Linux/Unix.
> I was wondering what a good first book(s) would be to start with.  I am
> looking for a reference book and also for a book that I can sit down and
> read through to familiarize myself with Perl.  Thanks!
> 
> -Clair
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk