Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: portslave ???


  • Subject: Re: lug-bg: portslave ???
  • From: hristo@xxxxxxxxxxxx (Hristo Nazarov)
  • Date: Thu, 5 Apr 2001 02:34:06 -0700



1. v rc.local (naj-nakraia) dobawiash towa:
# Malko modemcheta da setnem!!!!
#Starting firewall and Enable Routing & FW
/etc/rc.d/rc.firewall
setserial /dev/ttyS0 irq 7
setserial /dev/ttyS1 irq 3
setserial /dev/ttyS2 irq 4
setserial /dev/ttyS3 irq 5

Towa e da ti Setne modemchetata ..w moia sluchaj te sa 4 watreshni...
2. /etc/rc.d/rc.firewall e zadalzitelno da saduraza pone towa:
 echo "  - Enabling IP forwarding"
echo "1" > /proc/sys/net/ipv4/ip_forward
3. Towa e w pslave.conf za da ti polzwa tezi modemcheta deto si gi sentnal w
rc.local (ttyS0- s0.tty          ttyS0)

 #
# Tty names are s0...s63. For every port we need to define a tty port, and
# an IP number for when radius tells us to pick one ourself. Unless you
# use the IP pool option mentioned above (IP number with "+" appended).
#
# Note that you can change _all_ of the above settings that start
# with all.xxxx on a per-port basis, such as issue, prompt etc.
#
s0.tty          ttyS0
s1.tty          ttyS1
s2.tty          ttyS2
s3.tty          ttyS3
s4.tty          ttyS8
s5.tty          ttyS9
s6.tty          ttyS10
s7.tty          ttyS11
s8.tty          ttyR8
s9.tty          ttyR9
s10.tty         ttyR10
s11.tty         ttyR11
s12.tty         ttyR12
s13.tty         ttyR13
s14.tty         ttyR14
s15.tty         ttyR15

4. tow se dobawia w inittab naj nakraia

0:23:respawn:/usr/local/sbin/portslave 0
s1:23:respawn:/usr/local/sbin/portslave 1
s2:23:respawn:/usr/local/sbin/portslave 2
s3:23:respawn:/usr/local/sbin/portslave 3

Otnosno Radiusa...towa e dalga tema no na  parwo wreme te sawetwam da
pipnesh towa w pslave.conf

#
# If you set this to "1", you can always login locally by putting a '!'
# before your loginname. Useful for emergencies when the RADIUS server is
down.
#
conf.locallogins        1

Psle kato go podkarsh pslave
probwash da se lognesh s:

User: !root
Pass: administratiwnata parola na mashinata

Probwaj..Uspeh...
Hristo NAzarov

----- Original Message -----
From: "Iavor " <unitrans@xxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 17, 2001 1:16 AM
Subject: lug-bg: portslave ???

> S brat mi reshihme da si napravim dial-up server i toi se spria na
> portslave
> no as ??? i kakto i da e svalih go compl vsi4ko OK
> i sega v /etc/portslave/ ima samo edin pslave.conf file i vyprosami e
> kak da go pusna na ttyS0 v file poglednah i pisheshe za ttyS0 da 4aka
> tam
> a kogato se opitam da pusna portslave iska <PORT>  as dacvam portslave
> ttyS0 pak neshte e kakto i da e vyprosite mi sa:
> 1 V pslave.conf li se zadavat IP i host
> 2. portslave ispolzva radius kade sa na nego file za auth.
> 3. V inittab kakvo se dobvia za da raboti NON STOP
> sled kato go razgledah smetnah 4e e dosta po dobyr ot mgetty
> Predvaritelno blagodaria
> -----------------------------
> Free mail from www.dir.bg!
>
===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora
>

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.