Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless usb (asus Wl-167g)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
chINeSe mIDgEts
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 209
Location: look behind you

PostPosted: Wed Nov 22, 2006 2:17 am    Post subject: Wireless usb (asus Wl-167g) Reply with quote

Well folks, I just cant seem to get this bugger working. As the title says, I have an Asus WL-157g usb wireless receiver, which is supposed to work with the rt2500 driver. I have an iBook G4.

Here are the sources I've read in trying to get this working:
http://gentoo-wiki.com/HARDWARE_rt2x00
http://gentoo-wiki.com/HARDWARE_Wireless
and of course, the gentoo doc on wireless setup

So I emerge net-wireless/rt500, modprobe it and:
Code:
lappy willy# iwconfig
eth0       no wireless extensions.

lo            no wireless extensions.


Bummer. Then I tried emerging net-wireless/rt2570, which is rt2500 for usb devices, This time after I modprobe:

Code:
lappy willy# iwconfig
eth0       no wireless extensions.

lo            no wireless extensions.

rausb0       RT2500USB WLAN  ESSID:""
                   Mode:Managed  Frequency=2.412 GHz
                   RTS thr:off   Fragment thr:off
                   Encryption key:off
                   Link Quality=0/100  Signal level=-120 dBm  Noise level:-256 dBm
                   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                  Tx excessive retries:0  Invalid misc:0   Missed beacon:0



Code:
lappy willy# ifconfig rausb0
rausb0    Link encap:Ethernet           HWaddr 00:00:00:00:00:00
                 BROADCAST MULTICAST    MTU:1500   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:1000
                 RX bytes:0 (0.0 b)              TX bytes:0 (0.0 b)


Success? I'm not quite sure. Running "ifconfig rausb0 up" or similarly "iwconfig rausb0 up" will continuously process but nothing will happen. No matter how long I leave it nothing will happen unless I keyboard interrupt (control+c).

I am aware of the ural-linux driver, but it wont compile on my system. Is it possible the rt2x00 driver would work better?


Any Ideas or suggestions?

Thanks in advance for any help.
_________________
...it must have been very demanding having to learn how to use Microsoft Office, right up there with other lofty challenges like learning how to zip your fly without getting your dick caught.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Wed Nov 22, 2006 6:20 pm    Post subject: Reply with quote

try setting your ip address, or running dhcpcd rausb0 to configure your ip.

you should be good, seeing your device in the list is a very good sign ; ) but you may need to play with configuration a little.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 22, 2006 6:46 pm    Post subject: Reply with quote

I doubt that will help, if the device stays busy on ifconfig up, it won't work for anything else. Are there any messages in dmesg?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Nov 23, 2006 6:34 pm    Post subject: Reply with quote

true, but on an old Ralink-based pcmcia card i used to have, setting an IP address manually before trying to bring the interface up helped avoid kernel panics. I thought it might be worth a try, if you're using the old drivers.

speaking of which...

Quote:
Is it possible the rt2x00 driver would work better?


in april 2005 I was using what i understood to be the old rt2500 drivers for my ralink card. News on the website http://rt2x00.serialmonkey.com/wiki/index.php?title=Main_Page suggested that the new rt2x00 unified ralink driver was going to replace it.

then:

Quote:
Initial rt2x00 BETA Release - 4th September 2005
...
Tonight we have released the first BETA for our rt2x00 Driver Rebuild project.
This is a developed-from-the-ground-up driver that we have been developing
in a hope to stabalise support for the Ralink rt2x00 chipset family, which
includes the 802.11b rt2400 chipset, the 802.11g rt2500 chipset and the
802.11g USB rt2570 chipset.

A more detailed explination of what is contained in this BETA can be found on
our forums at - http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=316
...



so my suggestion is probably worthless anyways, since you are surely using a better version than one released in2005.

since i was so unhelpful last time maybe i'll do a little digging for you; i'd like to reaquaint myself with the status of this project anyways.

stay tuned.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Thu Nov 23, 2006 7:04 pm    Post subject: Reply with quote

Quote:

I have an Asus WL-157g usb wireless receiver, which is supposed to work with the rt2500 driver


actually, I think you should be using either

Quote:

* net-wireless/rt2570 [ Masked ]
Latest version available: 1.1.0_beta2
Latest version installed: [ Not Installed ]
Size of files: 247 kB
Homepage: http://rt2x00.serialmonkey.com
Description: Driver for the RaLink RT2570 USB wireless chipset
License: GPL-2


the old rt2570 ralink usb wireless drivers, or ...
Quote:

* net-wireless/rt2x00 [ Masked ]
Latest version available: 9999
Latest version installed: [ Not Installed ]
Size of files: 0 kB
Homepage: http://rt2x00.serialmonkey.com
Description: Driver for the RaLink RT2x00 wireless chipsets
License: GPL-2


the new unified ralink drivers. However, looking at the rt2x00 forums suggests that maybe the unified rt2x00 drivers are a much bigger pain than they're worth. http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=899 .try the rt2570 drivers.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
chINeSe mIDgEts
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 209
Location: look behind you

PostPosted: Mon Nov 27, 2006 9:58 pm    Post subject: Reply with quote

Sorry about not posting for awhile, I went home for thanksgiving, and forgot to bring my iBook.

@erik258: I am using, rt2570 at the moment, which for some reason isnt working. I'm having troubles getting rt2x00 to compile :?

@ JoseJX

Code:
lappy willy # dmesg
Using PowerMac machine description
Total memory = 256MB; using 512kB for hash table (at cff80000)
Linux version 2.6.17-gentoo-r8 (root@lappy) (gcc version 4.1.1 (Gentoo 4.1.1)) #3 Wed Nov 22 23:27:38 EST 2006
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0xd2
Mapped at 0xfdfc0000
Found a Intrepid mac-io controller, rev: 0, mapped at 0xfdf40000
Processor NAP mode on idle enabled.
PowerMac motherboard: iBook G4
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
nvram: Checking bank 0...
nvram: gen0=350, gen1=349
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Top of RAM: 0x10000000, Total RAM: 0x10000000
Memory hole size: 0MB
On node 0 totalpages: 65536
  DMA zone: 65536 pages, LIFO batch:15
Built 1 zonelists
Kernel command line: root=/dev/hda5 ro
mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 18.432000 MHz
time_init: processor frequency   = 799.999998 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 254464k/262144k available (3968k kernel code, 7440k reserved, 368k data, 174k bss, 192k init)
Calibrating delay loop... 36.73 BogoMIPS (lpj=73472)
Mount-cache hash table entries: 512
device-tree: Duplicate name in /cpus/PowerPC,G4@0, renamed to "l2-cache#1"
NET: Registered protocol family 16
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
 channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
 channel 1 bus <multibus>
 channel 2 bus <multibus>
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0001:10:18.0
PCI: Cannot allocate resource region 0 of device 0001:10:19.0
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Registering PowerMac CPU frequency driver
Low: 606 Mhz, High: 798 Mhz, Boot: 606 Mhz
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
PCI: Enabling device 0000:00:10.0 (0006 -> 0007)
radeonfb (0000:00:10.0): Invalid ROM signature 0 should be 0xaa55
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=190.00 Mhz, System=183.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type LCD found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x000600ad from PPLL 0
radeonfb: Dynamic Clock Power Management enabled
Console: switching to colour frame buffer device 128x48
Registered "mnca" backlight controller,level: 15/15
radeonfb (0000:00:10.0): ATI Radeon \c
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
PHY ID: 4061e4, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:ac:20:ea
eth0: Found BCM5221 PHY
pcnet32.c:v1.32 18.Mar.2006 tsbogend@alpha.franken.de
MacIO PCI driver attached to Intrepid chipset
input: Macintosh mouse button emulation as /class/input/input0
apm_emu: APM Emulation 0.5 initialized.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
adb: starting probe task...
PCI: Enabling device 0002:20:0d.0 (0000 -> 0002)
adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
input: ADB Powerbook buttons as /class/input/input2
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse as /class/input/input3
adb: finished probe task...
ide0: Found Apple UniNorth ATA-6 controller, bus ID 3, irq 39
Probing IDE interface ide0...
hda: Hitachi IC25N060ATMR04-0, ATA DISK drive
hda: Enabling Ultra DMA 5
ide0 at 0xd1022000-0xd1022007,0xd1022160 on irq 39
ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 24
Probing IDE interface ide1...
hdc: PIONEER DVD-RW DVR-K05, ATAPI CD/DVD-ROM drive
hdc: Enabling MultiWord DMA 2
ide1 at 0xd1014000-0xd1014007,0xd1014160 on irq 24
hda: max request size: 512KiB
hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
mesh: configured for synchronous 5 MB/s
usbmon: debugfs is not available
PCI: Enabling device 0001:10:1b.2 (0004 -> 0006)
ehci_hcd 0001:10:1b.2: EHCI Host Controller
ehci_hcd 0001:10:1b.2: new USB bus registered, assigned bus number 1
ehci_hcd 0001:10:1b.2: irq 63, io mem 0x80080000
ehci_hcd 0001:10:1b.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
PCI: Enabling device 0001:10:1a.0 (0000 -> 0002)
ohci_hcd 0001:10:1a.0: OHCI Host Controller
ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:10:1a.0: irq 29, io mem 0x80083000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
ohci_hcd 0001:10:1b.0: OHCI Host Controller
ohci_hcd 0001:10:1b.0: new USB bus registered, assigned bus number 3
ohci_hcd 0001:10:1b.0: irq 63, io mem 0x80082000
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
ohci_hcd 0001:10:1b.1: OHCI Host Controller
ohci_hcd 0001:10:1b.1: new USB bus registered, assigned bus number 4
ohci_hcd 0001:10:1b.1: irq 63, io mem 0x80081000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver libusual
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver appletouch
i2c /dev entries driver
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus uni-n 1 registered
PowerMac i2c bus uni-n 0 registered
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC).
input: PowerMac Beep as /class/input/input4
ALSA device list:
  #0: PowerMac Snapper (Dev 38) Sub-frame 0
oprofile: using ppc/7450 performance monitoring.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 192k init
EXT3 FS on hda5, internal journal
idVendor = 0xb05, idProduct = 0x1706
usbcore: registered new driver rt2570
Adding 524280k swap on /dev/hda4.  Priority:-1 extents:1 across:524280k
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.25.0 20060524 on minor 0:
[drm] Used old pci detect: framebuffer loaded
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held  0 owner 00000000 cf2a2480
[drm:drm_unlock] *ERROR* Process 3837 using kernel context 0
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
usb 1-1: USB disconnect, address 2
unregister_netdev( )
usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
idVendor = 0xb05, idProduct = 0x1706
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held  0 owner 00000000 cf3b76c0
[drm:drm_unlock] *ERROR* Process 6361 using kernel context 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held  0 owner 00000000 cf83a1c0
[drm:drm_unlock] *ERROR* Process 6427 using kernel context 0

_________________
...it must have been very demanding having to learn how to use Microsoft Office, right up there with other lofty challenges like learning how to zip your fly without getting your dick caught.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2155

PostPosted: Wed May 16, 2007 6:45 pm    Post subject: Reply with quote

I'm having the same issue on a x86 arch.

"ifconfig rausb0 up" will run the machine rabid, even a "kill -9" does nothing.

Anyway, I've been reading on some kernel configs that may work, I'll let you know.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Psycho Dad
Apprentice
Apprentice


Joined: 10 Dec 2005
Posts: 168
Location: BW

PostPosted: Fri May 18, 2007 1:00 pm    Post subject: Reply with quote

You could try the cvs-driver (the hourly tarball) from

http://rt2x00.serialmonkey.com/wiki/index.php/Downloads
_________________
Gruß Thomas
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2155

PostPosted: Tue May 22, 2007 1:26 pm    Post subject: Reply with quote

Ditch the rt2500 and the rt2570 driver. Go and grab the rt73 driver, works beautifully.

http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
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