Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Ubuntu tietokoneissa => Aiheen aloitti: whector - 01.03.06 - klo:09.26
-
Terve! Tein koneestani serverin, ja webminin säätöjen jälkeen ilmeni outo ongelma: Kun koneen buuttaa ja kirjautuu ubuntuun, ei se se automaattisesti aktivoi nettiä. Kun menen Järjestelmä - Hallinta - Verkkoasetukset, verkkokortin kohdalla lukee vain että ei aktivoitu, ja se pitää joka kerta aktivoida itse (siis kun kone on käynnistetty uusiks). Miten tästä inhottavasta ongelmasta pääsis eroon? kiitos!
-
Miltäs näyttää tiedosto /etc/network/interfaces?
Löytyykö tälläistä:
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
auto eth0
-
löytyy tämmöst:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet dhcp
broadcast
network 192.168.1.0
poistanko noi mapping hotplug ja script grep, ja muutan map eth0:n autoks? kiitos!
-
Tjaah itellä on tämmöstä:
tuke@tuke:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet dhcp
auto eth0
iface dsl-provider inet ppp
provider dsl-provider
Eli älä poistele niitä, kokeile lisätä loppuun se auto eth0.
-
Jos tuossa on ollut joku sekaannus kun tuolla ekalla rivillä lukee auto lo eth0, eli parseri ei välttämättä lue siitä kun sen lo:n.
-
Tässä on yksi toimivasta koneesta otettu esimerkki:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet dhcp
Anagrammi
-
okei, nyt on tämän näköinen filu:
GNU nano 1.3.8 Tiedosto: /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet dhcp
auto eth0
siltikään ei käynnisty automaattisesti, vaan edelleen täytyy mennä aktivoimaan se sieltä valikosta. mitäs ny teherä? kiitos!