You are not logged in.

#1 2006-10-03 21:07:15

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

trouble with wlan network[solved]

Hi

I have problems with my wlan.

Ok lets explain:

I have an Intel ipw3945 wlan card

the module and the daemon starts fine

I can setup the essid and the Ip no problem


[root@dune flo]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

irda0     no wireless extensions.

eth1      no wireless extensions.

eth2      IEEE 802.11g  ESSID:"homeflo"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:16:38:45:7F:B9
          Bit Rate:54 Mb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=91/100  Signal level=-38 dBm  Noise level=-39 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:284   Missed beacon:0

sit0      no wireless extensions.
[root@dune flo]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:D3:21:F9:27
          inet addr:192.168.2.3  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::216:d3ff:fe21:f927/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:94300 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64669 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:120747357 (115.1 Mb)  TX bytes:7257426 (6.9 Mb)
          Base address:0x2000 Memory:ee000000-ee020000

eth2      Link encap:Ethernet  HWaddr 00:13:02:3A:B6:ED
          inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::213:2ff:fe3a:b6ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:235 dropped:525 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:938 (938.0 b)
          Interrupt:21 Base address:0x4000 Memory:edf00000-edf00fff

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4640 (4.5 Kb)  TX bytes:4640 (4.5 Kb)

[root@dune flo]#

rc.conf

# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.2.3 netmask 255.255.255.0 broadcast 192.168.2.255"
eth2="eth2 192.168.2.4 netmask 255.255.255.0 broadcast 192.168.2.255"
wlan_eth2="eth2 essid homeflo"
INTERFACES=(lo eth0 eth2)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.2.1"
ROUTES=(gateway)
[root@dune flo]# iwlist eth2 scanning
eth2      Scan completed :
          Cell 01 - Address: 00:16:38:45:7F:B9
                    ESSID:"<hidden>"
                    Protocol:IEEE 802.11g
                    Mode:Master
                    Channel:11
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=93/100  Signal level=-37 dBm  Noise level=-37 dBm
                    Extra: Last beacon: 12ms ago

[root@dune flo]#

encryption is diabled

Here is the config from the router

http://www.derflo.org/wlan.png

When I unplugged the cable connection, I can't ping my router...

can anyone help


Have you tried to turn it off and on again?

Offline

#2 2006-10-04 01:28:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: trouble with wlan network[solved]

sounds like a routing issue, before and after you unplug your cable, copy the output of 'route'

James

Offline

#3 2006-10-04 08:52:13

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: trouble with wlan network[solved]

Hm I have set the default gw after unplugging the cable

route add default gw 192.168.2.1

I post later, atm not on my Laptop


Have you tried to turn it off and on again?

Offline

#4 2006-10-04 10:44:01

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: trouble with wlan network[solved]

I've the same problem since the last update! My ipw2200 didn't work anymore.

When i use dhcp, my wlan card get an IP and the essid is correct, but I can't ping the router...

Everything was ok before...

Offline

#5 2006-10-04 14:26:44

toxic
Member
Registered: 2006-06-05
Posts: 117

Re: trouble with wlan network[solved]

Well, one problem at least is that you're using hidden SSID. I've never managed to get that working (and I read that somewhere that there's not full support for it in linux yet). Not revealing SSID doesn't offer alot of security anyway, so you might as well turn it on. Now what you really want to do is encrypt your network (after you get it working unencrypted first), and tell the router to use WPA with whatever key algorithm.

And you don't need to set default gateway when using DHCP, it fetches all those settings for you. Keep in mind that Wireless card will have another HW address than your cable-part-of-the-card (:p), which is that you need to run dhcp while being unplugged. Also make sure you have no MAC-filters enabled or anything like that and added only your wired MAC address.

Offline

#6 2006-10-04 14:54:54

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: trouble with wlan network[solved]

Well, one problem at least is that you're using hidden SSID. I've never managed to get that working (and I read that somewhere that there's not full support for it in linux yet). Not revealing SSID doesn't offer alot of security anyway, so you might as well turn it on.

Thanks, this was the solution, never hide the SSID under Linux...

Now what you really want to do is encrypt your network (after you get it working unencrypted first), and tell the router to use WPA with whatever key algorithm.

Yes I know, and I will do that

And you don't need to set default gateway when using DHCP, it fetches all those settings for you. Keep in mind that Wireless card will have another HW address than your cable-part-of-the-card (Razz), which is that you need to run dhcp while being unplugged. Also make sure you have no MAC-filters enabled or anything like that and added only your wired MAC address.

But I have only 2 Computers, so I dont need DHCP, and MAC-filters are the same thing as hidden SSIDs...its easy to break..


Have you tried to turn it off and on again?

Offline

#7 2006-10-04 15:19:15

audaly
Member
From: France
Registered: 2004-12-13
Posts: 60

Re: trouble with wlan network[solved]

My essid is not hidden and I don't use a MAC filter.  lol
I didn't define a gateway in my network profile.

Everything was working fine before update...

I'll try to disable  the WEP encryption and post more details...

Offline

Board footer

Powered by FluxBB