Re: [gentoo-user] Wlan disappeared after suspend

2016-09-13 Thread Bertram Scharpf
On Tuesday, 13. Sep 2016, 08:08:39 -0400, Michael Orlitzky wrote:
> On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
> > 
> > after suspend, my wlan is dead and it cannot be restarted
> > 
> > What do I have to try?
> 
> I had this same problem with the ath5k driver (still do, I bet)
> on my Thinkpad x61s. What happens if you run "sudo rfkill list"
> after you resume from suspend? Does it show that the wireless is
> "hard blocked"?

Doesn't seem to.

  # rfkill list# before suspend
  0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
  # rfkill list# after resume
  0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Wlan disappeared after suspend

2016-09-13 Thread Michael Orlitzky
On 09/13/2016 09:18 AM, Bertram Scharpf wrote:
> 
> Doesn't seem to.
> 
>   # rfkill list# before suspend
>   0: phy0: Wireless LAN
>   Soft blocked: no
>   Hard blocked: no
>   # rfkill list# after resume
>   0: phy0: Wireless LAN
>   Soft blocked: no
>   Hard blocked: no
> 

Ok, different problem then, good luck =)





Re: [gentoo-user] Wlan disappeared after suspend

2016-09-13 Thread Michael Orlitzky
On 09/13/2016 04:23 AM, Bertram Scharpf wrote:
> Hi,
> 
> after suspend, my wlan is dead and it cannot be restarted
> 
> What do I have to try?

I had this same problem with the ath5k driver (still do, I bet)
on my Thinkpad x61s. What happens if you run "sudo rfkill list"
after you resume from suspend? Does it show that the wireless is
"hard blocked"?

In my case, it was, so I tried something stupid. I patched my kernel
to answer "no" to the question "is rfkill enabled?"... and it worked!

--- a/drivers/net/wireless/ath/ath5k/rfkill.c   2012-05-28 21:16:04.0 
-0400
+++ b/drivers/net/wireless/ath/ath5k/rfkill.c   2012-05-28 21:17:17.0 
-0400
@@ -66,10 +66,8 @@
 static bool
 ath5k_is_rfkill_set(struct ath5k_hw *ah)
 {
-   /* configuring GPIO for input for some reason disables rfkill */
-   /*ath5k_hw_set_gpio_input(ah, ah->rf_kill.gpio);*/
-   return ath5k_hw_get_gpio(ah, ah->rf_kill.gpio) ==
-   ah->rf_kill.polarity;
+/* Hard code this to work around a stupid bug. */
+return 0;
 }
 
 static void

Maybe you can do the same thing for your driver, if rfkill is actually the 
issue.
I have a possibly outdated writeup of the issue here:

http://michael.orlitzky.com/articles/thinkpad_x61s_ath5k_rfkill_issues.php




[gentoo-user] Wlan disappeared after suspend

2016-09-13 Thread Bertram Scharpf
Hi,

after suspend, my wlan is dead and it cannot be restarted. I
searched Google for the problem and I found a solution that
might work, I thought. But it doesn't.

I added a line to /etc/pm/config.d/gentoo:

SUSPEND_MODULES="r8188eu"

Then, I recompiled the kernel to load r8188eu as a module.

It didn't help.

After the suspend, when I say lsmod, the module is still
there. Maybe this is the source of the problem.

What do I have to try?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] WLAN with fixed IP

2012-11-14 Thread Helmut Jarausch

On 11/13/2012 07:08:24 PM, Florian Philipp wrote:

Am 13.11.2012 17:27, schrieb Bruce Hill:
 On Tue, Nov 13, 2012 at 04:52:25PM +0100, Helmut Jarausch wrote:

 I'd like to assign fixed IP numbers to computers of a local
 map MAC addresses to IP addresses.

[...]

 If you just want to setup a static IP per machine, /etc/conf.d/net:

 config_wlan0=192.168.1.2/24
 routes_wlan0=default via 192.168.1.1

 Hope this helps. If it's too confusing, might mention where DHCP is  
handed

 out, and some more about your LAN.

The following is taken directly from my /etc/conf.d/net with minimal
editing. It assigns configs based on SSIDs. If I'm not mistaken  
(haven't

tested it in a long time) this means it will default to DHCP for
unspecified nets. Good for quick and dirty setups while traveling:

modules_wlan0=wpa_supplicant

config_MySSID=192.168.2.5 netmask 255.255.255.0
routes_MySSID=default via 192.168.2.1
dns_servers_MySSID=192.168.6.1
dns_domain_MySSID=example.net

config_SomeHotelSSID=dhcp

config_HotelWithVPN=dhcp
dhcp_HotelWithVPN=nodns
dns_servers_HotelWithVPN=192.168.6.1 # DNS server via VPN
dns_domain_HotelWithVPN=vpn.example.net

Hope this helps,


Thanks Florian,

it *nearly* works.
The line
routes_MySSID=default via 192.168.2.1

(adapted to my IPs)
doesn't seem to have any effect.

Only if I add

route add default gw 192.168.2.1 wlan0

to /etc/local.d/local.start
it does work.

I have no idea why the  routes_MySSID=... line doesn't have any effect.

Helmut.



Re: [gentoo-user] WLAN with fixed IP

2012-11-14 Thread Florian Philipp
Am 14.11.2012 18:55, schrieb Helmut Jarausch:
 On 11/13/2012 07:08:24 PM, Florian Philipp wrote:
 Am 13.11.2012 17:27, schrieb Bruce Hill:
  On Tue, Nov 13, 2012 at 04:52:25PM +0100, Helmut Jarausch wrote:
 
  I'd like to assign fixed IP numbers to computers of a local
  map MAC addresses to IP addresses.
 
 [...]
 
  If you just want to setup a static IP per machine, /etc/conf.d/net:
 
  config_wlan0=192.168.1.2/24
  routes_wlan0=default via 192.168.1.1
 
  Hope this helps. If it's too confusing, might mention where DHCP is
 handed
  out, and some more about your LAN.

 The following is taken directly from my /etc/conf.d/net with minimal
 editing. It assigns configs based on SSIDs. If I'm not mistaken (haven't
 tested it in a long time) this means it will default to DHCP for
 unspecified nets. Good for quick and dirty setups while traveling:

 modules_wlan0=wpa_supplicant

 config_MySSID=192.168.2.5 netmask 255.255.255.0
 routes_MySSID=default via 192.168.2.1
 dns_servers_MySSID=192.168.6.1
 dns_domain_MySSID=example.net

 config_SomeHotelSSID=dhcp

 config_HotelWithVPN=dhcp
 dhcp_HotelWithVPN=nodns
 dns_servers_HotelWithVPN=192.168.6.1 # DNS server via VPN
 dns_domain_HotelWithVPN=vpn.example.net

 Hope this helps,
 
 Thanks Florian,
 
 it *nearly* works.
 The line
 routes_MySSID=default via 192.168.2.1
 
 (adapted to my IPs)
 doesn't seem to have any effect.
 
 Only if I add
 
 route add default gw 192.168.2.1 wlan0
 
 to /etc/local.d/local.start
 it does work.
 
 I have no idea why the  routes_MySSID=... line doesn't have any effect.
 
 Helmut.
 

Just guessing, could it be related to iproute2?
From net.example:
# If you don't specify an interface then we prefer iproute2 if it's
# installed. To prefer ifconfig over iproute2
modules=!iproute2



signature.asc
Description: OpenPGP digital signature


[gentoo-user] WLAN with fixed IP

2012-11-13 Thread Helmut Jarausch

Hi,
I'd like to assign fixed IP numbers to computers of a local network.

Using dhcp as in

modules=wpa_supplicant
wpa_supplicant_wlan0=-Dwext -iwlan0
config_wlan0=dhcp

works just fine but depends on dhcp for IP assignment.

The following does not work, i.e. the network is not working

modules=wpa_supplicant
wpa_supplicant_wlan0=-Dwext -iwlan0

config_wlan0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255
routes_wlan0=default via 192.168.1.1
dns_servers_wlan0=192.168.1.


What am I missing. What does the dhcp option imply? Are there any  
additional

necessary initialization (like an ifup) ?

Many thanks for a hint,
Helmut.



Re: [gentoo-user] WLAN with fixed IP

2012-11-13 Thread Neil Bothwick
On Tue, 13 Nov 2012 11:39:40 +0100, Helmut Jarausch wrote:

 I'd like to assign fixed IP numbers to computers of a local network.

I prefer to do this on the DHCP server, that way all my network
configuration is in one place and if I move a computer to a different
network it will still work as DHCP is enabled. Most DHCP servers let you
map MAC addresses to IP addresses.

 config_wlan0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255
 routes_wlan0=default via 192.168.1.1
 dns_servers_wlan0=192.168.1.

That last line is wrong, is the network not working at all or is it just
DNS resolution that is failing?


-- 
Neil Bothwick

Apple I (c) Copyright 1767, Sir Isaac Newton.


signature.asc
Description: PGP signature


Re: [gentoo-user] WLAN with fixed IP

2012-11-13 Thread Helmut Jarausch

On 11/13/2012 11:53:49 AM, Neil Bothwick wrote:

On Tue, 13 Nov 2012 11:39:40 +0100, Helmut Jarausch wrote:

 I'd like to assign fixed IP numbers to computers of a local network.

I prefer to do this on the DHCP server, that way all my network
configuration is in one place and if I move a computer to a different
network it will still work as DHCP is enabled. Most DHCP servers let  
you

map MAC addresses to IP addresses.

 config_wlan0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255
 routes_wlan0=default via 192.168.1.1
 dns_servers_wlan0=192.168.1.


Yes, that's a typo of course
It should read  dns_servers_wlan0=192.168.1.1

I've written this from memory since I don't have access to that machine
at the moment.



That last line is wrong, is the network not working at all or is it  
just

DNS resolution that is failing?


It says something like network not ready, but I'll check this  
afternoon.

I remember that ifconfig wlan0 did show the right IP.

Thanks,
Helmut.





Re: [gentoo-user] WLAN with fixed IP

2012-11-13 Thread Helmut Jarausch

On 11/13/2012 12:15:35 PM, Helmut Jarausch wrote:

On 11/13/2012 11:53:49 AM, Neil Bothwick wrote:

On Tue, 13 Nov 2012 11:39:40 +0100, Helmut Jarausch wrote:

 I'd like to assign fixed IP numbers to computers of a local  
network.


I prefer to do this on the DHCP server, that way all my network
configuration is in one place and if I move a computer to a different
network it will still work as DHCP is enabled. Most DHCP servers let  
you

map MAC addresses to IP addresses.

 config_wlan0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255
 routes_wlan0=default via 192.168.1.1
 dns_servers_wlan0=192.168.1.


Yes, that's a typo of course
It should read  dns_servers_wlan0=192.168.1.1

I've written this from memory since I don't have access to that  
machine

at the moment.



That last line is wrong, is the network not working at all or is it  
just

DNS resolution that is failing?


It says something like network not ready, but I'll check this  
afternoon.

I remember that ifconfig wlan0 did show the right IP.



Now, from the machine in question,
I get
connect: Network is unreachable

/var/log/messages shows

Nov 13 14:54:34 localhost kernel: wlan0: authenticate with  
00:1d:6a:83:9f:75
Nov 13 14:54:34 localhost kernel: wlan0: send auth to 00:1d:6a:83:9f:75  
(try 1/3)

Nov 13 14:54:34 localhost kernel: wlan0: authenticated
Nov 13 14:54:34 localhost kernel: wlan0: associate with  
00:1d:6a:83:9f:75 (try 1/3)
Nov 13 14:54:34 localhost kernel: wlan0: RX AssocResp from  
00:1d:6a:83:9f:75 (capab=0x431 status=0 aid=1)

Nov 13 14:54:34 localhost kernel: wlan0: associated
Nov 13 14:54:34 localhost kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link  
becomes ready

Nov 13 14:54:34 localhost wpa_cli: interface wlan0 CONNECTED
Nov 13 14:54:35 localhost /etc/init.d/net.wlan0[3605]: ERROR: net.wlan0  
failed to start
Nov 13 14:54:35 localhost wpa_cli: executing '/etc/init.d/net.wlan0  
--quiet start' failed
   
^^^

  This is the reason

But where is wpa_cli started, when I have
config_wlan0=dhcpinstead of
config_wlan0=192.168.1.33 netmsk 255.255.255.0 broadcast 192.168.1.255

Sometimes, openrc is hard. I even don't know where to start searching.

Many thanks for a hint,
Helmut.



Re: [gentoo-user] WLAN with fixed IP

2012-11-13 Thread Bruce Hill
On Tue, Nov 13, 2012 at 04:52:25PM +0100, Helmut Jarausch wrote:
  
   I'd like to assign fixed IP numbers to computers of a local  
  map MAC addresses to IP addresses.

This is what your /etc/dhcp/dhcp.conf would look like on the router, or how it
should be configured wherever DHCP is handed out:

authoritative;
ddns-update-style none;

default-lease-time 1800;
max-lease-time 1800;

subnet 192.168.54.0 netmask 255.255.255.0 {
range 192.168.54.10 192.168.54.50;  
option broadcast-address 192.168.54.255;
option domain-name-servers 192.168.54.1;
option routers 192.168.54.1;
}

subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.10 192.168.100.50;
option broadcast-address 192.168.100.255;
option domain-name-servers 192.168.100.1;
option routers 192.168.100.1;
}

host server {
   hardware ethernet 00:d0:68:0b:87:66;
   fixed-address 192.168.100.3;
}

You of course need to adjust for your network(s). And I'd install dhcpcd and
put it in the default runlevel.

Then on the client you have /etc/conf.d/net like this:

modules_wlan0=wpa_supplicant
wpa_supplicant_wlan0=-Dwext
config_wlan0=dhcp

if you're using wpa_supplicant (you mentioned wpa_cli). 

And your /etc/wpa_supplicant/wpa_supplicant.conf would look like:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ap_scan=0
#update_config=1

network={
ssid=YourSSID
psk=your-secret-key
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
group=CCMP TKIP
pairwise=CCMP TKIP
priority=5
}



If you just want to setup a static IP per machine, /etc/conf.d/net:

config_wlan0=192.168.1.2/24
routes_wlan0=default via 192.168.1.1

Hope this helps. If it's too confusing, might mention where DHCP is handed
out, and some more about your LAN.
-- 
Happy Penguin Gymnastics  ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
ad...@happypenguingymnastics.com
662-321-7009
http://happypenguingymnastics.com/
FB: http://tiny.cc/HappyPenguinGymnastics

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] WLAN with fixed IP

2012-11-13 Thread Florian Philipp
Am 13.11.2012 17:27, schrieb Bruce Hill:
 On Tue, Nov 13, 2012 at 04:52:25PM +0100, Helmut Jarausch wrote:

 I'd like to assign fixed IP numbers to computers of a local  
 map MAC addresses to IP addresses.
 
[...]
 
 If you just want to setup a static IP per machine, /etc/conf.d/net:
 
 config_wlan0=192.168.1.2/24
 routes_wlan0=default via 192.168.1.1
 
 Hope this helps. If it's too confusing, might mention where DHCP is handed
 out, and some more about your LAN.

The following is taken directly from my /etc/conf.d/net with minimal
editing. It assigns configs based on SSIDs. If I'm not mistaken (haven't
tested it in a long time) this means it will default to DHCP for
unspecified nets. Good for quick and dirty setups while traveling:

modules_wlan0=wpa_supplicant

config_MySSID=192.168.2.5 netmask 255.255.255.0
routes_MySSID=default via 192.168.2.1
dns_servers_MySSID=192.168.6.1
dns_domain_MySSID=example.net

config_SomeHotelSSID=dhcp

config_HotelWithVPN=dhcp
dhcp_HotelWithVPN=nodns
dns_servers_HotelWithVPN=192.168.6.1 # DNS server via VPN
dns_domain_HotelWithVPN=vpn.example.net

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] WLAN with fixed IP

2012-11-13 Thread Bruce Hill
On Tue, Nov 13, 2012 at 11:39:40AM +0100, Helmut Jarausch wrote:
 Hi,
 I'd like to assign fixed IP numbers to computers of a local network.
 
 Using dhcp as in
 
 modules=wpa_supplicant
 wpa_supplicant_wlan0=-Dwext -iwlan0
 config_wlan0=dhcp
 
 works just fine but depends on dhcp for IP assignment.
 
 The following does not work, i.e. the network is not working
 
 modules=wpa_supplicant
 wpa_supplicant_wlan0=-Dwext -iwlan0
 
 config_wlan0=192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255
 routes_wlan0=default via 192.168.1.1
 dns_servers_wlan0=192.168.1.
 
 
 What am I missing. What does the dhcp option imply? Are there any  
 additional
 necessary initialization (like an ifup) ?
 
 Many thanks for a hint,
 Helmut.

Forgot to mention that /usr/share/doc/openrc*/net.example* is pretty well
commented and 'recommended'.
-- 
Happy Penguin Gymnastics  ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
ad...@happypenguingymnastics.com
662-321-7009
http://happypenguingymnastics.com/
FB: http://tiny.cc/HappyPenguinGymnastics

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-26 Thread Stroller


On 25 Apr 2010, at 10:07, Adam wrote:


Downloads over my 802.1g WLAN seem to always be at either of these two
speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
ideas on how i stop it falling back to the slower speed?


Move the laptop closer to the access point.

Stroller.




[gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Adam
Downloads over my 802.1g WLAN seem to always be at either of these two
speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
ideas on how i stop it falling back to the slower speed?



Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Volker Armin Hemmann
On Sonntag 25 April 2010, Adam wrote:
 Downloads over my 802.1g WLAN seem to always be at either of these two
 speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
 ideas on how i stop it falling back to the slower speed?

look for a not contested channel?



Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Adam
 Downloads over my 802.1g WLAN seem to always be at either of these two
 speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
 ideas on how i stop it falling back to the slower speed?
 
 look for a not contested channel?

I had assumed that congestion would reveal itself as varying speeds, as
expected with multiple users on a shared medium, not step jumps between
the two speeds that i'm seeing... Am I wrong?




Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Volker Armin Hemmann
On Sonntag 25 April 2010, Adam wrote:
  Downloads over my 802.1g WLAN seem to always be at either of these two
  speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
  ideas on how i stop it falling back to the slower speed?
  
  look for a not contested channel?
 
 I had assumed that congestion would reveal itself as varying speeds, as
 expected with multiple users on a shared medium, not step jumps between
 the two speeds that i'm seeing... Am I wrong?

depends on the situation and the other people's reaction ;)



Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Mick
On Sunday 25 April 2010 12:02:08 Adam wrote:
  Downloads over my 802.1g WLAN seem to always be at either of these two
  speeds. Billon ADSL+WLAN router one end, Intel 5100 on the laptop. Any
  ideas on how i stop it falling back to the slower speed?
 
  look for a not contested channel?
 
 I had assumed that congestion would reveal itself as varying speeds, as
 expected with multiple users on a shared medium, not step jumps between
 the two speeds that i'm seeing... Am I wrong?

Check that you have disabled 802.11b on your router, or you may find that an 
adjacent client who's running 802.11b will drag your router down to 11Mb/s max 
(the actual throughput will be lower).

While you're experiencing the lower downloads you can run iwlist iface scan 
to see the speed at which your NIC is connecting at.  If it is 802.11g it'll 
say so:

Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54

Also, iwconfig iface will show you IEEE 802.11g or IEEE 802.11b/g 
accordingly.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Adam
 Check that you have disabled 802.11b on your router, or you may find that an 
 adjacent client who's running 802.11b will drag your router down to 11Mb/s 
 max 
 (the actual throughput will be lower).

Router is already fixed to g only.

 While you're experiencing the lower downloads you can run iwlist iface scan 
 to see the speed at which your NIC is connecting at.  If it is 802.11g it'll 
 say so:

Thanks, i can see my own router (Cell 01) and three others, looks like I
should try channel 13. I can't see the speed shown in the output tho.

wlan0 Scan completed :
  Cell 01 - Address:
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=69/70  Signal level=-41 dBm

  Cell 02 - Address:
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=32/70  Signal level=-78 dBm

  Cell 03 - Address:
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=60/70  Signal level=-50 dBm

  Cell 04 - Address:
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=48/70  Signal level=-62 dBm



Re: [gentoo-user] WLAN speed either 800KB or 3MB

2010-04-25 Thread Mick
On Sunday 25 April 2010 13:19:51 Adam wrote:
  Check that you have disabled 802.11b on your router, or you may find that
  an adjacent client who's running 802.11b will drag your router down to
  11Mb/s max (the actual throughput will be lower).
 
 Router is already fixed to g only.
 
  While you're experiencing the lower downloads you can run iwlist iface
  scan to see the speed at which your NIC is connecting at.  If it is
  802.11g it'll say so:
 
 Thanks, i can see my own router (Cell 01) and three others, looks like I
 should try channel 13. I can't see the speed shown in the output tho.
 
 wlan0 Scan completed :
   Cell 01 - Address:
 Channel:1
 Frequency:2.412 GHz (Channel 1)
 Quality=69/70  Signal level=-41 dBm
 
   Cell 02 - Address:
 Channel:1
 Frequency:2.412 GHz (Channel 1)
 Quality=32/70  Signal level=-78 dBm
 
   Cell 03 - Address:
 Channel:6
 Frequency:2.437 GHz (Channel 6)
 Quality=60/70  Signal level=-50 dBm
 
   Cell 04 - Address:
 Channel:6
 Frequency:2.437 GHz (Channel 6)
 Quality=48/70  Signal level=-62 dBm

Try channels 11 and 13, unless they are already congested.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] wlan

2010-03-23 Thread Thomas Bruns
Hello NGs,

when connect my usb-wlan-stick i get this message:

usb 1-5: USB disconnect, address 3
usb 1-5: new high speed USB device using ehci_hcd and address 4
usb 1-5: New USB device found, idVendor=0df6, idProduct=0040
usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-5: Product: 802.11 n WLAN
usb 1-5: Manufacturer: Ralink
usb 1-5: SerialNumber: 1.0
usb 1-5: configuration #1 chosen from 1 choice
phy1 - rt2x00_set_chip: Info - Chipset detected - rt: 1600, rf: 0007, rev: 
30710211.
phy1 - rt2800usb_init_eeprom: Error - Invalid RT chipset detected.
phy1 - rt2x00lib_probe_dev: Error - Failed to allocate device.

I use a 2.6.31-gentoo-r10 Kernel.

Can everybody help me?

-- 
Gruß
Thomas
---
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -O2 -msse4.1 -msse4.2 -pipe
CXXFLAGS=-march=core2 -O2 -msse4.1 -msse4.2 -pipe
LDFLAGS=-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed



Re: [gentoo-user] wlan

2010-03-23 Thread Thomas Bruns
Am Dienstag 23 März 2010 19:39:32 schrieb Thomas Bruns:
 Hello NGs,
 
 when connect my usb-wlan-stick i get this message:
 
 usb 1-5: USB disconnect, address 3
 usb 1-5: new high speed USB device using ehci_hcd and address 4
 usb 1-5: New USB device found, idVendor=0df6, idProduct=0040
 usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 usb 1-5: Product: 802.11 n WLAN
 usb 1-5: Manufacturer: Ralink
 usb 1-5: SerialNumber: 1.0
 usb 1-5: configuration #1 chosen from 1 choice
 phy1 - rt2x00_set_chip: Info - Chipset detected - rt: 1600, rf: 0007, rev:
 30710211.
 phy1 - rt2800usb_init_eeprom: Error - Invalid RT chipset detected.
 phy1 - rt2x00lib_probe_dev: Error - Failed to allocate device.
 
 I use a 2.6.31-gentoo-r10 Kernel.
 
 Can everybody help me?
 
lsmod | grep rt
rt2800usb  37944  0
rt2x00usb  12136  1 rt2800usb
rt2x00lib  31656  2 rt2800usb,rt2x00usb
led_class   4976  1 rt2x00lib
input_polldev   4376  1 rt2x00lib
mac80211  137976  2 rt2x00usb,rt2x00lib
cfg80211   92672  2 rt2x00lib,mac80211
crc_ccitt   2264  1 rt2800usb
rtc 7960  0
usbcore   145764  12 
rt2800usb,rt2x00usb,uvcvideo,snd_usb_audio,snd_usb_lib,sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
scsi_transport_sas 30488  3 aic94xx,libsas,mptsas
scsi_transport_fc  47180  3 lpfc,qla2xxx,mptfc
scsi_tgt   13200  1 scsi_transport_fc
scsi_transport_spi 24904  5 mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx
firmware_class  9192  8 
rt2x00lib,tg3,aic94xx,libsas,qla2xxx,qla1280,advansys,pcmcia
pata_artop  6924  0

-- 
Gruß
Thomas
---
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -O2 -msse4.1 -msse4.2 -pipe
CXXFLAGS=-march=core2 -O2 -msse4.1 -msse4.2 -pipe
LDFLAGS=-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed



[gentoo-user] WLAN performance

2008-03-21 Thread Florian Philipp
Hi list!

Can anyone tell me how I could find the bottleneck on my wireless
network? According to iwconfig, both cards are cofigured for 54 MBit/s
but I only get about 13 MBit/s, both on NFS and scp.

Might it be the driver (iwl3945, rt61 from kernel 2.6.24)?
Unfortunately, iwspy doesn't work on these cards.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] WLAN performance

2008-03-21 Thread William Kenworthy
ahh, marketing.  Some people will believe anything!

Check the table at
http://www.oreillynet.com/pub/a/wireless/2003/08/08/wireless_throughput.html

or numerous other guides courtesy of google.  This shows that maximum
throughput is roughly 27Mb/s for 54g, but in my experience its much less
in the real world.

Note that configuring a card for 54mb/s is the maximum - unless you are
quite close (distance wise), have little interference and dont have a
busy 802.11b on the same AP, you are not even going to see a 54, but a
fallback.  And I think encryption will clip it even further if you are
using that (as you should be!)

BillK


On Fri, 2008-03-21 at 11:33 +0100, Florian Philipp wrote:
 Hi list!
 
 Can anyone tell me how I could find the bottleneck on my wireless
 network? According to iwconfig, both cards are cofigured for 54 MBit/s
 but I only get about 13 MBit/s, both on NFS and scp.
 
 Might it be the driver (iwl3945, rt61 from kernel 2.6.24)?
 Unfortunately, iwspy doesn't work on these cards.
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] WLAN performance

2008-03-21 Thread Stroller


On 21 Mar 2008, at 10:33, Florian Philipp wrote:

... both cards are cofigured for 54 MBit/s
... I only get about 13 MBit/s, both on NFS and scp.


I'd be really quite happy with that.

As BillK remarks, 50% of your 54 Mbit is consumed by protocol  
overhead. You're probably going to tell us that the two machines are  
currently right next to each other, so losing an additional 50% to  
interference  other intangibles might seem at first sight  
unreasonable, but I doubt you'll ever do any better than that, and  
you could waste a lot of time trying.


Wireless is for surfing on the sofa - you can easily get eighty times  
this throughput with a cable, so investing time  energy in trying to  
get a two-times performance increase is a poor return.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] WLAN daemon?

2007-04-14 Thread Mick
On Saturday 14 April 2007 01:35, Daniel Pielmeier wrote:
 Sven Köhler schrieb:
  Hi,
 
  is there any WLAN daemon that scans for wireless LANs and loggs into
  them, if he finds one, that i prefer?

 You will find some useful informaton and links here:
 http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

As I understand it a good WLAN device driver will associate and re-associate 
with the next available device when it comes into range.  Some drivers are 
not that good at re-associating.  In that case you may have to modprobe -r 
and then reload the driver, or unplug/replug the WiFi device if it is a 
USB/cardbus.  If you engage in the noble sport of aheam wardriving then you 
will need to use a good device that has well developed drivers in Linux.  I 
am not aware of a daemon that performs this function in parallel to the WiFi 
device driver, sort of a ifplugd for wireless, but others may know better.
-- 
Regards,
Mick


pgpQLLB7SYHNk.pgp
Description: PGP signature


[gentoo-user] WLAN

2006-03-06 Thread Goran Maksimovi
Hello!

I have recently subscribed to this mailing list so if someone has already asked
this question I apologize in advance. I installed yesterday Gentoo 2006.0 with
LiveCD on my laptop hp nx9105 and I'm looking how to setup my wireless card. I
know that their aren't WLAN card drivers for Linux but I know that I can use my
Windows XP drivers with ndiswrapper package, so my question is what is the
procedure to setup my WLAN card.

Goran


-- T - C o m - - W e b m a i l --
Ova poruka poslana je upotrebom T-Com Webmail usluge.
Postani redatelj najgledanijeg hrvatskog filma!
http://www.tportal.hr/100sekundislave/



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] WLAN

2006-03-06 Thread Daniel da Veiga
On 3/6/06, Goran Maksimoviæ [EMAIL PROTECTED] wrote:
 Hello!

 I have recently subscribed to this mailing list so if someone has already 
 asked
 this question I apologize in advance. I installed yesterday Gentoo 2006.0 with
 LiveCD on my laptop hp nx9105 and I'm looking how to setup my wireless card. I
 know that their aren't WLAN card drivers for Linux but I know that I can use 
 my
 Windows XP drivers with ndiswrapper package, so my question is what is the
 procedure to setup my WLAN card.

 Goran


http://www.unicolet.org/nx9105.html
http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup

It can't be better than that :) good luck... Don't forget to thank
Umberto Nicoletti for his complete description on how to make your
system work...


 -- T - C o m - - W e b m a i l --
 Ova poruka poslana je upotrebom T-Com Webmail usluge.
 Postani redatelj najgledanijeg hrvatskog filma!
 http://www.tportal.hr/100sekundislave/



 --
 gentoo-user@gentoo.org mailing list




--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list