Ubuntu Suomen keskustelualueet

Ubuntun käyttö => Ubuntu tietokoneissa => Aiheen aloitti: whector - 01.03.06 - klo:09.26

Otsikko: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: 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!
Otsikko: Re: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: Vapaan koodin kananmuna - 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

Otsikko: Re: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: whector - 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!
Otsikko: Re: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: tuke81 - 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.
Otsikko: Re: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: Vapaan koodin kananmuna - 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.
Otsikko: Re: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: anagrammi - 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
Otsikko: Re: Netti ei ubuntussa käynnisty automaattisesti?
Kirjoitti: whector - 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!