finally got it to work !
I had to do the above PLUS this as root via cli/terminal.
1. tell the wireless manager to connect to a wireless access point called 'wireless_g' with key '7177653935'
Code:
iwconfig wlan0 mode managed essid "wireless_g" key "7177653935"
2. assign an ip address to the wlan0 (wireless device)
*if this doesnt work try point 3 below*
Code:
ifconfig wlan0 192.168.0.100
3. automatically get an IP from the DHCP server (in this case, the smoothwall linux server behind the access point)
once done the command iwconfig correctly lists the card, and that it's associated and I can ping
www.google.com !
Quote:wlan0 IEEE 802.11g ESSID:"wireless_g" Mode:Managed Frequency:2.462 GHz Access Point: 00:90:4C:7E:00:64
Bit Rate=1 Mb/s
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:7177-6539-35
Link Quality=197/146 Signal level=-219 dBm Noise level=-46 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ifconfig gives me this
Quote:wlan0 Link encap:Ethernet HWaddr 00:90:4B:B2:2B:83 inet addr:192.168.0.195 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::290:4bff:feb2:2b83/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1537 errors:0 dropped:0 overruns:0 frame:0
TX packets:1529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1357860 (1.2 MiB) TX bytes:319985 (312.4 KiB)
and the results from dhclient are here
Quote:[root@localhost ~]# dhclientInternet Systems Consortium DHCP Client V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit [/url][url=http://www.isc.org/sw/dhcp/]http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
/sbin/dhclient-script: configuration for wmaster0 not found. Continuing with defaults.
/etc/sysconfig/network-scripts/network-functions: line 78: wmaster0: No such file or directory
/sbin/dhclient-script: configuration for wlan0 not found. Continuing with defaults.
/etc/sysconfig/network-scripts/network-functions: line 78: wlan0: No such file or directory
wmaster0: unknown hardware address type 801
Listening on LPF/wmaster0/
Sending on LPF/wmaster0/
Listening on LPF/eth0/00:0b:db:5b:25:48
Sending on LPF/eth0/00:0b:db:5b:25:48
Listening on LPF/wlan0/00:90:4b:b2:2b:83
Sending on LPF/wlan0/00:90:4b:b2:2b:83
Sending on Socket/fallback
DHCPDISCOVER on wmaster0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
/sbin/dhclient-script: configuration for wlan0 not found. Continuing with defaults.
/etc/sysconfig/network-scripts/network-functions: line 78: wlan0: No such file or directory
bound to 192.168.0.195 -- renewal in 1597 seconds.
i initially tried to manually assign an ip to the wlan0 and while that allowed me to ping the firewall/dhcp server (smoothwall on 192.168.0.1) I couldnt ping anything outside of that namely the internet. Adding a nameserver in /etc/resolv.conf didn't help either, only dhclient got me working. !
Code:
echo "nameserver 192.168.0.1" > /etc/resolv.conf
I hope this helps someone with the same problem
cheers
anyweb