(gelöst) W-Lan ipw3945

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Benutzeravatar
debX
Beiträge: 106
Registriert: 24.08.2005 23:24:15
Kontaktdaten:

(gelöst) W-Lan ipw3945

Beitrag von debX » 16.07.2007 12:19:35

Hallo,

ich hoffe auf eure Hilfe. Komme hier jetzt nicht mehr weiter.

Es geht um folgende Fehlermeldung:


Setting up networking....
Starting ipw3945 regulatory daemon: ipw3945d.
Configuring network interfaces.../etc/network/interfaces:28: option with empty value
ifup: couldn't read interfaces file "/etc/network/interfaces"


Der Hintergrund:

Ich habe hier ein DGL-4300 mit WPA eingerichtet. Meine /etc/wpa_supplicant.conf sieht so aus:
  • ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=0
    eapol_version=1
    ap_scan=1
    fast_reauth=1

    network={
    ssid="DGL4300"
    id_str="DGL4300"
    key_mgmt=WPA-PSK
    proto=WPA
    pairwise=TKIP
    group=TKIP
    #psk="1a20010000002044221790101a2001000000204422179010"
    psk=ec339014608f10f289fc6310672f90fa4a383cb56ee7a2e17123d0fa1bb31f68
    }
Die /etc/network/interfaces so:
  • allow-hotplug eth1
    iface eth1 inet static
    address 192.168.0.2
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 192.168.0.1


    allow-hotplug eth2
    iface eth2 inet dhcp
    wpa-driver wext
    #wpa-proto WPA
    #wpa-ssid DGL4300
    wpa-conf /etc/wpa_supplicant.conf
    pre-up wpa_supplicant -ieth2 -Dwext -c /etc/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
    DHCLIENT_PRIMARY_DEVICE="yes"
    wireless-essid DGL4300



    auto eth1
Auch kriege ich das nicht hin das, wenn er hochfährt er mir automatisch beide zur Verfügung stellt. Ich habe hier die Möglichkeit am Laptop per Hardwaretasten die W-Lan zu aktivieren.

Vielen Dank

DebX
Zuletzt geändert von debX am 19.07.2007 14:35:18, insgesamt 1-mal geändert.
Debian Squeeze, Vanilla Kernel 2.6.32.2, Compiz

Benutzeravatar
debX
Beiträge: 106
Registriert: 24.08.2005 23:24:15
Kontaktdaten:

Beitrag von debX » 19.07.2007 14:34:46

Hallo,

nach langen probieren und suchen, wollte ich mal posten wie es damit nun bei mir funktioniert.

Meine wpa_supplicant sieht so aus:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
ssid="DGL4300"
id_str="DGL4300"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
#psk="passwort welches im Router steht"
psk=per wpa_supplicant aus dem Router passwort erstelle nummer
}
Meine /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

# The primary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1

auto eth1

#allow-hotplug eth2
iface eth2 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf



auto eth2
Wie gesagt es geht soweit, leider muß ich zuvor das eth1 deaktivieren eh es über das eth2 ins Net gehen kann.
Vielleicht hat jemand noch eine Idee hierzu.

Gruß

DebX
Debian Squeeze, Vanilla Kernel 2.6.32.2, Compiz

Antworten