On Thu, 30 Mar 2006 10:17:02 +0200, Mark South <(E-Mail Removed)> wrote:
> On Wed, 29 Mar 2006 22:09:00 +0000, Unruh wrote:
>
>> Ignoramus20594 <(E-Mail Removed)> writes:
>>
>>>On 29 Mar 2006 20:40:29 GMT, Unruh <unruh-(E-Mail Removed)> wrote:
>>>> Ignoramus20594 <(E-Mail Removed)> writes:
>>>>
>>>>>I have issues with Madwifi wireless connections.
>>>>
>>>>>I tried both WEP and WPA encryption (with wpa_supplicant).
>>>>
>>>>>Both do not work. With WEP, I can seemingly connect to the station
>>>>>(iwconfig shows some stats suggesting such), but cannot route packets
>>>>>to wireless. With wpa_supplicant, it is unable to take the key that
>>>>>wpa_passphrase generated due to failing ioctl (looks like it chokes on
>>>>>a big key).
>>>>
>>>>>Anyway, wpa_supplicant is a nice program because it prints a lot of
>>>>>debugging information. Kudos to its author.
>>>>
>>>>>With WEP, though, I am operating completely in the dark.
>>>>
>>>>
>>>> Wireless has absolutely nothing to do with routing.
>>>> If dhcp gave you an ip address (ifconfig -a) then your wireless works, and
>>>> you are connected. Thereafter your routing problems are a totally separate
>>>> issue.
>
> And can the OP ping external IP addresses, eg 66.94.234.13 for yahoo.com?
no.
>>>I want to have a static IP on that network. The Access Point is not a
>>>DHCP server and I would prefer not to use DHCP.
>>
>> Fine. Make it static. You could do that by having dhcp deliver the same
>> address always from the router. A key issue is that the router has to know
>> what your address is, so it can send stuff to you. You have to figure out
>> how to get your router to do that. Most wireless routers expect y ou to
>> connect using dhcp, but can deliver a static address via dhcp. I am not
>> sure if they will allow an automatic assignment without dhcp.
>
> Having fixed addresses delivered by dhcp to each MAC address is the best
> solution.
>
> Also, as you hint in your last line, some home routers will not route from
> static IP addresses (ie, those they didn't assign themselves) to the
> outside of the LAN.
That Netgear is an access point, not a router. In any case, I tried
using DHCP, and it did not work.
Some facts from yesterday:
1) I have a Linksys wireless ROUTER (wifi plus 4 ports), and in
insecure mode, I was able to connect and use the network just fine,
with a script of mine. (that's how I am typing this right now)
2) I am trying to get a Netgear WG102 ACCESS POINT to work with WEP
encryption. I am not interested in running in insecure mode.
3) The WG102 is plugged into the Linksys router and is pingable and
accessible if I am connected to the network.
4) I get the followig output from trying to connect to WG102:
+ ifconfig ath1 down
+ ifconfig wifi1 down
+ iwconfig ath1 essid IgorNetgear
+ iwconfig ath1 key s:EatFish
+ iwconfig ath1 ap off
+ sleep 1
+ iwconfig ath1 ap 00:0F:B5

A:CA:E8
+ sleep 1
+ ifconfig ath1 up
+ iwconfig ath1 txpower 100mW
+ iwconfig ath1 rate 54M auto
+ sleep 3
+ ifconfig wifi1 192.168.1.91
+ iwconfig ath1
ath1 IEEE 802.11g ESSID:"IgorNetgear" Nickname:"IgorsLaptop"
Mode:Managed Frequency:2.427 GHz Access Point:
00:0F:B5

A:CA:E8
Bit Rate:1 Mb/s Tx-Power=19 dBm Sensitivity=0/3
Retry

ff RTS thr

ff Fragment thr

ff
Encryption key:4561-7446-6973-68 Security mode:restricted
Power Management

ff
Link Quality=55/94 Signal level=-40 dBm Noise level=-95
dBm
Rx invalid nwid:433596 Rx invalid crypt:0 Rx invalid
frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
However, when trying to set up routes, or even just use dhclient
ath1 or dhclient wifi1, it does not hear anything. Nothing is
pingable.
i