Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless configuration and startup - The Gentoo way
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 54, 55, 56, 57, 58, 59  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
markfl
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 240
Location: Kent, UK

PostPosted: Thu Sep 02, 2004 8:50 am    Post subject: Reply with quote

When you say it will be in portage in another form what do you mean?

USE="wireless" emerge baselayout?

Mark
_________________
Life it seems, will fade away
Drifting further every day
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 02, 2004 8:58 am    Post subject: Reply with quote

@epohs - my script appears to be working flawlessly.

However, your chipset/driver/ndiswrapper are not. There was a user a few pages back who used the broadcom drivers that came on the CD instead of the newest ones and it started working.

Try mixing ndiswrapper and broadcom driver versions around.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 02, 2004 9:00 am    Post subject: Reply with quote

markfl wrote:
When you say it will be in portage in another form what do you mean?

USE="wireless" emerge baselayout?


No.

Let's just say that the gentoo net scripts are getting a major overhaul ;)
Everything in place, I just need a Gentoo dev to give it the thumbs up ....
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
BloodyNewbie
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 88

PostPosted: Thu Sep 02, 2004 12:41 pm    Post subject: Reply with quote

@Uberlord: Now I put away the line essid_ath0="any" and receive:
Code:

/etc/init.d/net.ath0 start
 * Running preup function
 *   Configuring wireless network for ath0
 *   Scanning for access points
 * ath0 does not support scanning!
 * You need to configure an ESSID in /etc/conf.d/wireless
 *     essid_ath0="ESSID"


I also use ~x86 architecture.
I tried it with the madwifi-driver as well, no success, it always kicks out ath0 by somehow making ifconfig ath0 down !!
You can read it above:
Code:

 * ath0 does not support scanning!


I certainly AM very confused atm :(
_________________
gentoo - per aspera ad astra, or: riding on a rocket :)
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 02, 2004 12:46 pm    Post subject: Reply with quote

BloodyNewbie wrote:

I also use ~x86 architecture.
I tried it with the madwifi-driver as well, no success, it always kicks out ath0 by somehow making ifconfig ath0 down !!
You can read it above:
Code:

 * ath0 does not support scanning!


I certainly AM very confused atm :(


What does
Code:
iwlist ath0 scan
return?

If it fails ensure that you have wireless extensions built into the kernel - if not, rebuild kernel, install it, reboot, re-emerge wireless-tools and then madwifi-driver

See 1st post in this thread about how to enable wireless extensions in the kernel
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
BloodyNewbie
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 88

PostPosted: Thu Sep 02, 2004 12:47 pm    Post subject: Reply with quote

@Uberlord: I didn't say, madwifi couldn't scan! It can, I wrote that. Now I put away the line essid_ath0="any" and receive:
Code:

/etc/init.d/net.ath0 start
 * Running preup function
 *   Configuring wireless network for ath0
 *   Scanning for access points
 * ath0 does not support scanning!
 * You need to configure an ESSID in /etc/conf.d/wireless
 *     essid_ath0="ESSID"


I also use ~x86 architecture.
I tried it with the madwifi-driver in portage as well, no success, it always kicks out ath0 by somehow making ifconfig ath0 down !!
You can read it above:
Code:

 * ath0 does not support scanning!


I certainly AM very confused atm :(

here a dmesg output:
Code:

wlan: 0.8.4.2 (EXPERIMENTAL)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.11.6
ath_pci: 0.9.4.0 (EXPERIMENTAL)
PCI: Found IRQ 11 for device 0000:02:02.0
PCI: Sharing IRQ 11 with 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:00:1f.1
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: mac 4.2 phy 3.0 5ghz radio 1.7 2ghz radio 2.3
ath0: 802.11 address: 00:05:4e:41:f1:35
ath0: Use hw queue 0 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 0 for WME_AC_VI traffic
ath0: Use hw queue 0 for WME_AC_VO traffic
ath0: Atheros 5211: mem=0xc0210000, irq=11

_________________
gentoo - per aspera ad astra, or: riding on a rocket :)
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 02, 2004 1:07 pm    Post subject: Reply with quote

BloodyNewbie wrote:
@Uberlord: I didn't say, madwifi couldn't scan! It can, I wrote that.


So whats the exact and full output of
Code:
iwlist ath0 scan

_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
BloodyNewbie
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 88

PostPosted: Thu Sep 02, 2004 1:25 pm    Post subject: Reply with quote

Code:

# iwlist ath0 scan
ath0      Scan completed :
          Cell 01 - Address: 00:80:C8:AC:ED:BD
                    ESSID:"trio doof"
                    Mode:Master
                    Frequency:2.437GHz
                    Quality:13/94  Signal level:-82 dBm  Noise level:-95 dBm
                    Encryption key:on
                    Bit Rate:1Mb/s
                    Bit Rate:2Mb/s
                    Bit Rate:5Mb/s
                    Bit Rate:11Mb/s
                    Bit Rate:22Mb/s
                    Extra:bcn_int=100
          Cell 02 - Address: 00:50:18:28:B4:3D
                    ESSID:"HalloNachbarn"
                    Mode:Master
                    Frequency:2.462GHz
                    Quality:67/94  Signal level:-28 dBm  Noise level:-95 dBm
                    Encryption key:off
                    Bit Rate:1Mb/s
                    Bit Rate:2Mb/s
                    Bit Rate:5Mb/s
                    Bit Rate:6Mb/s
                    Bit Rate:9Mb/s
                    Bit Rate:11Mb/s
                    Bit Rate:12Mb/s
                    Bit Rate:18Mb/s
                    Bit Rate:22Mb/s
                    Bit Rate:24Mb/s
                    Bit Rate:36Mb/s
                    Bit Rate:48Mb/s
                    Bit Rate:54Mb/s
                    Extra:bcn_int=100



first is my neighbor :) second is my own
_________________
gentoo - per aspera ad astra, or: riding on a rocket :)
Back to top
View user's profile Send private message
BloodyNewbie
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 88

PostPosted: Thu Sep 02, 2004 1:42 pm    Post subject: Reply with quote

do you now believe me? :)

* net-wireless/madwifi-cvs
Latest version available: 0.3
Latest version installed: 0.3
Size of downloaded files: 1 kB
Homepage: http://sourceforge.net/projects/madwifi/
Description: Multiband Atheros Driver for WiFi - CVS
License: GPL-2

* net-wireless/madwifi-driver
Latest version available: 0.1_pre20040824-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 1,693 kB
Homepage: http://madwifi.sourceforge.net/
Description: Wireless driver for Atheros chipset a/b/g cards
License: GPL-2
_________________
gentoo - per aspera ad astra, or: riding on a rocket :)
Back to top
View user's profile Send private message
BloodyNewbie
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 88

PostPosted: Thu Sep 02, 2004 1:49 pm    Post subject: Reply with quote

thanks to great help by Uberlord I could solve my problem, I documented it here:
https://forums.gentoo.org/viewtopic.php?t=218199
_________________
gentoo - per aspera ad astra, or: riding on a rocket :)


Last edited by BloodyNewbie on Fri Sep 03, 2004 3:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 02, 2004 5:14 pm    Post subject: Reply with quote

BloodyNewbie wrote:
Code:

# iwlist ath0 scan
ath0      Scan completed :
          Cell 01 - Address: 00:80:C8:AC:ED:BD
                    ESSID:"trio doof"
                    Mode:Master
                    Frequency:2.437GHz
                    Quality:13/94  Signal level:-82 dBm  Noise level:-95 dBm
                    Encryption key:on
                    Bit Rate:1Mb/s
                    Bit Rate:2Mb/s
                    Bit Rate:5Mb/s
                    Bit Rate:11Mb/s
                    Bit Rate:22Mb/s
                    Extra:bcn_int=100
          Cell 02 - Address: 00:50:18:28:B4:3D
                    ESSID:"HalloNachbarn"
                    Mode:Master
                    Frequency:2.462GHz
                    Quality:67/94  Signal level:-28 dBm  Noise level:-95 dBm
                    Encryption key:off
                    Bit Rate:1Mb/s
                    Bit Rate:2Mb/s
                    Bit Rate:5Mb/s
                    Bit Rate:6Mb/s
                    Bit Rate:9Mb/s
                    Bit Rate:11Mb/s
                    Bit Rate:12Mb/s
                    Bit Rate:18Mb/s
                    Bit Rate:22Mb/s
                    Bit Rate:24Mb/s
                    Bit Rate:36Mb/s
                    Bit Rate:48Mb/s
                    Bit Rate:54Mb/s
                    Extra:bcn_int=100



first is my neighbor :) second is my own


OK OK

Could you contact me tomorrow on IM 9:30am-18:30pm GMT +0 please?
If you can't make it in those times then PM me.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
BlaZoR
n00b
n00b


Joined: 06 May 2004
Posts: 30
Location: Paderborn, NRW, Germany

PostPosted: Thu Sep 02, 2004 7:32 pm    Post subject: Reply with quote

Hi!
I'm having one problem with your wireless script (which is really good!! :D),
I have a Netgear WG311T Wireless Card (with Atheros AR5212) and a Netgear WG624 Wireless Router, I can connect to the router, no problem, but he can't get a IP per DHCP, don't know why. When I try to manually add a IP I can't ping to the router or other things on LAN. I tried it with WEP and without, but no difference
any ideas?

BlaZoR
Back to top
View user's profile Send private message
ToddWest
n00b
n00b


Joined: 11 Nov 2003
Posts: 59
Location: Oregon

PostPosted: Thu Sep 02, 2004 8:52 pm    Post subject: Reply with quote

UberLord wrote:
ToddWest wrote:
Ive tried to fix this on my own but I just cant figure out whats going on. I installed ndiswrapper with my IPW2200 and I can start it perfectly on my own:

Code:
iwconfig wlan0 mode Managed
iwconfig wlan0 key XXXXXXXXXXXXXXXXXXXXXXXXXX
iwconfig wlan0 essid myessid
dhcpcd wlan0


But I dont want to have to start it manually every time I reboot. So I tried using this script but Im stuck and cant figure out how to fix it. If I run /etc/init.d/net.wlan0 start it says this:

Code:
 * Running preup function
 *   Configuring wireless network for wlan0
 *   Scanning for access points
 *     Found XX:XX:XX:XX:XX:XX (WEP required)
 *   Trying to force preferred incase they are hidden
 *   Connecting to "myessid" (WEP enabled)...                          [ ok ]
 *     wlan0 connected to "myessid" in managed mode
 *     on channel 06 (WEP disabled)
 * Bringing wlan0 up via DHCP...



Looks like you're hiding the ESSID.
You need to map the AP's MAC address (which you have blacked out with XX:XX) to the correct ESSID.

Then it should start working


I have mapped the AP's MAC address to the correct ESSID but for some reason it is still not enabling WEP. It just keeps saying
* wlan0 connected to "myessid" in managed mode
* on channel 06 (WEP disabled)

What could this be?
Back to top
View user's profile Send private message
dyqik
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 120
Location: Oxford, UK

PostPosted: Thu Sep 02, 2004 9:33 pm    Post subject: Reply with quote

I've had problems getting the WEP key to be accepted in the ipw2200 windows drivers with ndiswrapper 0.9 The drivers often gave errors on the lines of "operation not supported" or "invalid parameters" when setting the WEP key or the ESSID. I've not tried with ndiswrapper 0.10, as I've got everything to work with the native linux drivers from http://ipw2200.sf.net/.

My howto (now out of date, only 12 hours after I finished the first draft :( ) on how to get the native drivers to work is at https://forums.gentoo.org/viewtopic.php?t=217688. Although they don't quite work correctly with the wireless-config out of the box yet, it is possible to get it all to work together for a standard open WEP network.
Back to top
View user's profile Send private message
PEETIE
Tux's lil' helper
Tux's lil' helper


Joined: 28 Mar 2004
Posts: 144

PostPosted: Fri Sep 03, 2004 12:22 am    Post subject: Reply with quote

when i use the line to ebuild wireless-config-0.5.5.ebuild i get an error that states this

aux_get() error; aborting.

How do i fix this?
Back to top
View user's profile Send private message
navert
n00b
n00b


Joined: 03 Sep 2004
Posts: 7

PostPosted: Fri Sep 03, 2004 12:42 am    Post subject: wireless config gets dhcp at one ap but not second ap Reply with quote

To start, thanks for the neat tool. I emerged it and it worked fine practically right out of the box on my college wireless network (since I could connect through wired there). I then brought my laptop planning on it being easy here. Boy was I wrong. My wireless card succesfully finds the two APs that are available from my housing manager. iwlist wlan0 scan shows this:
wlan0 Scan completed :
Cell 01 - Address: 00:06:25:F0:78:4F
ESSID:"Tanner 7"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:-65 dBm Noise level:-256 dBm
Encryption key:off
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:04:5A:E8:2C:63
ESSID:"Tanner"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462GHz
Quality:0/100 Signal level:-73 dBm Noise level:-256 dBm
Encryption key:off
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Extra:bcn_int=100
running net.wlan0 start successfully finds the ap but hangs up an trying to get the ip address. iwconfig wlan0 shows this after running net.wlan0 start:
wlan0 IEEE 802.11b ESSID:"Tanner 7"
Mode:Managed Frequency:2.437GHz Access Point: 00:06:25:F0:78:4F
Bit Rate:11Mb/s Tx-Power:15 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-66 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:52182 Missed beacon:0

WEP is not enabled on the access point. I can connect fine when I boot up windows. I know the wireless card and wireless-config work correctly because I can access the net at my college.

I have run ethereal and noticed that when I create a static ip and set up my own routes, I am not hearing the ap. Meaning, I am pinging the ap (address 192.168.1.1) and in ethereal it is showing that the ap is hearing me and knows who I am. The ap is even responding, yet I seem to not be receiving anything from the ap since the ping just times out. Here is a print out of just one ping.
No. Time Source Destination Protocol Info
1 0.000000 192.168.1.140 Broadcast ARP Who has 192.168.1.1? Tell 192.168.1.140

Frame 1 (42 bytes on wire, 42 bytes captured)
Arrival Time: Sep 1, 2004 17:29:49.714375000
Time delta from previous packet: 0.000000000 seconds
Time since reference or first frame: 0.000000000 seconds
Frame Number: 1
Packet Length: 42 bytes
Capture Length: 42 bytes
Ethernet II, Src: 00:0c:41:2c:58:3c, Dst: ff:ff:ff:ff:ff:ff
Destination: ff:ff:ff:ff:ff:ff (Broadcast)
Source: 00:0c:41:2c:58:3c (192.168.1.140)
Type: ARP (0x0806)
Address Resolution Protocol (request)
Hardware type: Ethernet (0x0001)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: request (0x0001)
Sender MAC address: 00:0c:41:2c:58:3c (192.168.1.140)
Sender IP address: 192.168.1.140 (192.168.1.140)
Target MAC address: 00:00:00:00:00:00 (00:00:00_00:00:00)
Target IP address: 192.168.1.1 (192.168.1.1)

No. Time Source Destination Protocol Info
2 0.001473 192.168.1.1 192.168.1.140 ARP 192.168.1.1 is at 00:06:25:f0:78:4f

Frame 2 (50 bytes on wire, 50 bytes captured)
Arrival Time: Sep 1, 2004 17:29:49.715848000
Time delta from previous packet: 0.001473000 seconds
Time since reference or first frame: 0.001473000 seconds
Frame Number: 2
Packet Length: 50 bytes
Capture Length: 50 bytes
IEEE 802.3 Ethernet
Destination: 00:0c:41:2c:58:3c (192.168.1.140)
Source: 00:06:25:f0:78:4f (192.168.1.1)
Length: 36
Logical-Link Control
DSAP: SNAP (0xaa)
IG Bit: Individual
SSAP: SNAP (0xaa)
CR Bit: Command
Control field: U, func=UI (0x03)
000. 00.. = Command: Unnumbered Information (0x00)
.... ..11 = Frame type: Unnumbered frame (0x03)
Organization Code: Cisco IOS 9.0 Compatible (0x0000f8)
Type: ARP (0x0806)
Address Resolution Protocol (reply)
Hardware type: Ethernet (0x0001)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: reply (0x0002)
Sender MAC address: 00:06:25:f0:78:4f (192.168.1.1)
Sender IP address: 192.168.1.1 (192.168.1.1)
Target MAC address: 00:0c:41:2c:58:3c (192.168.1.140)
Target IP address: 192.168.1.140 (192.168.1.140)

Now, my card is not getting the reply.

I hope you guys can help. My card is a WPC54G and I am using ndiswrapper with the updated driver from linksys.

Thanks
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 03, 2004 6:26 am    Post subject: Reply with quote

ToddWest wrote:

I have mapped the AP's MAC address to the correct ESSID but for some reason it is still not enabling WEP. It just keeps saying
* wlan0 connected to "myessid" in managed mode
* on channel 06 (WEP disabled)

What could this be?


It's reporting that WEP is disabled. To double check, type "iwconfig wlan0" and check if there is an encryption key or not.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 03, 2004 6:29 am    Post subject: Reply with quote

BlaZoR wrote:
Hi!
I'm having one problem with your wireless script (which is really good!! :D),
I have a Netgear WG311T Wireless Card (with Atheros AR5212) and a Netgear WG624 Wireless Router, I can connect to the router, no problem, but he can't get a IP per DHCP, don't know why. When I try to manually add a IP I can't ping to the router or other things on LAN. I tried it with WEP and without, but no difference
any ideas?

BlaZoR


MAC address filtering? WPA? These are security settings on the AP.

Bad signal strength (can be caused by driver) ?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 03, 2004 6:34 am    Post subject: Reply with quote

PEETIE wrote:
when i use the line to ebuild wireless-config-0.5.5.ebuild i get an error that states this

aux_get() error; aborting.

How do i fix this?


Try putting the ebuild in the PORTDIR_OVERLAY/net-wireless/wireless-config dir. PORTDIR_OVERLAY is defined in /etc/make.conf
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 03, 2004 6:38 am    Post subject: Re: wireless config gets dhcp at one ap but not second ap Reply with quote

navert wrote:
To start, thanks for the neat tool. I emerged it and it worked fine practically right out of the box on my college wireless network (since I could connect through wired there). I then brought my laptop planning on it being easy here. Boy was I wrong


Well, you have it working at college, but not at home and you have demonstrated a greater knowledge of networking than I posesses....... lets try anyway!

As it's your home network, it there any kinda security on it like WEP, WPA, MAC filtering ..... ?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
PEETIE
Tux's lil' helper
Tux's lil' helper


Joined: 28 Mar 2004
Posts: 144

PostPosted: Fri Sep 03, 2004 3:25 pm    Post subject: Reply with quote

Ok i used PORTDIR_OVERLAY and it successfully did an ebuild but then when i tried to emerge it i get this message:

emerge net-wireless/wireless-config-0.5.5
Calculating dependencies
!!! Problem in net-wireless/wireless-config-0.5.5 dependencies.
!!! "Specific key requires an operator (net-wireless/wireless-config-0.5.5) (try adding an '=')"

What should i do now?
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Fri Sep 03, 2004 4:38 pm    Post subject: Reply with quote

Well, adding an '=' :

emerge =net-wireless/wireless-config-0.5.5
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
navert
n00b
n00b


Joined: 03 Sep 2004
Posts: 7

PostPosted: Fri Sep 03, 2004 5:12 pm    Post subject: Re: wireless config gets dhcp at one ap but not second ap Reply with quote

UberLord wrote:
navert wrote:
To start, thanks for the neat tool. I emerged it and it worked fine practically right out of the box on my college wireless network (since I could connect through wired there). I then brought my laptop planning on it being easy here. Boy was I wrong


Well, you have it working at college, but not at home and you have demonstrated a greater knowledge of networking than I posesses....... lets try anyway!


I just did what some linux guys told me to do. :)

UberLord wrote:

As it's your home network, it there any kinda security on it like WEP, WPA, MAC filtering ..... ?


On the home network, there is no security that I know of. My apartment complex has it open to any one that wants to access. I have great access when I boot up windows and I don't have to set up any security. So WEP isn't enabled. I don't think WPA is. MAC filtering isn't either since I can use the same card with the same MAC using Windows.

From what I can figure out, my card for some reason can't hear the AP. I have even created an arp entry with the AP mac address in there. When I do that and start up ethereal, I can see myself pinging the outside world, but any reply is not picked up by the card (yet with ethereal I can see it just fine). I could be thinking along the wrong lines.
Back to top
View user's profile Send private message
BlaZoR
n00b
n00b


Joined: 06 May 2004
Posts: 30
Location: Paderborn, NRW, Germany

PostPosted: Fri Sep 03, 2004 5:20 pm    Post subject: Reply with quote

UberLord wrote:
BlaZoR wrote:
Hi!
I'm having one problem with your wireless script (which is really good!! :D),
I have a Netgear WG311T Wireless Card (with Atheros AR5212) and a Netgear WG624 Wireless Router, I can connect to the router, no problem, but he can't get a IP per DHCP, don't know why. When I try to manually add a IP I can't ping to the router or other things on LAN. I tried it with WEP and without, but no difference
any ideas?

BlaZoR


MAC address filtering? WPA? These are security settings on the AP.

Bad signal strength (can be caused by driver) ?


MAC adress filtering is not active. WPA not active too.
Link Quality is 21/94 if you mean that.
Hope you can help me :?

Code:

root@blaz1-gentoo blazor # /etc/init.d/net.ath0 start
 * Running preup function       
 *   Configuring wireless network for ath0
 *   Connecting to "wLaAaAaN" (WEP enabled)...                                            [ ok ]
 *     ath0 connected to "wLaAaAaN" in managed mode
 *     on channel 06 (WEP enabled)
 * Bringing ath0 up via DHCP...                                                           [ !! ]

root@blaz1-gentoo blazor # iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

ath0      IEEE 802.11g  ESSID:"wLaAaAaN" 
          Mode:Managed  Frequency:2.437GHz  Access Point: 00:09:5B:E7:88:1E 
          Bit Rate:1Mb/s   Tx-Power:50 dBm   Sensitivity=0/3 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key: xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx   Security mode:restricted
          Power Management:off
          Link Quality=19/94  Signal level=-76 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@blaz1-gentoo blazor # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0B:6A:1F:95:A4 
          inet addr:192.168.0.35  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:537 errors:0 dropped:0 overruns:0 frame:0
          TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:573634 (560.1 Kb)  TX bytes:79427 (77.5 Kb)
          Interrupt:19 Base address:0xd000

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@blaz1-gentoo blazor #



Config
Code:

essid_ath0="wLaAaAaN"
mode_ath0="Managed"
channel_ath0="6"
key_wLaAaAaN="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx"
ifconfig_wLaAaAaN=( "dhcp" )
dhcpcd_wLaAaAaN="-t 10"
essid_00095BE7881F="wLaAaAaN"
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 03, 2004 6:31 pm    Post subject: Reply with quote

BlaZoR wrote:

I'm having one problem with your wireless script (which is really good!! :D),
I have a Netgear WG311T Wireless Card (with Atheros AR5212) and a Netgear WG624 Wireless Router, I can connect to the router, no problem, but he can't get a IP per DHCP, don't know why. When I try to manually add a IP I can't ping to the router or other things on LAN. I tried it with WEP and without, but no difference
any ideas?

BlaZoR



I think the problem may be WEP (as always). Try disabling WEP on the AP and the card and see if you can connect then.

If so, then the Key is not correct or the method (restricted or open) is not correct.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3 ... 54, 55, 56, 57, 58, 59  Next
Page 55 of 59

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum