Kirjoittaja Aihe: Netti ei ubuntussa käynnisty automaattisesti?  (Luettu 2808 kertaa)

whector

  • Käyttäjä
  • Viestejä: 127
    • Profiili
Netti ei ubuntussa käynnisty automaattisesti?
« : 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!

Vapaan koodin kananmuna

  • Käyttäjä
  • Viestejä: 1536
    • Profiili
Re: Netti ei ubuntussa käynnisty automaattisesti?
« Vastaus #1 : 01.03.06 - klo:11.43 »
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

En Vastaa Vaikeisiin Kysymyksiin.

whector

  • Käyttäjä
  • Viestejä: 127
    • Profiili
Re: Netti ei ubuntussa käynnisty automaattisesti?
« Vastaus #2 : 01.03.06 - klo:16.06 »
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!

tuke81

  • Käyttäjä
  • Viestejä: 1667
    • Profiili
Re: Netti ei ubuntussa käynnisty automaattisesti?
« Vastaus #3 : 01.03.06 - klo:16.36 »
Tjaah itellä on tämmöstä:
Koodia: [Valitse]
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.
Miksi tehdä jotain helposti, kun sen voi tehdä vaikeastikin...

Vapaan koodin kananmuna

  • Käyttäjä
  • Viestejä: 1536
    • Profiili
Re: Netti ei ubuntussa käynnisty automaattisesti?
« Vastaus #4 : 01.03.06 - klo:16.43 »
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.
En Vastaa Vaikeisiin Kysymyksiin.

anagrammi

  • Käyttäjä
  • Viestejä: 38
    • Profiili
Re: Netti ei ubuntussa käynnisty automaattisesti?
« Vastaus #5 : 01.03.06 - klo:16.52 »
Tässä on yksi toimivasta koneesta otettu esimerkki:


Lainaus

# 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

whector

  • Käyttäjä
  • Viestejä: 127
    • Profiili
Re: Netti ei ubuntussa käynnisty automaattisesti?
« Vastaus #6 : 02.03.06 - klo:08.57 »
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!