Re: [blfs-support] Can't get Wireless to work.

2015-09-15 Thread Bruce Dubbs

Wayne Sallee wrote:



On 09/15/2015 11:23 AM, Wayne Sallee wrote:

Looks like one has to recompile the kernal drivers after putting the
firmware into /lib/firmware.

I got better results after doing so.


I was getting some errors, but that cleared up later, so I thought it
was from rebuilding the kernel drivers, but I realized that I had just
lost connection with the tail log.
The errors "rt2x00lib_rxdone_read_signal: Warning - Frame received with
unrecognized signal" are still there, but disconnecting and reconnecting
the usb wireless helped.
The above error is a known problem with this wireless.

But anyway I seem to be connected, but, yet I can't connect to a website
using link. Link works fine when the network cable is used.

root [ ~ ]# ip link list
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000
 link/ether 08:00:27:df:5e:da brd ff:ff:ff:ff:ff:ff
3: sit0@NONE:  mtu 1480 qdisc noop state DOWN mode DEFAULT group
default
 link/sit 0.0.0.0 brd 0.0.0.0
6: wlan0:  mtu 1500 qdisc mq state UP
mode DORMANT group default qlen 1000
 link/ether 00:1a:70:af:24:39 brd ff:ff:ff:ff:ff:ff
root [ ~ ]#


What do you have for 'ip addr list'?  'ip route list'?

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-15 Thread Wayne Sallee



On 09/14/2015 04:29 PM, Bruce Dubbs wrote:
Grab the rt73.bin file from http://anduin.linuxfromscratch.org/sources/linux-firmware/ and put it in /lib/firmware.  
Then you will need to reboot.


Looks like one has to recompile the kernal drivers after putting the firmware 
into /lib/firmware.

I got better results after doing so.

I'm almost there.

Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-15 Thread Wayne Sallee



On 09/15/2015 11:23 AM, Wayne Sallee wrote:

Looks like one has to recompile the kernal drivers after putting the firmware 
into /lib/firmware.

I got better results after doing so.


I was getting some errors, but that cleared up later, so I thought it was from rebuilding the kernel drivers, but I 
realized that I had just lost connection with the tail log.
The errors "rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal" are still there, but 
disconnecting and reconnecting the usb wireless helped.

The above error is a known problem with this wireless.

But anyway I seem to be connected, but, yet I can't connect to a website using link. Link works fine when the network 
cable is used.


root [ ~ ]# ip link list
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
mode DEFAULT group default qlen 1000
link/ether 08:00:27:df:5e:da brd ff:ff:ff:ff:ff:ff
3: sit0@NONE:  mtu 1480 qdisc noop state DOWN mode DEFAULT group default
link/sit 0.0.0.0 brd 0.0.0.0
6: wlan0:  mtu 1500 qdisc mq state UP mode 
DORMANT group default qlen 1000
link/ether 00:1a:70:af:24:39 brd ff:ff:ff:ff:ff:ff
root [ ~ ]#


Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-14 Thread Bruce Dubbs

Wayne Sallee wrote:

The kernel recognizes the wireless interface.


4: wlan0:  mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
 link/ether 00:1a:70:af:24:39 brd ff:ff:ff:ff:ff:ff



Much better now, but the ifup command still gives errors.


What are the contents of /etc/sysconfig/ifconfig.wlan0?

For a static IP, it should be something like:

ONBOOT=yes
IFACE="wlan0"
SERVICE="wpa"
WPA_SERVICE="ipv4-static"
IP="192.168.0.111"
GATEWAY="192.168.0.1"
PREFIX="24"
BROADCAST="192.168.0.255"

For wpa, you also need /etc/sysconfig/wpa_supplicant-wlan0.conf.  See 
wireless-tools in BLFS for details.


  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-14 Thread Wayne Sallee



On 09/12/2015 04:27 PM, Wayne Sallee wrote:
Time to rebuild the kernel! 


root [ ~ ]# lsmod
Module  Size  Used by
bluetooth 303868  0
rt73usb23351  0
rt2x00usb   8842  1 rt73usb
crc_itu_t   1307  1 rt73usb
rt2x00lib  36118  2 rt73usb,rt2x00usb
i2c_piix4   8697  0
root [ ~ ]# ifup wlan0
  *  Bringing up the wlan0 
interface... 
[  OK  ]


 Starting wpa_supplicant on the wlan0 interface...Could not set interface wlan0 
flags (UP): No such file or directory
nl80211: Could not set interface 'wlan0' UP
Could not set interface wlan0 flags (UP): No such file or directory
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
*   
[ FAIL ]

RTNETLINK answers: No such file or directory
root [ ~ ]# ip link list
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
mode DEFAULT group default qlen 1000
link/ether 08:00:27:df:5e:da brd ff:ff:ff:ff:ff:ff
3: sit0@NONE:  mtu 1480 qdisc noop state DOWN mode DEFAULT group default
link/sit 0.0.0.0 brd 0.0.0.0
4: wlan0:  mtu 1500 qdisc noop state DOWN mode DEFAULT 
group default qlen 1000
link/ether 00:1a:70:af:24:39 brd ff:ff:ff:ff:ff:ff
root [ ~ ]#

Much better now, but the ifup command still gives errors.

Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-14 Thread Wayne Sallee



On 09/14/2015 11:41 AM, Bruce Dubbs wrote:

What are the contents of /etc/sysconfig/ifconfig.wlan0?


root [ ~ ]# cat /etc/sysconfig/ifconfig.wlan0
ONBOOT="yes"
IFACE="wlan0"
SERVICE="wpa"

# Additional arguments to wpa_supplicant
WPA_ARGS=""

WPA_SERVICE="dhclient"
DHCP_START=""
DHCP_STOP=""

# Set PRINTIP="yes" to have the script print
# the DHCP assigned IP address
PRINTIP="no"

# Set PRINTALL="yes" to print the DHCP assigned values for
# IP, SM, DG, and 1st NS. This requires PRINTIP="yes".
PRINTALL="no"
root [ ~ ]#




For wpa, you also need /etc/sysconfig/wpa_supplicant-wlan0.conf.  See 
wireless-tools in BLFS for details.


Yes I also have /etc/sysconfig/wpa_supplicant-wlan0.conf, but it does not seem from the error statements that it has 
gotten that far yet.



Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-12 Thread Wayne Sallee



On 09/12/2015 01:16 PM, Pierre Labastie wrote:

Could you please paste the output of "ip link list"? Not all wifi interfaces
are named wlan0.

Pierre


root [ ~ ]# ip link list
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0:  mtu 1500 qdisc pfifo_fast state UP 
mode DEFAULT group default qlen 1000
link/ether 08:00:27:df:5e:da brd ff:ff:ff:ff:ff:ff
3: sit0@NONE:  mtu 1480 qdisc noop state DOWN mode DEFAULT group default
link/sit 0.0.0.0 brd 0.0.0.0
root [ ~ ]#

What's that about the wlan0?

Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Can't get Wireless to work.

2015-09-12 Thread Pierre Labastie
On 12/09/2015 18:59, Wayne Sallee wrote:
> root [ ~ ]# ifup wlan0
>   *  Bringing up the wlan0
> interface...  
>   
> [  OK  ]
> 
>  Starting wpa_supplicant on the wlan0 interface...Could not read interface
> wlan0 flags: No such device
> Could not read interface wlan0 flags: No such device
> Could not read interface wlan0 flags: No such device
> WEXT: Could not set interface 'wlan0' UP
> wlan0: Failed to initialize driver interface
> * 
>   
>
> [ FAIL ]
> 
> *face wlan0 doesn't
> exist.
>  
> [ FAIL ]
> root [ ~ ]#
> 
> 
> 
> root [ ~ ]# lsmod
> Module  Size  Used by
> rtl_usb12512  0
> rtlwifi80648  1 rtl_usb
> bluetooth 303868  0
> i2c_piix4   8697  0
> root [ ~ ]#
> 
> 
> 
> root [ ~ ]# lsusb
> Bus 001 Device 003: ID 13b1:0020 Linksys WUSB54GC v1 802.11g Adapter [Ralink
> RT73]
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> root [ ~ ]#

Could you please paste the output of "ip link list"? Not all wifi interfaces
are named wlan0.

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page