2 problemy

Pepe pepe w apollo.net.pl
Wto, 30 Kwi 2002, 20:50:52 CEST


On Tue, 30 Apr 2002 20:25:11 +0200
"Andree" <andree w luch.one.pl> wrote:

> Witam
> Moj kernel to 2.2.20-18 z pld i karta realtek RTL 8029 na ne2k-pci czyli to
> co ma kolega
> teraz polecenia cat /etc/sysconfig/interfaces/ifcfg-eth0 :
> # name of the device
> DEVICE="eth0"
> 
> # IP addresses/address prefix
> # where prefix:
> # 24 - resembles netmask 255.255.255.0
> # 16 - resembles netmask 255.255.0.0
> # etc.
> # IPADDR may be either IPv4 or IPv6
> # you may have up to 256 addresses set up
> IPADDR="192.168.1.1"

Proponuję raczej tak IPADDR="192.168.1.1/24" a późniejszy wpis PREFIX usunąć.

> #IPADDR1=192.168.0.2/24
> #IPADDR2=192.168.0.3/24
> #IPADDR3=192.168.0.4/24
> 
> # you may select which of the above addresses
> # is primary for this interface (it'd be IPADDR1 in the example below)
> #IP4_PRIM_IF="1"
> 
> # activate on boot? yes|no
> # you must set it to 'yes' if you want to have this up after bootup
> ONBOOT="yes"
> 
> # dhcp|pump|none
> BOOTPROTO="none"
> # Added by installer
> PREFIX="24"
  ^^^^^^^^^^^ usunąć

> 
> 
> i cat /etc/sysconfig/network
> 
> # $Id: network,v 1.15 2001/11/05 16:58:50 kloczek Exp $
> ######################################################################
> # MAIN PART
> 
> # Do you need IPv4 or IPv6 networking ?
> NETWORKING=yes
> 
> # Do you need IPv4 networking ?
> IPV4_NETWORKING=yes
> 
> # Do you want IPv4 forwarding ?
> IPV4_FORWARDING=yes
> 
> # Set hostname here (only hostname)
> HOSTNAME="Server"
> 
> # Set NIS domain name here
> NISDOMAIN="localdomain"
> 
> # IPv4 gateway
> GATEWAY="213.77.160.90"

Ten adres to SDI, wiec usuń ten wpis, a w pliku /etc/ppp/options wpisz defaultroute.
Trasa domyśla ustwi się sama po podniesieniu interfejsu ppp (pod warunkiem że w
pliku /etc/sysconfig/network będzie GATEWAY="")

> GATEWAYDEV=""
> 
> # Do you want to use IPX networking ?
> IPX=no
> IPXAUTOPRIMARY=
> IPXAUTOFRAME=
> IPXINTERNALNETNUM=
> IPXINTERNALNODENUM=
> 
> # Do you need IPv6 networking ?
> IPV6_NETWORKING=no
> 
> # Do you want IPv6 forwarding ?
> IPV6_FORWARDING=no
> 
> # Enable tunnel interfaces configuration ?
> IPV6_TUNNELCONFIG=no
> 
> # IPv6 gateway
> GATEWAY6=
> GATEWAY6DEV=
> 
> # Global route for IPv6 host with IPv6 forwarding
> IPV6_GLOBALROUTEGW=
> IPV6_GLOBALROUTEDEV=
> 
> # Reading configuration from LDAP
> 
> # Do you want to use LDAP?
> USE_LDAP=no
> 
> # What base DN use for searching for interface configuration
> LDAP_BASE_DN=
> 
> # Other
> 
> # Do you want set static ARP table (based on /etc/ethers config file) ?
> STATIC_ARP=no
> 
> # Do you want set static RARP table (based on /etc/ethers config file) ?
> STATIC_RARP=no
> 
> # Specify interface on which you want to enable tleds software
> # (also you need tleds package installed) -- default set to no
> TLEDS_DEV=no
> 
> # This must be last line !
> # vi:syntax=sh:tw=78:ts=8:sw=4
> 
> pozdrowienia Andree
> 
> 
> 
> ________________________
> http://lists.pld.org.pl/
> 
> 
Reszta OK

-- 
Pepe



Więcej informacji o liście dyskusyjnej pld-users-pl