Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Thales.suse.de
. A
net connection like e.g. ping Thales
does not work.
/etc/hosts
, because e.g. a connection is occasionally established on the modem
. Since the IP number is however defined for a (inexistent) device
, the own computer cannot be addressed.
/etc/hosts
Enter the following values (or your own computer name either) in /etc/hosts :
127.0.0.1 localhost 127.0.0.1 Thales.suse.de Thales 193.141.17.204 Thales.suse.de ThalesHere the 2nd line with
127....
is decissive.
The own computer name can possibly emerge again later on in the
file.
Enter in the command line:
ifconfig dummy0 Thales route add Thales dev dummy0
Enter in /etc/rc.config
(possibly additionally to other
devices) the following script. The dummy device is created by this at
every start.
From S.u.S.E. 4.4 on, set
SETUPDUMMYDEV=yesin older versions, edit the following:
# # networking # # number of network cards: "_0" for one, "_0 _1 _2 _3" for four cards # NETCONFIG="_0" # # IP Adresses # IPADDR_0="" IPADDR_1="" IPADDR_2="" IPADDR_3="" # # network device names (e.g. "eth0") # NETDEV_0=dummy0 NETDEV_1="" NETDEV_2="" NETDEV_3="" # # parameteres for ifconfig, if you put "bootp" into it, bootp will # be used to configure it # sample entry for ethernet: # IFCONFIG_0="192.168.81.38 broadcast 192.168.81.63 netmask 255.255.255.224" # IFCONFIG_0="Thales" IFCONFIG_1="" IFCONFIG_2="" IFCONFIG_3="" # # network address of the devices (e.g. "-net 192.168.81.32" or # "-host 192.168.81.33") # NETWORK_0="Thales" NETWORK_1="" NETWORK_2="" NETWORK_3="" # # if this is set, the default route will be set to this gateway # (e.g. "192.168.81.33") # GATEWAY_0="" GATEWAY_1="" GATEWAY_2="" GATEWAY_3="" # # hostname of the system (full name) # if zero, and bootp is used above, bootp will also set the hostname # (e.g. "riemann.suse.de" or "hugo.linux.de") # don't forget to also edit /etc/hosts for your system # FQHOSTNAME=Thales.suse.deWith this method several devices can be simultaneously defined as well (extend NETCONFIG !). However, the route for the own IP number (defined in /etc/hosts) is always found.
See also:
Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-kfr_56
)
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch