Results 1 to 10 of 13
I've been trying for a long time to find a solution to my problem but haven't found it for debian etch.
I'm trying to get my wlan to work and ...
- 11-03-2006 #1Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Help needed!
I've been trying for a long time to find a solution to my problem but haven't found it for debian etch.
I'm trying to get my wlan to work and that by using ndiswrapper. Downloading and extracting works as it should however when a move in to the extracted directory and goes "make" I get this:
I'm suppose to download the src.rpm file for my kernel I guess but where can I find this file and do I have to install it or just temporarly keep it during the installation or what do I do? I want to get my wireless going soon, thank you all for your efforts!Code:Hajo:/home/hajo/Desktop/Downloads/ndiswrapper-1.28# make make -C driver make[1]: Entering directory `/home/hajo/Desktop/Downloads/ndiswrapper-1.28/driver' Can't find kernel build files in /lib/modules/2.6.17-2-686/build; give the path to kernel build directory with KBUILD=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/home/hajo/Desktop/Downloads/ndiswrapper-1.28/driver' make: *** [all] Error 2
- 11-03-2006 #2
Source RPMs aren't really for Debian systems. In your case, you don't even need the full kernel source. All you need is the linux-headers package that matches your kernel.
If you don't know your kernel version, you can check it by typing uname -r in a console. Then in Synaptic (or another package manager of your choice), search for linux-headers and pick the one with the same version of your kernel. Once that's installed, you should be able to build kernel modules like ndiswrapper.Stand up and be counted as a Linux user!
- 11-03-2006 #3Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Thank you.. that worked fine!
Originally Posted by Zelmo
Now I have a new problem..
I'm going through the tutorial
http://www.linuxforums.org/network/w...and_linux.html
and everything seems to work fine, however I still don't have a wlanX, only eth0 and eth1.
edit: could this be because i'm using the wrong driver?
Can I use the driver that I would have used in windows if I use ndiswrapper?
- 11-03-2006 #4Linux User
- Join Date
- Aug 2005
- Posts
- 408
As far as I know, eth0 and eth1 refer to your ethernet cards, wired and wireless. If you know which is wireless (for instance, on my computer, eth0 refers to the wireless interface), you should be able to substitute that one (eth0 or eth1) for wlanX in the commands given in that tutorial.
Here's a debian tutorial describing how to do pretty much the same stuff:
http://www.debian-administration.org/articles/401
If nothing works, I would substitute eth0 for wlan0. Also, what kind of security do you have on the wirless router you are trying to access? What does your /etc/network/interfaces file look like?
- 11-03-2006 #5Linux User
- Join Date
- Feb 2006
- Posts
- 484
Hi
after you loaded the ndiswrapper modul , run the command dmesg and post the output to here
if your card has atheros chipset the better choice is madwifi driver
- 11-03-2006 #6Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
output of dmesg:
Running these tutorials has given me a eth1 however, it doesn't seem to do anything usefull to me.Code:Linux version 2.6.17-2-686 (Debian 2.6.17-9) !!! Had to cut ut some info here because the post became to long :( I don't think that I removed anything important !!! NET: Registered protocol family 2 IP route cache hash table entries: 65536 (order: 6, 262144 bytes) TCP established hash table entries: 262144 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered audit: initializing netlink socket (disabled) audit(1162600217.612:1): initialized highmem bounce pool size: 64 pages 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 (default) io scheduler deadline registered io scheduler cfq registered ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] Allocate Port Service[0000:00:1c.0:pcie03] isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize PNP: PS/2 Controller [PNP0303:KBC,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 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 No-Shortcut mode ACPI wakeup devices: LID PBTN PCI0 USB0 USB1 USB2 USB4 USB3 MODM PCIE NIC ACPI: (supports S0 S3 S4 S5) Freeing unused kernel memory: 196k freed input: AT Translated Set 2 keyboard as /class/input/input0 ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3]) ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: Thermal Zone [THM] (55 C) ieee1394: Initialized config rom entry `ip1394' ACPI: PCI Interrupt 0000:02:01.1[B] -> GSI 18 (level, low) -> IRQ 201 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[201] MMIO=[dfcfe800-dfcfefff] Max Packet=[2048] IR/IT contexts=[4/4] tg3.c:v3.59.1 (August 25, 2006) ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:01:00.0 to 64 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx eth0: Tigon3 [partno(BCM95751) rev 4001 PHY(5750)] (PCI Express) 10/100/1000BaseT Ethernet 00:14:22:fb:f5:a7 eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[1] eth0: dma_rwctrl[76180000] dma_mask[64-bit] ICH6: IDE controller at PCI slot 0000:00:1f.1 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 169 ICH6: chipset revision 3 ICH6: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio Probing IDE interface ide0... usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v3.0 hda: TOSHIBA MK6006GAH, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 169, io base 0x0000bf80 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: 512KiB hda: 117210240 sectors (60011 MB), CHS=16383/255/63, UDMA(100) hda: cache flushes supported hda: hda1 hda2 hda3 < hda5 hda6 > ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 17 (level, low) -> IRQ 209 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 209, io base 0x0000bf60 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 201 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1d.2: irq 201, io base 0x0000bf40 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ieee1394: Host added: ID:BUS[0-00:1023] GUID[364fc00035b87830] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 19 (level, low) -> IRQ 177 PCI: Setting latency timer of device 0000:00:1d.3 to 64 uhci_hcd 0000:00:1d.3: UHCI Host Controller uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1d.3: irq 177, io base 0x0000bf20 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 169, io mem 0xffa80800 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 8 ports detected usb 2-1: new full speed USB device using uhci_hcd and address 2 Attempting manual resume kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. usb 2-1: new full speed USB device using uhci_hcd and address 3 usb 2-1: configuration #1 chosen from 1 choice Bluetooth: Core ver 2.8 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Real Time Clock Driver v1.12ac Linux agpgart interface v0.101 (c) Dave Jones agpgart: Detected an Intel 915GM Chipset. agpgart: Detected 7932K stolen memory. agpgart: AGP aperture is 256M @ 0xc0000000 eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0) input: PC Speaker as /class/input/input1 sdhci: Secure Digital Host Controller Interface driver, 0.11 sdhci: Copyright(c) Pierre Ossman ACPI: PCI Interrupt 0000:02:01.2[C] -> GSI 17 (level, low) -> IRQ 209 mmc0: SDHCI at 0xdfcfe700 irq 209 DMA ieee80211_crypt: registered algorithm 'NULL' ieee80211: 802.11 data/management/control stack, git-1.1.7 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com> Bluetooth: HCI USB driver ver 2.9 usbcore: registered new driver hci_usb ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 19 (level, low) -> IRQ 177 Yenta: CardBus bridge found at 0000:02:01.0 [1028:01a3] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.1.1 ipw2200: Copyright(c) 2003-2006 Intel Corporation Yenta: ISA IRQ mask 0x0cb8, PCI irq 177 Socket status: 30000006 pcmcia: parent PCI bridge Memory window: 0xdfc00000 - 0xdfcfffff pcmcia: parent PCI bridge Memory window: 0x60000000 - 0x61ffffff ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 17 (level, low) -> IRQ 209 ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2 ipw2200: Unable to load firmware: -2 ipw2200: failed to register network device ACPI: PCI interrupt for device 0000:02:03.0 disabled ipw2200: probe of 0000:02:03.0 failed with error -5 ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 16 (level, low) -> IRQ 169 PCI: Setting latency timer of device 0000:00:1e.2 to 64 hw_random: cannot enable RNG, aborting cs: IO port probe 0x100-0x3af: clean. cs: IO port probe 0x3e0-0x4ff: clean. cs: IO port probe 0x820-0x8ff: clean. cs: IO port probe 0xc00-0xcf7: clean. cs: IO port probe 0xa00-0xaff: clean. Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04713/0x200000 input: SynPS/2 Synaptics TouchPad as /class/input/input2 ts: Compaq touchscreen protocol output mice: PS/2 mouse device common for all mice intel8x0_measure_ac97_clock: measured 55366 usecs intel8x0: clocking to 48000 ACPI: PCI Interrupt 0000:00:1e.3[B] -> GSI 17 (level, low) -> IRQ 209 PCI: Setting latency timer of device 0000:00:1e.3 to 64 Intel 810 + AC97 Audio, version 1.01, 16:56:33 Sep 13 2006 MC'97 1 converters and GPIO not ready (0xff00) Adding 144512k swap on /dev/hda6. Priority:-1 extents:1 across:144512k EXT3 FS on hda2, internal journal loop: loaded (max 8 devices) SCSI subsystem initialized ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com tg3: eth0: Link is up at 100 Mbps, full duplex. tg3: eth0: Flow control is on for TX and on for RX. ACPI: Battery Slot [BAT0] (battery present) ACPI: AC Adapter [AC] (on-line) ACPI: Lid Switch [LID] ACPI: Power Button (CM) [PBTN] ACPI: Sleep Button (CM) [SBTN] apm: BIOS not found. [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 169 [drm] Initialized i915 1.4.0 20060119 on minor 0 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver eth0: no IPv6 routers present ndiswrapper version 1.23 loaded (preempt=no,smp=yes)
Any ideas from the dmesg output?
- 11-03-2006 #7
Running iwconfig in the console (as root) will tell you which network interfaces will work with wireless extensions, and hence are recognized as wireless network interfaces.
Stand up and be counted as a Linux user!
- 11-03-2006 #8Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Ok, it's not looking good so far.
eth0 and eth1 is wired connections so something is wrong, have found that I can do this with the ipw2200 driver but I need to get "make menuconfig" to work first.
Will try this some other day, it's late here in Sweden so godnight and thank you for your help. I'm sure we will meet again
- 11-04-2006 #9Linux User
- Join Date
- Feb 2006
- Posts
- 484
is your kernel has a wireless support?
in menuconfig
network -> generic ieee 802.11 networking stack
and
device drivers -> network devices support -> wireless lan (non hamradio) ->
wireless lan drivers (non hamradio ) & wireless extensions
EDIT:
i cheked your dmesg output and saw you have wireless support
but i found something else
i think you need to disable the driver in the kernel and use the windows driver with ndiswrapperipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.1.1
ipw2200: Copyright(c) 2003-2006 Intel Corporation
.
.
.
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
.
ipw2200: probe of 0000:02:03.0 failed with error -5
- 11-04-2006 #10Just Joined!
- Join Date
- Oct 2006
- Location
- Sweden
- Posts
- 53
Ok, ndiswrapper is one idea, but I can't get "make menuconfig" to work. For what I understand I should give the command "make menuconfig" in /usr/src/linux but then I get
Originally Posted by iwanabeguru
It's complaining about the linux-headers:Code:scripts/Makefile.build:17: /usr/src/linux-headers-2.6.17-2-686/scripts/basic/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.17-2-686/scripts/basic/Makefile'. Stop. make: *** [scripts_basic] Error 2
andCode:Hajo:/usr/src/linux# uname -r 2.6.17-2-686
So now I don't know what to do, where's the problem?Code:Hajo:/usr/src/linux# apt-get install linux-headers-2.6.17-2-686 Reading package lists... Done Building dependency tree... Done linux-headers-2.6.17-2-686 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Reply With Quote
