You are not logged in.

#1 2005-09-02 18:05:12

zbled
Member
Registered: 2004-01-25
Posts: 56

Wlan is not working

Hi everybody,

I tried to get WLAN running, but it doesn't work. Here's my Debian-Config, which works (the key is hex)

/etc/networking/interfaces

auto eth1
iface eth1 inet static
  address 192.168.1.2
  netmask 255.255.255.0
  network 192.168.1.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
  wireless_essid home
  wireless_keymode open
  wireless_mode managed
  wireless_key 438EFF576F41B6EAF48EE966CB

So I addapted the above lines to arch-linux (at least i thought so)

/etc/conf.d/wireless

wlan_eth1="eth1 mode managed essid home key 438EFF576F41B6EAF48EE966CB"
WLAN_INTERFACES=(eth1)
/etc/rc.conf

lo="lo 127.0.0.1"
eth0="eth0  192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255"
eth1="eth1  192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(lo eth0 eth1)

#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   (prefix a route in ROUTES with a ! to disable it)
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
iwconfig eth1

eth1      IEEE 802.11g  ESSID:"home"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:0F:B5:63:77:A0
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:438E-FF57-6F41-B6EA-F48E-E966-CB   Security mode:open
          Power Management:off
          Link Quality=93/100  Signal level=-34 dBm  Noise level=-78 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
lsmod

[root@heisl ~]# lsmod
Module                  Size  Used by
i915                   17664  1
drm                    61204  2 i915
yenta_socket           20488  0
rsrc_nonstatic          9856  1 yenta_socket
ipw2200               173064  0
firmware_class          7936  1 ipw2200
ieee80211              44996  1 ipw2200
snd_intel8x0m          16068  0
snd_intel8x0           29632  1
snd_ac97_codec         80248  2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss            49696  0
snd_mixer_oss          17664  2 snd_pcm_oss
snd_pcm                84488  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pc m_oss
snd_timer              22020  1 snd_pcm
snd_page_alloc          7812  3 snd_intel8x0m,snd_intel8x0,snd_pcm
ehci_hcd               30600  0
usbhid                 26372  0
uhci_hcd               29712  0
intel_agp              20636  1
agpgart                29640  3 drm,intel_agp
ieee80211_crypt_wep     4352  0
ieee80211_crypt         4996  3 ipw2200,ieee80211,ieee80211_crypt_wep
ide_cd                 38020  0
cdrom                  38560  1 ide_cd

I'm using a WEP-encryption.

Thanks for your help

Offline

#2 2005-09-02 19:41:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Wlan is not working

zbled wrote:
eth0="eth0  192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255"
eth1="eth1  192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(lo eth0 eth1)

Ummm I don't think you need the interface in that line.

Offline

#3 2005-09-02 20:43:25

zbled
Member
Registered: 2004-01-25
Posts: 56

Re: Wlan is not working

that's weird....

when i boot with eth1 in Interfaces it's not working. But when I delete eth1 after booting and restart the network, it's working.

When booting without eth1 in Interfaces it's not working - and that's what iwconfig eth1 looks

eth1      unassociated  ESSID:off/any
          Mode:Managed  Channel=0  Access Point: 00:00:00:00:00:00
          Bit Rate=0 kb/s   Tx-Power=20 dBm
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

i guess it should look like in the other posting

Offline

Board footer

Powered by FluxBB