Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WLAN und /etc/network/interfaces
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Ginku
n00b
n00b


Joined: 25 Dec 2002
Posts: 71
Location: Ludwigshafen/Germany

PostPosted: Thu Feb 13, 2003 8:01 pm    Post subject: WLAN und /etc/network/interfaces Reply with quote

Hallo allerseits,

unter Knoppix/Debian habe ich meine WLAN Nutzerdaten in /etc/network/interfaces eingetragen, so dass sie dann nach dem Systemstart automatisch zur Verfügung stehen:

> /etc/network/interfaces
# Used by ifup and ifdown. See the interfaces manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback
#auto eth0
iface eth0 inet dhcp

wireless_essid HOME
wireless_mode managed


Nur hier bei Gentoo finde ich das Verzeichnis und die Datei nicht.

Weiss jemand, wo die steckt :-)

Ach noch was, was macht eigentlich das Kommando "dhcpcd eth0" genau, kenne ich auch nicht von Knoppix, bzw. wie kann man das automatisieren ?

Danke

Ginku
_________________
If Linux doesn't have the solution, you have the wrong problem.
Back to top
View user's profile Send private message
marc
Apprentice
Apprentice


Joined: 13 Jan 2003
Posts: 290

PostPosted: Wed Feb 19, 2003 2:01 pm    Post subject: re Reply with quote

also mit wlan kenn ich mich net aus.

aber
Code:
dhcpcd eth0
konfiguriert deine eth0 mit DHCP im gegensatz zur statischen konfiguration wo du die ip festlegst.mehr nicht.

automatisieren brauch man da nix.

gruss
_________________
Nur weil die Klugen immer nachgeben, regieren die Dummen die Welt.
Back to top
View user's profile Send private message
Ginku
n00b
n00b


Joined: 25 Dec 2002
Posts: 71
Location: Ludwigshafen/Germany

PostPosted: Wed Feb 19, 2003 9:34 pm    Post subject: Re: re Reply with quote

marc wrote:
automatisieren brauch man da nix.

gruss


Danke Marc,

nee automatisieren braucht man nicht, ich tippe es ja bei jedem Start manuell ein das Kommando, was mir aber lästig ist...........

Grüße

Ginku
_________________
If Linux doesn't have the solution, you have the wrong problem.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Wed Feb 19, 2003 10:41 pm    Post subject: Re: re Reply with quote

Ginku wrote:
nee automatisieren braucht man nicht, ich tippe es ja bei jedem Start manuell ein das Kommando, was mir aber lästig ist...........


Gentoo verwendet ein eigenes Init System, das mit Abhängigkeiten arbeitet.

:arrow: Gentoo Linux Init System

rc-update -h gibt unter anderem folgendes aus: rc-update add net.eth0 default


Carlo
Back to top
View user's profile Send private message
mr_neutron
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 124
Location: Germany

PostPosted: Thu Feb 20, 2003 8:04 pm    Post subject: Reply with quote

Was für eine WLAN Karte hast Du? Wenn es eine PCMCIA Karte ist, dann schau mal unter /etc/pcmcia/wireless.opts. Da kommen dann die wireless-Sachen wie Nick und ESSID rein.
Der rest (IP, Netmask, DHCP...) ganz normal in /etc/conf.d/net. Wenn du da z.B. iface_eth0="dhcp" reinschreibst, wird beim starten deine Netzwerkkarte automatisch per dhcp konfiguriert.
Back to top
View user's profile Send private message
Ginku
n00b
n00b


Joined: 25 Dec 2002
Posts: 71
Location: Ludwigshafen/Germany

PostPosted: Thu Feb 20, 2003 8:11 pm    Post subject: Reply with quote

mr_neutron wrote:
Was für eine WLAN Karte hast Du? Wenn es eine PCMCIA Karte ist, dann schau mal unter /etc/pcmcia/wireless.opts. Da kommen dann die wireless-Sachen wie Nick und ESSID rein.
Der rest (IP, Netmask, DHCP...) ganz normal in /etc/conf.d/net. Wenn du da z.B. iface_eth0="dhcp" reinschreibst, wird beim starten deine Netzwerkkarte automatisch per dhcp konfiguriert.


Danke mr_neutron und Carlo :-)

Grüße

Ginku
_________________
If Linux doesn't have the solution, you have the wrong problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum