[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wireless adapter recommendation



On Sun, 2007-05-27 at 10:55 +0100, Chris Lale wrote:
> Default User wrote:
> > Would anyone please recommend a suitable wireless adapter for these
> > conditons: 
> [...]
> > 3) Should work "out of the box", with out having to try to learn how to
> > recompile the kernel or insert modules or ndiswrapper, etc. 
> 
> It's so simple these days [1]. Eg to install the Ralink 2500 driver:
> 
> 1. Build the driver (from the command line as user root):
> 
> 	# aptitude install rt2500-source module-assistant
> 	# m-a prepare
> 	# m-a a-i rt2500-source
> 
> 2. install the driver:
> 	# modprobe rt2500
> 
> 3. Then do the rest from Gnome. Set up your interface from Gnome with
> 
> 	Desktop -> Administration -> Networking
> 	Connections tab -> Wireless connection Properties
> 		Interface name wlan0
> 		Enable this connection (tick the box)
> 		Network name (ESSID): (Enter the ESSID of your wireless Access Point)
> 		Key type: Plain (hexadecimal)
> 		WEP key: Enter the WEP key configured in your AP setup
> 		Connection settings: DHCP if this is configured on your AP. Otherwise Static
> (and fill in details).
> 
> 4. Set up your nameservers
> 	DNS tab -> Add
> 
> (You can use DNS servers at opendns.com eg 208.67.222.222, or the ones provided
> by your ISP.)
> 
> 5. Activate the wireless interface:
> 	Connections tab -> Wireless connection ... wlan0 -> Activate
> 
> [1]
> http://newbiedoc.berlios.de/wiki/How_to_set_up_a_wireless_network_card_using_drivers_from_Debian_packages
> 
> Hope that helps,
> 
> -- 
> Chris.
> 
> 


Thanks to all for your replies.  

I am trying to set up a Netgear MA111 (v1) usb wireless adapter on a
desktop system, later to set up on a laptop if it works on the desktop
system. 

lsusb says:
Bus 001 Device 003: ID 0846:4110 NetGear, Inc. MA111 WiFi (v1)
Bus 001 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 001 Device 001: ID 0000:0000

http://linux-wless.passys.nl says that linux-wlan-ng should work with
this adapter.

I did:
- install module-assistant
- run module-assistant prepare
- run module-assistant auto-install linux-wlan-ng
- reboot

Here is the dmesg output: 
Linux version 2.6.18-4-486 (Debian 2.6.18.dfsg.1-12etch2)
(dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21)) #1 Wed May 9 22:23:40 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 61424 pages, LIFO batch:15
DMI not present or invalid.
ACPI: RSDP (v000 AMI                                   ) @ 0x000fb560
ACPI: RSDT (v001 AMIINT          0x00000000 MSFT 0x00000097) @
0x0fff0000
ACPI: FADT (v001 AMIINT          0x00000000 MSFT 0x00000097) @
0x0fff0030
ACPI: DSDT (v001    VIA    VT498 0x00001000 MSFT 0x01000007) @
0x00000000
ACPI: PM-Timer IO Port: 0x5008
Allocating PCI resources starting at 20000000 (gap: 10000000:eec00000)
Detected 334.094 MHz processor.
Built 1 zonelists.  Total pages: 65520
Kernel command line: root=/dev/hda1 ro 
No local APIC present or hardware disabled
mapped APIC to ffffd000 (01201000)
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 252368k/262080k available (1502k kernel code, 9136k reserved,
601k data, 256k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 669.00 BogoMIPS
(lpj=1338011)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 008021bf 808029bf 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 008021bf 808029bf 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: After all inits, caps: 008021bf 808029bf 00000000 00000002 00000000
00000000 00000000
Compat vDSO mapped to ffffe000.
CPU: AMD-K6(tm) 3D processor stepping 0c
Checking 'hlt' instruction... OK.
ACPI: Core revision 20060707
ACPI: setting ELCR to 0008 (from 0e08)
checking if image is initramfs... it is
Freeing initrd memory: 4266k freed
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [NRTH] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.NRTH] bus is 0
Boot video device is 0000:00:13.0
ACPI: PCI Interrupt Routing Table [\_SB_.NRTH._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12 14 15) *0,
disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 15) *9
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: Power Resource [GLED] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
report
PCI: Cannot allocate resource region 0 of device 0000:01:00.0
PCI: Cannot allocate resource region 1 of device 0000:01:00.0
PCI: Cannot allocate resource region 2 of device 0000:01:00.0
pnp: 00:01: ioport range 0x5006-0x5007 has been reserved
pnp: 00:01: ioport range 0x5010-0x50ff could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: d000-dfff
  MEM window: faa00000-fcafffff
  PREFETCH window: f2800000-f28fffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
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
audit: initializing netlink socket (disabled)
audit(1180298526.432:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: Card 'Crystal CS4235'
isapnp: 1 Plug & Play card detected total
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 5
EISA: Detected 0 cards.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
ACPI: (supports S0 S1 S5)
Time: tsc clocksource has been installed.
Freeing unused kernel memory: 256k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596a (rev 06) IDE UDMA33 controller on pci0000:00:07.1
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)
USB Universal Host Controller Interface driver v3.0
hda: Maxtor 52049H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Time: acpi_pm clocksource has been installed.
hdc: SONY CD-ROM CDU5221, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKB] -> GSI 10 (level,
low) -> IRQ 10
tulip0:  MII transceiver #1 config 3000 status 7829 advertising 01e1.
eth0: Lite-On 82c168 PNIC rev 32 at 0001ea00, < SNIP >, IRQ 10.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKC] -> GSI 10 (level,
low) -> IRQ 10
PCI: VIA IRQ fixup for 0000:00:07.2, from 9 to 10
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x0000e800
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hda: max request size: 128KiB
hda: 40020624 sectors (20490 MB) w/2048KiB Cache, CHS=39703/16/63,
UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
usb 1-2: new full speed USB device using uhci_hcd and address 2
hdc: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
usb 1-2: configuration #1 chosen from 1 choice
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
usb 1-2.2: new full speed USB device using uhci_hcd and address 3
usb 1-2.2: configuration #1 chosen from 1 choice
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Apollo MVP3 chipset
agpgart: AGP aperture is 64M @ 0xf4000000
input: PC Speaker as /class/input/input1
Real Time Clock Driver v1.12ac
input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
pnp: Device 01:01.01 activated.
gameport: NS558 PnP Gameport is pnp01:01.01/gameport0, io 0x200, speed
701kHz
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP]
prism2usb_init: prism2_usb.o: 0.2.5 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new driver prism2_usb
ts: Compaq touchscreen protocol output
pnp: Device 01:01.00 activated.
pnp: Device 01:01.00 disabled.
cs4232-pnpbios: probe of 01:01.00 failed with error -2
pnp: Device 01:01.00 activated.
pnp: Device 01:01.02 activated.
pnp: Device 01:01.03 activated.
Adding 755012k swap on /dev/hda7.  Priority:-1 extents:1 across:755012k
EXT3 FS on hda1, internal journal
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
dm-devel@redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: Setting full-duplex based on MII#1 link partner capability of
45e1.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ACPI: Power Button (FF) [PWRF]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
eth0: no IPv6 routers present
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (2047 buckets, 16376 max) - 224 bytes per
conntrack
usbcore: deregistering driver prism2_usb
prism2_usb.o: 0.2.5 Unloaded
p80211.o: 0.2.5 Unloaded
eth0: no IPv6 routers present


(NOTE: eth0 is a wired pci card connection, works fine, uses tulip
driver).  

Notice from dmesg these lines: 
prism2usb_init: prism2_usb.o: 0.2.5 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new driver prism2_usb

(but later:)

usbcore: deregistering driver prism2_usb
prism2_usb.o: 0.2.5 Unloaded
p80211.o: 0.2.5 Unloaded
(after which startup stalls for about 30 seconds as if thinking, then
continues.)

The adapter (green led on) doesn't work. No wireless connection. 
Added attraction: no wired connection either. 

ifconfig -a output:
eth0      Link encap:Ethernet  HWaddr < SNIP >
          inet addr:169.254.157.220  Bcast:169.254.255.255
Mask:255.255.0.0
          inet6 addr: < SNIP>/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:614 errors:1 dropped:0 overruns:0 frame:0
          TX packets:54 errors:1 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:44209 (43.1 KiB)  TX bytes:6566 (6.4 KiB)
          Interrupt:10 Base address:0xea00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:808 errors:0 dropped:0 overruns:0 frame:0
          TX packets:808 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:56044 (54.7 KiB)  TX bytes:56044 (54.7 KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)

The IP address should be 172.16.1.xx, set by DHCP.  The gateway should
be 172.16.0.< x >, broadcast 172.16.255.255, mask 255.255.0.0 

Using the wired connrction icon at the top panel in Gnome to disable,
then enable the wired connection gives this ifconfig -a output:
eth0      Link encap:Ethernet  HWaddr <SNIP>
          inet addr:172.16.1.<xx>  Bcast:172.16.255.255
Mask:255.255.0.0
          inet6 addr: < SNIP >/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:759 errors:2 dropped:0 overruns:0 frame:0
          TX packets:100 errors:1 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:55321 (54.0 KiB)  TX bytes:10537 (10.2 KiB)
          Interrupt:10 Base address:0xea00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:988 errors:0 dropped:0 overruns:0 frame:0
          TX packets:988 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:70224 (68.5 KiB)  TX bytes:70224 (68.5 KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)

Note this ping behavior:
$ ping 172.16.0.< x >
PING 172.16.0.< x > (172.16.0.< x >) 56(84) bytes of data.

--- 172.16.0.< 1 > ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3009ms


But, Firefox brings up websites (including Debian.org) just fine! Huh? 
And of course, no wireless connection. 

Extra fun: For years, I could go to /etc/resolv.conf to see and edit the
network setup. Since Etch, it just says: 
# generated by NetworkManager, do not edit!

(Okay . . .  so how do I do what I used to do in /etc/resolv.conf?)

Only just now during this wireless setup process, /etc/resolv.conf has
mysteriously edited itself to read: 
# generated by NetworkManager, do not edit!

search < local domain name >


nameserver 172.16.0.< x >


All this behavior is the same whether rebooting or doing:
modprobe prism_usb  (modprobe linux-wlan-ng won't work!) 

and also trying all this with madwifi instead of linux-wlan-ng.  

---------------------------------------------------------------

Are we having fun yet?







Reply to: