Samuel Varghese | 1 May 02:08 2000

ppp connection problems

i have been trying to connect a debian box to telstra on a permanent modem
link and am having some problems. any help would be appreciated.

according to the /var/log/messages file, everything is hunky-dory until the
stage when the ppp line discipline is registered. after that it reads:

registered device ppp0
connect : ppp0 <--> /dev/ttyS0
unsupported protocol (0x8207) received
connection terminated
exit

would be very grateful if somebody could tell me what's gone wrong. my
resolv.conf file is fine.

sam
--

-- 
Samuel Varghese
Gnubies
http://www.gnubies.com

Software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems.

Robert Davidson | 1 May 13:11 2000
Picon

Re: ppp connection problems

Hmm.. I've seen this email before.

maybe no one here knows?  You could always mail this onto that
other crappy linux list your on.

Regards,
Robert Davidson.

Samuel Varghese wrote:
> 
> i have been trying to connect a debian box to telstra on a permanent modem
> link and am having some problems. any help would be appreciated.
> 
> according to the /var/log/messages file, everything is hunky-dory until the
> stage when the ppp line discipline is registered. after that it reads:
> 
> registered device ppp0
> connect : ppp0 <--> /dev/ttyS0
> unsupported protocol (0x8207) received
> connection terminated
> exit
> 
> would be very grateful if somebody could tell me what's gone wrong. my
> resolv.conf file is fine.

Brendon Oliver | 1 May 04:18 2000
Picon

Help with s/ware RAID pls?

Hi all, 

Have a box here we've been trying to get up & running with s/ware RAID
(level 1).  The drives are configured as follows:

sda1 /boot	sdb1 /boot
sda2 swap	sdb2 /swap
sda3 /		sdb3 /

But no matter what we try, we cannot get it to boot (usally getting just
LI or LIL- prompts). (FWIW, the SCSI drives are identical
brand/model/size)

There's a 'Booting on RAID' section in the Software-RAID-HOWTO we've
been working from (but it correctly describes itself as a nano-howto :-(
not much detail to be had there...)

According to it's suggestions we have:
a) installed Linux on a 3rd disk (IDE)
b) created the RAID device /dev/md0 consisting of /dev/sda3 & /dev/sdb3
c) copied / from the IDE drive to /dev/md0
d) copied /boot from IDE to both /dev/sda1 & /dev/sda2
e) used fdisk to set the ID of both /dev/sda3 & /dev/sdb3 to 'fd'.

The doco says to setup lilo on both boot partitions, so we stopped the
RAID (we're still booted & running from the IDE drive at this point) &
mounted /dev/sda3 -> /mnt/root & /dev/sda1 -> /mnt/root/boot,
edited /mnt/root/etc/lilo.conf to show boot=/dev/sda1.  The howto says
to set root=900 since lilo doesn't understand the /dev/md? devices, so
tried that too.
(Continue reading)

Robert Davidson | 1 May 15:39 2000
Picon

Unix domain sockets or whatever they're called

Hi, 

Does someone know where I can find a tutorial/guide
on these type of sockets, and if anyone here has programmed
something using these sockets, can you send me some/all
of your source to your simplest application so i can study it?

Regards,
Robert Davidson.

Adam Neat | 1 May 05:42 2000

Re: Unix domain sockets or whatever they're called

Robert,

There are some pretty funky books on Amazon.com for this type of stuff. 

A few years back there was a set of 3 TCP/IP books (about 500 pages each)
that were available and were quite technical. Called something like
Illustrated TCP/IP Volumes 1,2 and 3

Adam

On Mon, 1 May 2000, Robert Davidson wrote:

> 
> Hi, 
> 
> Does someone know where I can find a tutorial/guide
> on these type of sockets, and if anyone here has programmed
> something using these sockets, can you send me some/all
> of your source to your simplest application so i can study it?
> 
> Regards,
> Robert Davidson.
> 
> 
> _______________________________________________
> mlug mailing list
> mlug <at> mlug.org.au
> http://ecom.ebbs.com.au/cgi-bin/mailman/listinfo/mlug
> 

(Continue reading)

Graf Orlok von Toxic | 1 May 04:41 2000
Picon

Re: Help with s/ware RAID pls?


A few things - I've done a fair bit of playing with raid :)

Thought of trying redhat? I've played with Gentus (abit's redhat based
distro) and it has ok raid installation support :)

Or, you may want to -

Install on an IDE drive, a minimal installation, enough to compile a
kernel, etc.
I'm using 2.2.14pre19 with the unified IDE patches (for my hpt controller)

I install onto a drive, then compile the kernel up, with your choice of
raid level, and bootable raid compiled in. Add to lilo this new kernel.
add 
append="md=1,0,4,0,/dev/drive1,/dev/drive2" 
(read kernel/Documentation/md.txt for details) to lilo.conf
run lilo.
reboot
Now, cat /proc/mdstat - You should have an active raid1 device!

Mount it,then modify your lilo.conf to have another entry - the same as
the one you just added, but with /dev/md0 as the boot partition. Configure
/ likewise, depending on how many raid partitions you chose to configure.
 copy everything over as you wopuld for the hard drive upgrade howto. 

make a copy of the kernel image, with lilo modified to suit, so you should
have your original kernel, the one you compiled, and a copy of the one you
compiled - this one, rdev it to use /dev/md0 as root. set lilo up in the
same way
(Continue reading)

Brendon Oliver | 1 May 05:57 2000
Picon

Re: Help with s/ware RAID pls?

Thanks for the repsonse,

Graf Orlok von Toxic wrote:
> 
> Thought of trying redhat? I've played with Gentus (abit's redhat based
> distro) and it has ok raid installation support :)

This is RH - 6.1 to be precise ;-) But it said *nothing* about RAID
during install..... where in the install process does it come up?

> 
> Or, you may want to -
> 
> Install on an IDE drive, a minimal installation, enough to compile a
> kernel, etc.
> I'm using 2.2.14pre19 with the unified IDE patches (for my hpt controller)
> 
> I install onto a drive, then compile the kernel up, with your choice of
> raid level, and bootable raid compiled in. Add to lilo this new kernel.
> add
> append="md=1,0,4,0,/dev/drive1,/dev/drive2"
> (read kernel/Documentation/md.txt for details) to lilo.conf
> run lilo.

Hmm... I'll have a look at what you suggest...

> reboot
> Now, cat /proc/mdstat - You should have an active raid1 device!

Well, booting from the IDE, there's nothing wrogn with our raid1 device.
(Continue reading)

Guy Hunter | 1 May 15:06 2000

[BACK on Debian GNU/Linux]

Hi all,

I'm glad to say my Debian reinstall is over, and hello from Debian!
Now if only Largo's WMaker site would come back up, I could get my
themes
and icons back.

Thanks for all the offers of CDs, and thanks to Scott for returning
mine.

Guy H

Debian GNU/Linux some hate the install, I love it!  The only difference
between a text and a graphic install, is that you have to read.

James Morgan | 1 May 15:59 2000
Picon

IP Chains... trying to forward all smtp traffic to a specific host

I have a very simple question but I cant find an answer anywhere.

I am trying to use ipchains to redirect all smtp requests to a specific
server.

It seems that most documentation focuses on redirection to ports on the
local host
and not to specific servers.

Can any one help as I am quite spaz.

regards

james morgan

Shane Bearham | 1 May 17:01 2000
Picon

Re: IP Chains... trying to forward all smtp traffic to a specific host

James Morgan wrote:

> I have a very simple question but I cant find an answer anywhere.
>
> I am trying to use ipchains to redirect all smtp requests to a specific
> server.
>
> It seems that most documentation focuses on redirection to ports on the
> local host and not to specific servers.

The simple answer is no !!!
Not with ipchains, like ipfwadm you can only redirect to a LOCAL socket
NOT a remote socket

Lookup man pages/info/whatever on ipportfw/ipmasqadm which is included in the 2.2.x kernel

that allows you to 'rewrite & forward'
from <IP ADDRESS>:<PORT> --------> <IP Address>:<Port>

so long as the packets transverse the machine. (ie Interface --> Interface )

Shane

 12:37am  up 6 days, 12:43, 12 users,  load average: 0.09, 0.13, 0.09


Gmane