support

 
   
startseite
projekte
mitgliederseiten
support  
dateibereich 
3d-chat 
gästebuch
   
   
 

Allgemeines

 

AMIGA

ATARI

BSD-UNIX

  DOS

LINUX

MAC

WIN 3.11

WIN 95

WIN 98

WIN/NT

 

*BSD Support

Wir sind Prima. Du und dein Computer werden assimiliert, jeder Widerstand ist zwecklos ;-).

Willkommen bei Prima e.V.

Hier sind die Grundeinstellungen für die verschieden BSD Derivate OpenBSD, FreeBSD und NetBSD zu finden um über Prima ins Internet zu gehen. Die hier vorgestellten Konfigurationen sollten für alle System gleich sein.

Unter *BSD gibt es keine Tools - wie z.B. Yast bei Linux - die einem die Konfigurationsarbeit etwas vereinfachen, also: Back to the Roots - 'vi' und 'man' sind deine Freunde. ;-)

Falls irgendwas nicht klappt oder noch Fragen offen sind, helfe ich gerne.
Mail an support@prima.de


Nameserver
Namen sind nur Schall und Rauch.
PPP - Point to Point Protocol über Modem
Ab ins Internet.
PPP - Point to Point Protocol über ISDN
Ab ins Internet.
UUCP - Unix to Unix Copy
Alt, aber bezahlt.
Email
Tach, Post
News
Elektronische Zeitung
WWW
Weit Weit Wech

Nameserver

Um den Nameserver bei Prima zu benutzen, braucht man die Datei /etc/resolv.conf mit folgedem Inhalt.
  domain prima.de
  lookup file bind
  nameserver 62.72.84.1

PPP - Point to Point Protocol über Modem

Zur *BSD Distribution gehört das Programm pppd, das man als PPP-Server oder auch als PPP-Client einsetzen kann. Folgende Dateien sollten überprüft bzw. erstellt werden.
/etc/ppp/options
In dieser Datei sollte nur das Schlüsselwort lock stehen.
/etc/ppp/chat-prima-modem
Mit dieser Datei wird das Modem initialisiert, und die Verbindung zu Prima hergestellt. Hier muss noch auf jeden Fall Site und PASSWORT durch deinen Sitenamen und dein Passwort ersetzt werden, ggf. auch noch der Modem Init-Befehl.
  ABORT "NO CARRIER"
  ABORT "NO DIALTONE"
  ABORT "ERROR"
  ABORT "BUSY"
  ABORT "User/Password incorrect."
  ABORT "Login incorrect."
  "" "atz"
  OK "at&d0&c1"
  OK "atdt023175840"
  ogin:--ogin: SITE
  word: PASSWORT
          
/etc/ppp/peers/prima-modem
In dieser Datei stehen die PPP-Optionen für Prima. In der ersten Zeile stehen das Device und die Geschwindigkeit, die ggf. angepasst werden müssen.
In Zeile Sieben muss 'xxx.xxx' durch die letzten beiden Zahlen deiner IP-Adresse ersetzt werden.
  ttyA1 115200 
  crtscts
  connect '/usr/sbin/chat -v -f /etc/ppp/chat-prima-modem'
  noauth
  debug
  defaultroute
  62.72.xxx.xxx:62.72.84.18
  netmask 255.255.255.0
  demand
  idle 180
  xonxoff
        
So, das sollte es gewesen sein. Ein lockeres pppd call prima-modem als Benutzer root sollte nun die Verbindung zu Prima herstellen.

Ich habe den Befehl pppd call prima-modem in mein /etc/rc.local-Skript eingetragen, so wird immer eine Verbindung aufgebaut, sobald ich ins Internet will, oder mein Rechner meine Emails und News abholt. Allerdings sollte man überprüfen, dass der Rechner durch irgendwelche Befehle in der Crontab nicht ungewollt eine Verbindung herstellt.

Wenn man keine Lust hat die ganzen Dateien zu erstellen und genügend Plattenplatz und Zeit, etc. dann gibt es noch das KDE Programm kppp, mit dem man PPP über ein GUI konfigurieren kann. Kppp ist im NetBSD Package-System zu finden unter pkgsrc/net/kdenetwork.


PPP - Point to Point Protocol über ISDN

Das erste, was man benötigt ist das ISDN for BSD Paket i4b.tar.gz, welches für alle drei BSD Varianten konfigurierbar ist.

Ein Erfahrungsbericht zu ISDN4BSD gibts hier.

Falls jemand genaueres weiß, bitte eine Email an support@prima.de damit ich die Infos hier eintragen kann.


UUCP - Unix to Unix Copy

Über UUCP kann man News- und Mail Pakete austauschen. Mit dieser Konfiguration ist UUCP über PPP und direkt über Modem möglich.

Für UUCP sind folgende Dateien wichtig:

/etc/uucp/call
  # This is an example of call, the call out password file for Taylor
  # UUCP.  To use it, you must compile the package with
  # HAVE_TAYLOR_CONFIG set to 1 in policy.h (that is the default), copy
  # this file to newconfigdir as set in Makefile.in (the default is
  # /usr/local/conf/uucp), and edit it as appropriate for your system.

  # Everything after a '#' character is a comment.  To uncomment any of
  # the sample lines below, just delete the '#'.

  # This file is used when the ``call-login'' or ``call-password''
  # commands are used in the sys file with a "*" argument (e.g.,
  # ``call-login *'').  The system name is looked up in this file, and
  # the login name and password are used.

  # The point of this is that the sys file may then be publically
  # readable, while still concealing the login names and passwords used
  # to connect to the remote system.

  # The format is just system-name login-name password.
  #uunet Uairs foobar

      
/etc/uucp/config
# taylor_config/config

# hier den eigenen Rechnernamen eintragen
hostname SITE

timetable Vormittag     Wk0900-1200
timetable Nachmittag    Wk1200-1800
timetable Freizeit      Wk0500-0900,Wk1800-2100,Sa0500-2100,Su0500-2100
timetable Mondschein    Wk2100-0200,Sa2100-0500,Su2100-0500
timetable Nacht         Wk0200-0500

      
/etc/uucp/dial
# taylor_config/dial

###########
# default #
###########

chat-fail    BUSY               # wird einer dieser Texte vom Modem ausgegeben,
chat-fail    NO\sCARRIER        # so kann keine Verbindung zustande kommen
chat-fail    NO\sDIALTONE       # UUCP bricht sofort ab
chat-fail    NO\sANSWER
chat-fail    DELAYED

#########
# Modem #
#########

dialer       MODEMdial
                                # hier ggf. den Chatstring anpassen
chat         "" +++\r\pATZ OK ATX4 OK ATM1 OK ATS11=120 OK ATD\T CONNECT

chat-timeout 100                # nach 100 Sekunden ohne Erfolg abbrechen


      
/etc/uucp/dialcode
# taylor_config/dialcode

Bochum          0234
Castrop-Rauxel  02305
Dortmund        0231
Essen           0201
Hattingen       02324
Henrichenburg   02367
Herne           02323
Unna            02303
Wanne-Eickel    02325
Witten          02302

      
/etc/uucp/passwd
# taylor_config/passwd

      
/etc/uucp/port
# taylor_config/port

###########
# default #
###########

protocol-parameter i window 16
protocol-parameter i packet-size 1024
protocol-parameter i remote-window 24
protocol-parameter i remote-packet-size 1024
protocol-parameter i sync-timeout 25
protocol-parameter i sync-retries 10
protocol-parameter i timeout 50
protocol-parameter i retries 12

protocol-parameter g window 7
protocol-parameter g packet-size 512
protocol-parameter g remote-packet-size 512

#########
# Modem #
#########

port               MODEMport
type               modem
#carrier           true
device             /dev/cua1     # hier ggf. Modemschnittstelle anpassen

speed              115200         # hier ggf. Modemgeschwindigkeit anpassen

dialer             MODEMdial

protocol           ig

########
# ISDN #
########

port               ISDNport
type               modem
carrier            true
device             /dev/ttyI0      # hier ggf. ISDN Device anpassen

speed              57600           # hier ggf. Geschwindigkeit anpassen

dialer             ISDNdial

protocol           ig

#######
# TCP #
#######

port               TCPport
type               tcp
service            540

      
/etc/uucp/sys
# taylor_config/sys

###########
# default #
###########

commands       rmail rnews
max-retries    12
success-wait   3600


#########################
#                       #
# System Steve.prima.de #
# per tcp               #
#########################

system steveTCP.prima.de
alias  prima
alias  mail.prima.de
alias  news.prima.de


# hier den eigenen Sitenamen und das UUCP-Password eintragen

call-login     SITE
call-password  PASSWORT

time any
port           TCPport
address        steve.prima.de
chat           ost: \L ssword: \P



#########################
#                       #
# System Steve.prima.de #
#                       #
#########################

system steve.prima.de
alias  prima
alias  mail.prima.de
alias  news.prima.de


# hier den eigenen Sitenamen und das UUCP-Password eintragen

call-login     SITE
call-password  PASWORT

# Nur waehrend Mondschein- & Nachttarif Mail- & Newsaustausch,
# waehrend Freizeittarif nur Mail

#call-timegrade C Freizeit
#timegrade      C Freizeit
#time           Mondschein
#time           Nacht

time any

##############
# TCP-Anwahl #
##############

port           TCPport
address        steve.prima.de
chat           ost: \L ssword: \P

alternate

################
# Modem-Anwahl #
################

port           MODEMport
phone          75840
chat-timeout   120
chat           ogin: u2 ost: \L ssword: \P

      

Email

Zum Email senden verwende ich sendmail. Die Konfiguration ist etwas Tricky. Als erstes werden wir mal das sendmail.cf neu machen mit hilfe von m4.
Man begebe sich in /usr/share/sendmail/cf/cf oder so und kopiere folgende Datei als prima.m4 in dieses Directory.

divert(-1)
#
# Copyright (c) 1998,1999 Peter Reich
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed by the University of
#	California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
# m4 config file for prima.de
#
divert(0)

include(`../m4/cf.m4')
VERSIONID(`$Id: prima.mc,v 1.1 1998/11/01 00:21:48 peter Exp $')
OSTYPE(bsd4.4)dnl       hoffentlich geeignet fuer Free|Net|Open|BSD

MASQUERADE_AS(SITE.prima.de)dnl	        Hier Sitename eintragen, falls
dnl					Hostname nicht der offizielle Sitename

dnl Mailertable, fuer Mail im LAN
FEATURE(mailertable, hash -o /etc/mail/mailertable.db)
dnl virtual users
FEATURE(virtusertable, hash -o /etc/mail/virtusertable.db)

define(`UUCP_RELAY', prima)dnl         Siehe UUCP Konfiguration. WICHTIG!
define(`UUCP_MAILER_MAX', 1000000)dnl   


MAILER(local)dnl	Muss unbedingt drin bleiben!
MAILER(smtp)dnl		fuer Mail im lokalen Netzwerk
MAILER(uucp)dnl		fuer Mail "ins Internet"
Mit m4 ../cf/cf.m4 prima.mc > sendmail.cf erzeugt man ein neue Sendmail-Konfiguration. Nun müssen wir Sendmail noch abgewöhnen, das er immer den DNS belästigt. Dazu genügt die Datei service.switch mit folgendem Inhalt:
hosts	files
aliases	files

News

Noch in Arbeit, sorry.


WWW - Weit Weit Weg

Oder war das doch das World Wide Web?

Für WWW Browser ist es wichtig den Web-Proxy einzutragen. Die meisten Browser Prüfen die Environment Variable 'HTTP_PROXY'.


FAQ's
Copyright 1998 support@prima.de Prima e.V.
   
ansprechpartner © webmaster@prima.de
   
   

 

letztes update: 28-Dec-1999

 II