LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-29-2007, 12:57 PM   #1
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Rep: Reputation: 0
dpkg wont install kbuild (failed to write to pipe in copy)


Sony VGNFE21M
2.6.18-4-686 Etch

I am tryinng to get my wireless card to work. I need to install some kernal headers which have the dependency of kbuild.

When I try installing kbuild I get the following error:

cpc3-seve3-0-0-cust864:~# cd /root/Desktop
cpc3-seve3-0-0-cust864:~/Desktop# dpkg -i linux-kbuild-2.6.18_2.6.18-1_i386.deb
(Reading database ... 150369 files and directories currently installed.)
Unpacking linux-kbuild-2.6.18 (from linux-kbuild-2.6.18_2.6.18-1_i386.deb) ....
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing linux-kbuild-2.6.18_2.6.18-1_i386.deb (--install):
short read in buffer_copy (backend dpkg-deb during `./usr/src/linux-kbuild-2.6.18/scripts/mod/modpost.real-lsb-64')
Errors were encountered while processing:
linux-kbuild-2.6.18_2.6.18-1_i386.deb
cpc3-seve3-0-0-cust864:~/Desktop#

I have tried redownloading the deb file
I canīt use apt get as I have no internet connection
I canīt find any bug reports or patches.

What do you think I should do ?

Thanks

Dan
 
Old 08-30-2007, 05:29 PM   #2
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
ipw3945-modules

I have heard from a user on irc #debian that I can use modules to get the ipw3945 wireless card working. I downloaded ipw3945-modules-2.6.22-1-686_2.6.2 2+1.2.1-1_i386.deb and installed it using kpackage.

The log from kpackage shows that it installed:

<esktop/ipw3945-modules-2.6.18-4-686_2.6.18+1.1.3-4_i386.deb' ;echo RESULT=$?
(Reading database ... 150375 files and directories currently installed.)
Preparing to replace ipw3945-modules-2.6.18-4-686 2.6.18+1.1.3-4 (using .../ipw3945-modules-2.6.18-4-686_2.6.18+1.1.3-4_i386.deb) ...
Unpacking replacement ipw3945-modules-2.6.18-4-686 ...
Setting up ipw3945-modules-2.6.18-4-686 (2.6.18+1.1.3-4) ...

RESULT=0

Although Im a bit concerned with the "RESULT=0"

I tried detecting the card with KwifiManager but it doesn't recongnise it.

It seems there are other parts that need installing.

In both the following write ups It says you have to make sure the kernal headers are installed before the other parts.

"Ipw3945 driver manual installation for Debian Etch" :

1 Step by step installation
1.1 Downloads
1.2 Install kernel headers
1.3 Complile and install modules
1.4 Init script
1.5 Enable start on boot
1.6 Interface configuration
1.7 Notes





"Intel(R) PRO/Wireless 3945ABG Network Connection driver for Linux* in
support of:

Intel(R) PRO/Wireless 3945ABG Network Connection Adapter
Intel(R) PRO/Wireless 3945BG Network Connection Adapter

Copyright (C) 2005 - 2006, Intel Corporation

INSTALL

Version: 1.1.3"



"INSTALLING THE BITS

The installation requires the compiled kernel sources or headers
against the matching kernel. These are typically found in:

/lib/modules/\`uname -r\`/build

If that directory does not exist, or is empty, you likely need to
install the kernel source packages for your distribution. Once you have
the kernel sources, you can make and install the ieee80211 subsystem
via:

% tar zxvf ieee80211-${VERSION}
% cd ieee80211-${VERSION}
% make


So I try installing the header package "linux-headers-2.6.18-4-486_2.6.18.dfsg.1-12_i386" using kpackage


But I keep geting the following error:

<2.6.18-4-486_2.6.18.dfsg.1-12_i386.deb' ;echo RESULT=$?
(Reading database ... 150375 files and directories currently installed.)
Preparing to replace linux-headers-2.6.18-4-486 2.6.18.dfsg.1-12 (using .../linux-headers-2.6.18-4-486_2.6.18.dfsg.1-12_i386.deb) ...
Unpacking replacement linux-headers-2.6.18-4-486 ...
dpkg: dependency problems prevent configuration of linux-headers-2.6.18-4-486:
linux-headers-2.6.18-4-486 depends on linux-headers-2.6.18-4 (= 2.6.18.dfsg.1-12); however:
Package linux-headers-2.6.18-4 is not installed.
linux-headers-2.6.18-4-486 depends on linux-kbuild-2.6.18; however:
Package linux-kbuild-2.6.18 is not installed.
dpkg: error processing linux-headers-2.6.18-4-486 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-2.6.18-4-486
RESULT=1




The key line being

"linux-headers-2.6.18-4-486 depends on linux-kbuild-2.6.18; however:
Package linux-kbuild-2.6.18 is not installed."


So I try to install kbuild.

But get this error:



cpc3-seve3-0-0-cust864:~# cd /root/Desktop
cpc3-seve3-0-0-cust864:~/Desktop# dpkg -i linux-kbuild-2.6.18_2.6.18-1_i386.deb
(Reading database ... 150369 files and directories currently installed.)
Unpacking linux-kbuild-2.6.18 (from linux-kbuild-2.6.18_2.6.18-1_i386.deb) ...
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing linux-kbuild-2.6.18_2.6.18-1_i386.deb (--install):
short read in buffer_copy (backend dpkg-deb during `./usr/src/linux-kbuild-2.6.18/scripts/mod/modpost.real-lsb-64')
Errors were encountered while processing:
linux-kbuild-2.6.18_2.6.18-1_i386.deb
cpc3-seve3-0-0-cust864:~/Desktop#



So I have to get kbuild to install. Any ideas greatly welcomed??






ps
I able to get the laptop whith the wirless card problem to an internet cafe . I can connect to his network using a cable but not to the internet. If I cant figure out how to get kbuild to install then Ill need help getting the laptop configured to use the internet cafes network and solve this problem with apt-get. He uses windows xp.
 
Old 09-01-2007, 03:26 PM   #3
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
connecting to a cafe netwrok

I decided to try for a ethernet connection to the internet through a internet cafe and use apt get to install what I need to get my wireless card to work .

which ive been told is :

<dpkg> themill_ wants you to know: If you're running a recent version of Debian (etch or greater), do the following: add contrib and non-free entries in your sources.list and aptitude update; aptitude install ipw3945-modules-2.6-686 firmware-ipw3945 ipw3945d; If you are not using the 686 kernel, replace the 686 with the kernel variant you are using (486)
<dpkg> themill_ wants you to know: If you're running a recent version of Debian (etch or greater), do the following: add contrib and non-free entries in your sources.list and aptitude update; aptitude install ipw3945-modules-2.6-686 firmware-ipw3945 ipw3945d; If you are not using the 686 kernel, replace the 686 with the kernel variant you are using (486)




The guy at the cafe gave me these numbers to type in. Im not sure where they go so I go to #debian and they tell me :






ok, 192.168.1.3 is your IP, 255.255.255.0 is your netmask, 192.168.1.1 is your gateway, 200.87.100.10 and 200.87.100.40 are your dns

then we start configuring stuff:

<babilen> ricardo__: edit /etc/network/interfaces and change the eth0 part to match http://rafb.net/p/QohiBq33.html

#iface eth0 inet static
#address 192.168.1.3
#netmask 255.255.255.0
#gateway 192.168.1.1


So I perform some testes as asked:


ifup eth0 doesnt work

so :

<geo-rge> 1, if you don't get a result, try editing /etc/network/interfaces and change where it says eth0 to eth1,
<geo-rge> then try ifup eth1

changed to eth1

tested cpc3-seve3-0-0-cust864:~# ifup eth1
cpc3-seve3-0-0-cust864:~# ping www.bbc.co.uk

dont get a connection to web

tried this

cpc3-seve3-0-0-cust864:~# ifconfig eth1 up
cpc3-seve3-0-0-cust864:~# ifup eth1
ifup: interface eth1 already configured
cpc3-seve3-0-0-cust864:~# dhclient eth1
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:13:a9:08:5f:c3
Sending on LPF/eth1/00:13:a9:08:5f:c3
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 20
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
cpc3-seve3-0-0-cust864:~# ping www.google.com
ping: unknown host www.google.com
cpc3-seve3-0-0-cust864:~#

Then I try pinging


192.168.1.1 is the add to ping using this interface :

# The primary network interface
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1



cpc3-seve3-0-0-cust864:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=4.32 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.352 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.348 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.346 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.725 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.361 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.355 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.354 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=0.354 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=0.355 ms
64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=0.355 ms
64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=0.343 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=0.349 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=0.359 ms
64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=0.353 ms
64 bytes from 192.168.1.1: icmp_seq=16 ttl=64 time=0.351 ms
64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=0.400 ms

--- 192.168.1.1 ping statistics ---
17 packets transmitted, 17 received, 0% packet loss, time 16000ms
rtt min/avg/max/mdev = 0.343/0.611/4.328/0.933 ms



I can sometimes get on the internet cafes nework but not to the internet so we start probing at the terminal :


the dmesg output

cpc3-seve3-0-0-cust864:~# dmesg | grep eth
e100: eth0: e100_probe: addr 0xd2005000, irq 66, MAC addr 00:13:A9:08:5F:C3
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
device eth0 entered promiscuous mode
audit(1188663518.702:2): dev=eth0 prom=256 old_prom=0 auid=4294967295
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
eth1: no IPv6 routers present
e100: eth1: e100_watchdog: link down
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
eth1: no IPv6 routers present
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
eth1: no IPv6 routers present
eth1: no IPv6 routers present
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
eth1: no IPv6 routers present
eth1: no IPv6 routers present
e100: eth1: e100_watchdog: link down
ADDRCONF(NETDEV_UP): eth1: link is not ready
device eth0 left promiscuous mode
audit(1188667161.661:3): dev=eth0 prom=0 old_prom=256 auid=4294967295
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
e100: eth1: e100_watchdog: link down
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex
e100: eth1: e100_watchdog: link down



ifconfig oputput

cpc3-seve3-0-0-cust864:~# ifconfig -a
eth0 Link encap:UNSPEC HWaddr 08-00-46-03-02-13-12-C5-00-00-00-00-00-00-00-00
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2812 (2.7 KiB)

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:390 errors:0 dropped:0 overruns:0 frame:0
TX packets:390 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:29364 (28.6 KiB) TX bytes:29364 (28.6 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)



I start checking my network prefrences and I suspect have wrongly selected a proxy so I deselect that and select for a direct connection.
I try for a connection and still nothing to the internet. so we continue to probe:

the ls /etc/init.d output

cpc3-seve3-0-0-cust864:~# ls /etc/init.d
acpid gdm pcmcia
acpi-support glibc.sh pcmciautils
alsa halt portmap
alsa-utils hdparm powersaved
anacron hibernate pppd-dns
apache hostname.sh procps.sh
apache2 hotkey-setup psad
apmd hplip rc
asterisk hwclock.sh rc.local
atd ifupdown rcS
avahi-daemon ifupdown-clean README
bastille-firewall keymap.sh reboot
battery-stats killprocs rmnologin
bittorrent klogd rsync
bluetooth laptop-mode scandetd
bootclean libdevmapper1.02 scanlogd
bootlogd lokkit sendsigs
bootmisc.sh makedev single
bootsplash mldonkey-server skeleton
checkfs.sh module-init-tools stop-bootlogd
checkroot.sh mountall-bootclean.sh stop-bootlogd-single
clamav-daemon mountall.sh sudo
clamav-freshclam mountdevsubfs.sh sysklogd
console-screen.sh mountkernfs.sh udev
cpufrequtils mountnfs-bootclean.sh udev-mtab
cron mountnfs.sh umountfs
cupsys mplayer umountnfs.sh
dbus mtab.sh umountroot
dirmngr nessusd urandom
discover networking vbesave
exim4 nfs-common wpa-ifupdown
festival openbsd-inetd x11-common
flow-capture pads

network interfaces


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth1 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0



Persistant rules

# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# Firewire device 08004603021312c5 (ohci1394)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="08:00:46:03:02:13:12:c5", NAME="eth0"

# PCI device 0x8086:0x1092 (e100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:13:a9:08:5f:c3", NAME="eth1"


When Im able to get on the internet cafes network I check my active connection information and it says :

Interface Wired Ethernet (eth1)
Speed 100mbs
Driver e100

Ipaddress 169.254.167.25
Bradcast Adress 169.254.255.255
Subnet Mask 255.255.0.0
Default route 0.0.0.0
Primary DNS 0.0.0.0
Secondary DNS 0.0.0.0
Hardware add 00.13A9:08:5F:C3

I am able to dual boot into xp and type in the numbers/ addresses the cafe manager gave me and get online within minutes. But ill continue trying with linux for a couple more days.
 
Old 09-01-2007, 07:36 PM   #4
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
trying to get my wireless card to work Snippets from #debian

I am marcelo

<Wyzard> marcelo_: /lib/modules/2.6.18-4-686/kernel/net/ieee80211/ieee80211.ko should exist... if it doesn't, it may have gotten removed accidentally during one of your earlier attempts at compiling drivers
* Retrieving #debian modes...
<Wyzard> marcelo_: hark is right, you should reinstall your kernel package
* montoya has quit IRC (Remote closed the connection)
<benny99> sorry for being such a noob -- used gentoo before and I all I was telling emerge what to install.. but had to wait hours then...
<blubberdiblub> benny99: if you get stuck some times more, you might be able to talk me into making up a one-liner for that task
<Wyzard> marcelo_: and there's been a security update to the kernel anyway -- 2.6.18-5-686 is the current one, so just do an apt upgrade and that'll get installed



<Wyzard> which should make modprobe "notice" that ieee80211 is now available
<Wyzard> and print some informative warnings if there's still anything missing
<marcelo_> wyzard nothing returns
<Wyzard> ok, good
<Wyzard> try loading iee80211 again
<marcelo_> mod?
<Wyzard> modprobe ieee80211
* xenonex has quit IRC (Read error: 110 (Connection timed out))
* limetang has joined #debian
<marcelo_> Wyzard same error as above
<Wyzard> hmm
* Xuff has quit IRC (Read error: 104 (Connection reset by peer))
* elalterno has joined #debian
<Wyzard> and /lib/modules/2.6.18-4-686/kernel/net/ieee80211/ieee80211.ko does exist, and "uname -r" says 2.6.18-4-686?
<marcelo_> yeah
* benny99 has joined #debian
<benny99> works
<Wyzard> What does "modinfo ieee80211" say?
<blubberdiblub> benny99: great
<benny99> blubberdiblub, now there's just the "I'm unable to blacklist modules"-problem left
<hark> module not found?
<marcelo_> wyzard could not find module



* fl4mi has joined #debian
<marcelo_> -4-686_2.6.18.dfsg.1-12etch1_i386.deb
<Wyzard> h3sp4wn: with the exception that whichever drive the BIOS is configured to boot from gets bumped up to the head of the list, so it's always (hda)
* celvin has quit IRC ("Saliendo")
<edju> yigal, yep, 2.6.18-4-686, not -5-686
<marcelo_> Wyzard -4-686_2.6.18.dfsg.1-12etch2_i386.deb
<edju> cd /usr/src
<yigal> edju: have you tried #depmod -a ?
<edju> oops - wrong keyboard
* nik11 has quit IRC ("leaving")
<dvs> marcelo_: So, install that image
<marcelo_> Wyzard -4-686_2.6.18.dfsg.1-12_i386.deb
* zir0faive has quit IRC ("woof")
<marcelo_> Wyzard so what do I do next. im not gonna loose a load of data when i do this ?






<marcelo_> Wyzard ok
<DustyBin> gonzaloaf: check in /tmp
<Wyzard> marcelo_: Make sure the version shown ends with "12etch2"
<yigal> edju: sounds like you were building the module for the 5 not the 4 so it should exist for both 4 & 5.
<Wyzard> marcelo_: sorry, meant to say "that's what you're *probably* running", hence the double-check :-)
<gonzaloaf> DustyBin, nothing
<yigal> edju: gl, I have to enjoy the beach while its light outside, have a good one
* yigal has quit IRC ("leaving")
<marcelo_> Wyzard yeah version 2.6.18.dfsg.1-12etch2
<Wyzard> marcelo_: OK, good
* schmidtsmikey has quit IRC ("Download Gaim: http://gaim.sourceforge.net/")




<Wyzard> marcelo_: You currently have linux-image-2.6.18-4-686 and ipw3945-modules-2.6.18-4-686 installed, which is fine
<chrisjw> if a process is in the bg and you know it's pid (the process uses stdout), can i view stdout by loading the terminal and typing some command?
<Wyzard> marcelo_: but later, when you upgrade to linux-image-2.6.18-5-686 (which contains some security fixes), you'll need to install ipw3945-modules-2.6.18-5-686 too

<Wyzard> marcelo_: At the moment, the next step is checking whether ipw3945d is working
<marcelo_> ok im trying log this conmversation so ill make sure i do whats needed
<Wyzard> marcelo_: I think you mentioned you have the ipw3945d package installed, so see if "/etc/init.d/ipw3945d start" works
* muh2000 has quit IRC (Read error: 104 (Connection reset by peer))
* bluesceada_ has joined #debian
<marcelo_> hg
* tipote has quit IRC (Read error: 110 (Connection timed out))
<marcelo_> hang on that gives an error . No such file or dirctory
* nse has quit IRC ("Leaving.")
<Wyzard> Maybe you don't have ipw3945d installed, then... dpkg -s ipw3945d
* nse has joined #debian
* unix__ has quit IRC (Remote closed the connection)
<marcelo_> wyzard not installed
* flokuehn has joined #debian
* flokuehn has quit IRC (Client Quit)

<Wyzard> marcelo_: That's the source code... you don't want that, you want the Debian package
<sayers> cafecubita, Sometimes it loads KDM and sometimes it just says it did not start up right
* venomgfx has joined #debian
<Wyzard> marcelo_: btw, rather than trying to transfer files via memory stick, didn't you say you have a wired connection available?
* mrcheeks is now known as mrcheeks2
<cafuego> sayers: That'sd not an error message I've ever seen. What does it say specifically?
* bluesceada has quit IRC (Connection timed out)
<venomgfx> would someone give me a hand on this? - "Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy."
<marcelo_> Wyzard no just an ethernet cable


<Wyzard> marcelo_: If you run "ifconfig -a", you should see a new network interface corresponding to your wireless card
<marcelo_> i cant beleive you know all these codes off by heart
* Aliosa27 has quit IRC (Read error: 113 (No route to host))
<cafuego> sayers: it's a boot menu option, provided you add it to lilo or grub.
<geo-rge> did you do a surface scan of the new drive?
<psyche_> geo-rge yep
<Wyzard> marcelo_: Well, things like dpkg and ps are fairly common commands
<geo-rge> how large is the drive?
<psyche_> 160
* opopanax has joined #debian
<geo-rge> that must have taken a LONG time...
<marcelo_> wyzard i see eth0 eth1 lo
<psyche_> but i think that i just lay down and look some anime
<Wyzard> marcelo_: "rmmod ipw3945", then run "ifconfig -a" again and see if one of them disappears
<psyche_> geo-rge i have tried to install that system like 6 hours now
* ketrox has left #debian ("Leaving")
<geo-rge> psyche_: ok... but...
<psyche_> but ill check that later, im just too tired now
<geo-rge> I'll be curious to know what the problem is when you do find it
<opopanax> bonez39, you on?
<marcelo_> wyzard no nothing went
<infinity0> y'know what i just realised?


Wyzard> marcelo_: sure, if you don't mind typing them
<Wyzard> marcelo_: I don't know whether they'll be any help though
<marcelo_> hang on w fucked about with the interface file
<gonzaloaf> Wyzard, I'm going to set a svn server on that P1 with 32M of RAM, how much RAM will it need?
* tsocks_ has joined #debian
<Wyzard> gonzaloaf: no idea... I don't run any SVN servers
<reiser2> i am funning lx-viewer, but after some seconds making zoom in/out, pan, etc, it close
<geo-rge> Wyzard: there any way to make the driver messages more verbose?
<Wyzard> marcelo_: The interfaces file has nothing to do with the stuff we're doing at this point
<reiser2> i get this "*** glibc detected *** double free or corruption (!prev): 0x08777de8 ***Abortado"
<Wyzard> geo-rge: not unless the module itself provides a verbosity option (check with modinfo)
<Wyzard> reiser2: bug in the program
<marcelo_> enabling device 0000:06:00.0 (0000 ->0002)
<reiser2> hummm
<reiser2> ok
<Wyzard> marcelo_: OK, that's just a PCI bus ID
<marcelo_> PCI enabling device 0000:06:00.0 (0000 ->0002)
<Wyzard> marcelo_: If you run lspci, you'll see that 06:00.0 is your ipw3945 device
<marcelo_> ok
* sam1337 has quit IRC ("Leaving.")


<Wyzard> marcelo_: If you just type "/var/log/syslog" the shell thinks you want to run it as a script, and it doesn't have execute permission (since it isn't a script and shouldn't be run)
<marcelo_> what am i looking foir
* wthww has joined #debian
<Wyzard> marcelo_: Anything mentioning the 3945
<thingfish> I've been trying to do an etch netinstall, and the install goes well, however it fails to find the swap partition even after it's been manually set up during the partitioning portion of install. What should I do?
* faw has quit IRC ("Leaving")
* d34dh4ck has joined #debian
<Wyzard> marcelo_: At least, anything mentioning the 3945 that isn't just the same stuff you've already seen in dmesg
* wthww has quit IRC (Client Quit)
* epiclulz has quit IRC (No route to host)
<marcelo_> ipw3945.ucode load failed: reon 2
* Octopssy has joined #debian
<Octopssy> Anyone might be willing to help me for a sec?
<Octopssy> "Verifying DMI Pool data" "Disk BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER"
<Octopssy> Get those messages at boot, although BIOS is saying disks are up&running
* Ryushin has joined #debian
<Octopssy> This I had on my debian system after installing Oracle 10g server
<marcelo_> Wyzard yeah dont we need to load the ucode
<Wyzard> marcelo_: aha... I don't know what "reon 2" is, but

<Wyzard> marcelo_: OK, good, just checking -- http://ipw3945.sourceforge.net/ says you need 1.1.11 or newer, so you're OK on that front
<thingfish> petemc: no
<Wyzard> marcelo_: (Only if that number was older than 1.1.11 would you need to do the ieee80211-source stuff you were trying to do earlier)
* Smooph has left #debian ("Kopete 0.11.1 : http://kopete.kde.org")
<marcelo_> ok


* seria-mau has joined #debian
<marcelo_> ipw3945.ucode load failed: reason -2 ipw3945 could not read microcode: -2 ACPI : PCI interrupt for device 0000:06:00.0 disabled ipw3945: probe of 0000:06:00.0 failed with error 2
<petemc> balsagoth: /msg dpkg why is foo not in testing
<marcelo_> Wyzard thats the error it gives
* Saxe has joined #debian
<Wyzard> marcelo_: yeah... and the -2 means that the reason is because it couldn't find the firmware file
* rockets has quit IRC ("Quit")
<Wyzard> marcelo_: according to http://lkml.org/lkml/2007/3/4/267
* eisen has quit IRC (Read error: 145 (Connection timed out))

* flokuehn has joined #debian
<marcelo_> Wyzard yeah they are
* nicoAMG has quit IRC ("Saliendo")
* zigong has quit IRC (Remote closed the connection)
<marcelo_> let me see if it in the hotplug
<balsagoth> petemc: i don't get any answer
* zigong has joined #debian
<petemc> balsagoth: http://bjorn.haxx.se/debian/testing.pl?package=foo
<petemc> balsagoth: adjust foo to suit
* r4mche has quit IRC (Remote closed the connection)
<marcelo_> Wyzard udev has a hotplug.functions file
* heB_z0rL has quit IRC ("Verlassend")
* r4mche has joined #debian
<Wyzard> marcelo_: yeah, and if you run "head /lib/udev/hotplug.functions", you'll see that one of the first few lines is FIRMWARE_DIRS='/lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware'
<Wyzard> marcelo_: Those are the directories where the system looks for firmware files, in that order
* Chascon has quit IRC (Remote closed the connection)
<balsagoth> petemc: thanks a lot
* edju has quit IRC (Read error: 110 (Connection timed out))
<marcelo_> ok dpkg -s firmware-ipw3945 version 0.4
* olri has quit IRC ("Leaving")
* flokuehn has quit IRC (Client Quit)
* olri has joined #debian
* duckx has quit IRC (Remote closed the connection)
<marcelo_> the head code returns what you said


<Wyzard> *current time
<marcelo_> at th bottom
<rahul> stoned: yes
<Wyzard> OK, so it's still failing to load the firmware
<stoned> how was your vacation
<rahul> going to arlene's grocery in a bit
<rahul> awesome
<stoned> hell yeah
* petemc installs itunes on rahuls machine
<stoned> its my niece's birthday tomorrow, wanna come?
<rahul> eew
* en1gma has joined #debian
<rahul> !penixstrike petemc
<dpkg> A towering Penix descends from the heavens, knocking petemc to the ground and leaving a large wet spot.
<Wyzard> marcelo_: That's probably the whole reason why it isn't working now, but I can't think of why it's failing to load the firmware
* Tidus has quit IRC ("leaving")
<rahul> stoned: gonna be at a bbq in astoria
<pipeline_> rahul: you know there actually was a penix, right?
* zigong has quit IRC (Remote closed the connection)
<stoned> word
* zumbi_ has joined #debian
<rahul> pipeline_: well, duh
<stoned> !seen penix
<dpkg> penix is currently on #debian, last said: '!spank deb-ice'.


<Wyzard> marcelo_: You're at the point now where the modules, ipw3945d daemon, and firmware are all correctly installed (as far as we know), and just trying to figure out why the daemon isn't finding the firmware file

Last edited by Daniel Baker; 09-01-2007 at 07:37 PM.
 
Old 09-04-2007, 11:28 AM   #5
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
wireless card is on eth2

Finally some progress. I was trying differnet configuaration settings in kwifimanager and selected eth2 as the wireless card.

I am able to detect wifi zones but not join them.

Here is the files and output from various commands that may shed some more light on the matter.

Ifup output:

daniel@cpc3-seve3-0-0-cust864:~$ ifup eth2
bash: ifup: command not found
daniel@cpc3-seve3-0-0-cust864:~$ su
Password:
cpc3-seve3-0-0-cust864:/home/daniel# ifup eth2
Ignoring unknown interface eth2=eth2.
cpc3-seve3-0-0-cust864:/home/daniel#




Wireless card now shows as eth2 interface





daniel@cpc3-seve3-0-0-cust864:~$ su
Password:
cpc3-seve3-0-0-cust864:/home/daniel# ifup eth2
Ignoring unknown interface eth2=eth2.
cpc3-seve3-0-0-cust864:/home/daniel# ifconfig
eth1 Link encap:Ethernet HWaddr 00:13:A9:08:5F:C3
UP 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)

eth2 Link encap:Ethernet HWaddr 00:13:02:60:93:16
inet6 addr: fe80::213:2ff:fe60:9316/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:721 errors:0 dropped:72 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55628 (54.3 KiB) TX bytes:486 (486.0 b)
Interrupt:185 Base address:0x4000 Memory:cc000000-cc000fff

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:1480 errors:0 dropped:0 overruns:0 frame:0
TX packets:1480 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:115616 (112.9 KiB) TX bytes:115616 (112.9 KiB)

cpc3-seve3-0-0-cust864:/home/daniel#







Sees the network but I cant join:









cpc3-seve3-0-0-cust864:/home/daniel# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 no wireless extensions.

eth2 IEEE 802.11b ESSID:"Alexander"
Mode:Managed Frequency:2.462 GHz Access Point: 00:09:5B:AA:AE:0C
Bit Rate:11 Mb/s Tx-Power:15 dBm
Retry limit:15 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=84/100 Signal level=-48 dBm Noise level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:56 Missed beacon:0

sit0 no wireless extensions.

I able to confirm that the network is joinable as other users can join.


Kwifimanager shows when I am connected to the netwrok but not joined

Signal strength: 84

Access Point: 00:99:5B:AA:AE:OC

Local IP: unaivailable

Frequency Channel 2.462 [11]


This is my interface file:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback





# The primary network interface
iface eth1 inet static
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0



Output for dhclient eth2



pc3-seve3-0-0-cust864:/home/daniel# dhclient eth2
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth2/00:13:02:60:93:16
Sending on LPF/eth2/00:13:02:60:93:16
Sending on Socket/fallback
DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth2 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.6 -- renewal in 124569 seconds.
cpc3-seve3-0-0-cust864:/home/daniel#



Shouldnt there be a section on hotplugging ?. Is this why I cant join the wirless netwrok?

Thanks for checking this out and offering your suggestions!

Last edited by Daniel Baker; 09-04-2007 at 12:14 PM.
 
Old 09-05-2007, 03:41 PM   #6
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
# debian irc freenode told me to do this :
1.
I went into kwifimanager and used eth2 then switched to Alexander netwrok.
2.

3.
I then went through the following commands.
4.

5.

6.

7.
bash: ifconfig: command not found
8.
daniel@cpc3-seve3-0-0-cust864:~$ su
9.
Password:
10.
cpc3-seve3-0-0-cust864:/home/daniel# ifconfig eth2 up
11.
cpc3-seve3-0-0-cust864:/home/daniel# iwconfig eth2 essid Alexander
12.
cpc3-seve3-0-0-cust864:/home/daniel# dhclient eth2
13.
Internet Systems Consortium DHCP Client V3.0.4
14.
Copyright 2004-2006 Internet Systems Consortium.
15.
All rights reserved.
16.
For info, please visit http://www.isc.org/sw/dhcp/
17.

18.
Listening on LPF/eth2/00:13:02:60:93:16
19.
Sending on LPF/eth2/00:13:02:60:93:16
20.
Sending on Socket/fallback
21.
DHCPREQUEST on eth2 to 255.255.255.255 port 67
22.
DHCPNAK from 192.168.0.1
23.
DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 6
24.
DHCPOFFER from 192.168.0.1
25.
DHCPREQUEST on eth2 to 255.255.255.255 port 67
26.
DHCPACK from 192.168.0.1
27.
bound to 192.168.0.4 -- renewal in 125116 seconds.
28.
cpc3-seve3-0-0-cust864:/home/daniel# ping 192.168.0.1
29.
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
30.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=7.74 ms
31.
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=2.43 ms
32.
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=2.41 ms
33.

149.
64 bytes from 192.168.0.1: icmp_seq=115 ttl=64 time=2.50 ms
150.

151.
--- 192.168.0.1 ping statistics ---
152.
115 packets transmitted, 114 received, 0% packet loss, time 114304ms
153.
rtt min/avg/max/mdev = 2.411/2.855/8.864/1.092 ms
154.
cpc3-seve3-0-0-cust864:/home/daniel#
155.

156.
ifconfig -a
157.

158.
--- 192.168.0.1 ping statistics ---
159.
115 packets transmitted, 114 received, 0% packet loss, time 114304ms
160.
rtt min/avg/max/mdev = 2.411/2.855/8.864/1.092 ms
161.
cpc3-seve3-0-0-cust864:/home/daniel# ifconfig -a
162.
eth0 Link encap:UNSPEC HWaddr 08-00-46-03-02-13-12-C5-00-00-00-00-00-00-00-00
163.
BROADCAST MULTICAST MTU:1500 Metric:1
164.
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
165.
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
166.
collisions:0 txqueuelen:1000
167.
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
168.

169.
eth1 Link encap:Ethernet HWaddr 00:13:A9:08:5F:C3
170.
UP BROADCAST MULTICAST MTU:1500 Metric:1
171.
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
172.
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
173.
collisions:0 txqueuelen:1000
174.
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
175.

176.
eth2 Link encap:Ethernet HWaddr 00:13:02:60:93:16
177.
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
178.
inet6 addr: fe80::213:2ff:fe60:9316/64 Scope:Link
179.
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
180.
RX packets:1104 errors:0 dropped:20 overruns:0 frame:0
181.
TX packets:966 errors:0 dropped:0 overruns:0 carrier:0
182.
collisions:0 txqueuelen:1000
183.
RX bytes:1119857 (1.0 MiB) TX bytes:102875 (100.4 KiB)
184.
Interrupt:185 Base address:0x6000 Memory:cc000000-cc000fff
185.

186.
lo Link encap:Local Loopback
187.
inet addr:127.0.0.1 Mask:255.0.0.0
188.
inet6 addr: ::1/128 Scope:Host
189.
UP LOOPBACK RUNNING MTU:16436 Metric:1
190.
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
191.
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
192.
collisions:0 txqueuelen:0
193.
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)
194.

195.
sit0 Link encap:IPv6-in-IPv4
196.
NOARP MTU:1480 Metric:1
197.
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
198.
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
199.
collisions:0 txqueuelen:0
200.
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
201.

202.

203.

204.

205.

206.

207.

208.
# This file describes the network interfaces available on your system
209.
# and how to activate them. For more information, see interfaces(5).
210.

211.
# The loopback network interface
212.
auto lo
213.
iface lo inet loopback
214.

215.
# The primary network interface
216.
iface eth1 inet static
217.
address 192.168.1.3
218.
netmask 255.255.255.0
219.
gateway 192.168.1.1
220.

221.
auto eth0
222.

223.

224.
Now I can connect to webpages. With a few days of effort and the guys from #debian I was able to solve this. fantastic!!








So I can get online I have updated my system and will be ready to make sure I can always get online which might mean some tweaking of interfaces etc.
 
Old 09-06-2007, 10:52 AM   #7
Daniel Baker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
online with some tweaking still todo

Ok I updated my system and Im now running.2.6.18-5-686 which for some reason does not load the ipw3945 module on start up. Nor can I invoke it with modprobe. I tried reinstalling the module but this does not solve the problem.

I can use the lilo boot menu to boot the "old linux" 2.6.18-4-686 and use the method outline in the above post to get online. After the marthon long effort to get online im happy with this for the time being. I need a rest and I reckon so do those around me who have put in a tremendous effort in getting me online.

Thanks for the help. See you soon
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pipe search and copy? ZAMO Linux - Software 2 06-20-2007 02:10 AM
Using the find command with a pipe to copy dbrmik Linux - Newbie 3 06-18-2007 05:08 AM
Can kbuild execute non-kbuild makefiles? xuanadoo Linux - Newbie 0 10-15-2006 02:41 AM
dpkg wont install gmail-notify b/c depends on obselete python package baldy1324 Debian 3 08-11-2006 04:56 PM
how to manually install a package when dpkg, apt-get are broken and system wont boot. hisnumber666 Linux - Software 17 05-02-2006 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration