View previous topic :: View next topic |
Author |
Message |
Ginku n00b
Joined: 25 Dec 2002 Posts: 71 Location: Ludwigshafen/Germany
|
Posted: Thu Feb 13, 2003 8:01 pm Post subject: WLAN und /etc/network/interfaces |
|
|
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 |
|
|
marc Apprentice
Joined: 13 Jan 2003 Posts: 290
|
Posted: Wed Feb 19, 2003 2:01 pm Post subject: re |
|
|
also mit wlan kenn ich mich net aus.
aber 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 |
|
|
Ginku n00b
Joined: 25 Dec 2002 Posts: 71 Location: Ludwigshafen/Germany
|
Posted: Wed Feb 19, 2003 9:34 pm Post subject: Re: re |
|
|
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 |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Feb 19, 2003 10:41 pm Post subject: Re: re |
|
|
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.
Gentoo Linux Init System
rc-update -h gibt unter anderem folgendes aus: rc-update add net.eth0 default
Carlo |
|
Back to top |
|
|
mr_neutron Tux's lil' helper
Joined: 05 Jan 2003 Posts: 124 Location: Germany
|
Posted: Thu Feb 20, 2003 8:04 pm Post subject: |
|
|
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 |
|
|
Ginku n00b
Joined: 25 Dec 2002 Posts: 71 Location: Ludwigshafen/Germany
|
Posted: Thu Feb 20, 2003 8:11 pm Post subject: |
|
|
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 |
|
|
|