Hi everyone,

I would like to connect my homenetwork and internet via Wlan. I dont know if i 
could connect with usb to net. 


I have a Hp Rx3115 Ipaq with wlan IEEE 802.11b+ hardware device. Angstrom Linux 
version 200706201535 armv4t with wirelesstools wpa-supplicant 
opie-networksettings packages.


My HomeNetwork:
[code]
DHCP-Server
WPA (TKIP) with password
modus  g + b
802.11g++ active
Chanal 6
[/code]


Here are some basic informations.
ifconfig
[code]
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:688 (688.0 B)  TX bytes:688 (688.0 B)

usb0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          inet addr:192.168.0.202  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:250 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24235 (23.6 KiB)  TX bytes:6181 (6.0 KiB)

wlan0     Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:60 

wlan0:ava Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX 
          inet addr:169.254.3.74  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:60 

[/code]

iwconfig
[code]
wlan0     IEEE 802.11b+  ESSID:"XX"  Nickname:"acx v0.3.36"
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Bit Rate:22 Mb/s   Tx-Power=14 dBm   Sensitivity=176/255  
          Retry min limit:7   RTS thr:off   
          Encryption key:off
          Power Management:off
          Link Quality=49/100  Signal level=29/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
[/code]

lsmod
[code]
Module                  Size  Used by
acx                   131744  0 
i2c_s3c2410             7584  0 
snd_soc_rx3000          5388  0 
snd_soc_s3c24xx_i2s     3624  1 snd_soc_rx3000
snd_soc_uda1380        12208  1 snd_soc_rx3000
i2c_core               17136  2 i2c_s3c2410,snd_soc_uda1380
snd_soc_s3c24xx         4544  1 snd_soc_rx3000
snd_soc_core           25920  3 snd_soc_rx3000,snd_soc_uda1380,snd_soc_s3c24xx
snd_pcm_oss            41696  0 
snd_pcm                73701  3 snd_soc_s3c24xx,snd_soc_core,snd_pcm_oss
snd_timer              20132  1 snd_pcm
snd_page_alloc          5896  1 snd_pcm
snd_mixer_oss          14752  1 snd_pcm_oss
snd                    46164  7 
snd_soc_rx3000,snd_soc_uda1380,snd_soc_core,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
rfcomm                 35676  2 
hidp                   14848  0 
hid                    26336  1 hidp
l2cap                  20228  4 rfcomm,hidp
bluetooth              48704  3 rfcomm,hidp,l2cap
rx3000_bt               3168  0 
rx3000_acx              2688  0 
ds1wm                   4672  0 
[/code]

interfaces
[code]
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
# The loopback interface
#auto lo usb0 
iface lo inet loopback

# Wireless interfaces
#
# Example of an unencrypted (no WEP or WPA) wireless connection
# that connects to any available access point:
#
iface wlan0 inet dhcp
    wireless_channel 6
    wireless_mode Managed
    #wireless_essid XX
    #wireless-key s:XXXXXXX
    wpa-essid XX                                          
    wpa-psk XXXXXXX
    pre-up iwpriv wlan0 reset 1 
#
#
# Same as above but locked to a specific access point:
#
#iface wlan0 inet dhcp  
#    wireless_mode managed
#    wireless-essid some-essid
#
# A WEP encrypted connection locked to a specific access point:
#
#iface wlan0 inet dhcp  
#    wireless-essid some-essid
#    wireless-key s:My-PlainText-Password
#    wireless-mode managed                  
#
# A WPA1 or WPA2 encrypted connection locked to a specific access point.
# The WLAN cards firmware is updated temporarily to allow WPA
# connections. Your card may or may not need the update.
#
#iface wlan0 inet dhcp                                                   
#    wpa-essid some-essid                                          
#    wpa-psk My-PlainText-Password                                              
#    pre-up iwpriv wlan0 reset 1                                      
#    pre-up prism2_srec -r wlan0 /etc/pcmcia/rf010804.hex             

iface atml0 inet dhcp

# Wired or wireless interfaces
iface eth0 inet dhcp
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
#iface usb0 inet static
#    down changedns -r  192.168.0.145 
#    up changedns -a  192.168.0.145 
#    address 192.168.0.202
#    netmask 255.255.255.0
#    network 192.168.0.0
#    gateway 192.168.0.3

# Zaurus 2.4 Lineo net_fd; obsolete
iface usbd0 inet static
    address 192.168.129.201
    netmask 255.255.255.0
    network 192.168.129.0
    gateway 192.168.129.200

# iPAQ 2.4 mach-sa1100/usb-eth
# (192.168.0.202 is the iPAQ's IP, 192.168.0.200 is the host's IP)
iface usbf inet static
        address 192.168.0.10
        netmask 255.255.255.0
        network 192.168.0.0
        gateway 192.168.0.2

# Bluetooth networking
iface bnep0 inet dhcp

[/code]


dmesg output i have tried with wep key without password and with password but i 
think theres no big difference.

[code]
 important setting has been changed. Need to update packet templates, too
<4>[  667.210000] updating packet templates
<4>[  667.225000] updating WEP key settings
<4>[  667.225000] setting WEP key 3 as default
<4>[  667.240000] acx_set_status(1):SCANNING
<4>[  667.240000] start_scan: seems like previous scan is still running. Not 
starting anew. Please report
<4>[  667.240000] get_mask 0x00000000, set_mask 0x00000000 - after update
<4>[  667.245000] get_mask 0x00000000, set_mask 0x00040000
<4>[  667.245000] important setting has been changed. Need to update packet 
templates, too
<4>[  667.250000] updating packet templates
<4>[  667.265000] updating WEP key settings
<4>[  667.265000] setting WEP key 0 as default
<4>[  667.280000] acx_set_status(1):SCANNING
<4>[  667.280000] start_scan: seems like previous scan is still running. Not 
starting anew. Please report
<4>[  667.280000] get_mask 0x00000000, set_mask 0x00000000 - after update
<4>[  667.285000] get_mask 0x00000000, set_mask 0x00040000
<4>[  667.290000] important setting has been changed. Need to update packet 
templates, too
<4>[  667.290000] updating packet templates
<4>[  667.310000] updating WEP key settings
<4>[  667.310000] setting WEP key 0 as default
<4>[  667.325000] acx_set_status(1):SCANNING
<4>[  667.325000] start_scan: seems like previous scan is still running. Not 
starting anew. Please report
<4>[  667.325000] get_mask 0x00000000, set_mask 0x00000000 - after update
<4>[  667.330000] get_mask 0x00000000, set_mask 0x00040000
<4>[  667.330000] important setting has been changed. Need to update packet 
templates, too
<4>[  667.335000] updating packet templates
<4>[  667.350000] updating WEP key settings
<4>[  667.350000] setting WEP key 1 as default
<4>[  667.370000] acx_set_status(1):SCANNING
<4>[  667.370000] start_scan: seems like previous scan is still running. Not 
starting anew. Please report
<4>[  667.370000] get_mask 0x00000000, set_mask 0x00000000 - after update
<4>[  667.375000] get_mask 0x00000000, set_mask 0x00040000
<4>[  667.375000] important setting has been changed. Need to update packet 
templates, too
<4>[  667.380000] updating packet templates
<4>[  667.395000] updating WEP key settings
<4>[  667.395000] setting WEP key 2 as default
<4>[  667.410000] acx_set_status(1):SCANNING
<4>[  667.410000] start_scan: seems like previous scan is still running. Not 
starting anew. Please report
<4>[  667.410000] get_mask 0x00000000, set_mask 0x00000000 - after update
<4>[  667.415000] get_mask 0x00000000, set_mask 0x00040000
.....
[/code]
I found this in wiki
I also tried without success. 

wireless-wpa-enterprise.conf
[code]
# IEEE 802.1X login using EAP-TTLS/MSCHAPv2

ctrl_interface=/var/run/wpa_supplicant

network={
    ssid="XX"
    scan_ssid=0
    key_mgmt=WPA-EAP
    pairwise=CCMP TKIP
    group=CCMP TKIP
    eap=TTLS
    phase2="auth=MSCHAPV2"
    identity="abc123"
    password="xxxx"
}

[/code]


wireless-wpa-enterprise.sh
[code]
#!/bin/sh 
iface=wlan0

#stop any persistent wireless wpa2 authentication sessions
killall wpa_supplicant

#shut down wireless interface
ifconfig $iface down

#set working mode of wireless device
iwconfig $iface mode Managed

#enable interface
ifconfig $iface up

#apply dragonfly3 settings to device
wpa_supplicant -B -Dwext -i $iface -c ./wireless-wpa-enterprise.conf -dd

#obtain an IP address
dhclient $iface
[/code]

thanks.
                                          
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to