View previous topic :: View next topic |
Author |
Message |
coogy n00b
Joined: 04 Aug 2005 Posts: 43
|
Posted: Fri Jul 20, 2007 7:44 pm Post subject: Trouble detting up wireless network |
|
|
hi
i'm trying to get a belkin card and belkin wireless router to talk to each other. I'm using the rtl8180 ebuild which should work with this card (rtl8185 chipset). To use the ebuild you need to use an external ieee80211 stack. However my attemps to build this are hitting problems.
Code: |
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.c: In function ieee80211_ccmp_aes_encrypt:
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.c:66: error: invalid use of undefined type struct page
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.c:67: warning: implicit declaration of function offset_in_page
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.c:70: error: invalid use of undefined type struct page
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.c:74: warning: crypto_cipher_encrypt is deprecated (declared at include/linux/crypto.h:820)
make[2]: *** [/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c: In function prism2_wep_encrypt:
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c:158: error: invalid use of undefined type struct page
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c:159: warning: implicit declaration of function offset_in_page
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c:161: warning: crypto_cipher_encrypt is deprecated (declared at include/linux/crypto.h:820)
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c: In function prism2_wep_decrypt:
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c:201: error: invalid use of undefined type struct page
/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.c:204: warning: crypto_cipher_decrypt is deprecated (declared at include/linux/crypto.h:846)
make[2]: *** [/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_crypt_wep.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/ieee80211-1.1.13-r1/work/ieee80211-1.1.13] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo-r7'
make: *** [modules] Error 2
!!! ERROR: net-wireless/ieee80211-1.1.13-r1 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
|
I think that it may be some problem with the other crypto stuff that is in the kernel (CONFIG_CRYPTO_MICHAEL_MIC=y required by ieee80211 built into kernel)
any help or pointers would be great. |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sat Jul 21, 2007 1:28 am Post subject: |
|
|
What's the kernel config? _________________ Thomas S. Howard |
|
Back to top |
|
|
coogy n00b
Joined: 04 Aug 2005 Posts: 43
|
Posted: Sun Jul 22, 2007 10:19 am Post subject: |
|
|
Hello didymos
thanks for the reply. the relevant parts of config posted below (well i hope their the relevant parts). In the config i've got CONFIG_WIRELESS_EXT set. Could this be the problem?
Code: |
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
CONFIG_NET_WIRELESS_RTNETLINK=y
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_IEEE80211 is not set
CONFIG_WIRELESS_EXT=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_MANAGER=y
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CBC=m
# CONFIG_CRYPTO_LRW is not set
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
CONFIG_CRYPTO_AES_586=m
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_DEFLATE is not set
CONFIG_CRYPTO_MICHAEL_MIC=y
|
|
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sun Jul 22, 2007 12:05 pm Post subject: |
|
|
Well, I've tried to reproduce this using 2.6.20 sources and I can't. It compiles no matter what I fiddle with in crypto and wireless, except for stuff the ebuild requires, obviously. But those checks are done before compilation anyway, so who cares. Post your emerge --info. Also, did you update bintuils, gcc, or glibc recently? _________________ Thomas S. Howard |
|
Back to top |
|
|
coogy n00b
Joined: 04 Aug 2005 Posts: 43
|
Posted: Mon Jul 23, 2007 5:07 pm Post subject: |
|
|
Hello Didymos
the computers been off the network for a couple of weeks so i recently did an emerge -uDav world which produced a package list of over a hundred items. I haven't had time to upgrade pam but apart from that the systems up to date.
Code: |
seanx # emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r7 i686)
=================================================================
System uname: 2.6.20-gentoo-r7 i686 Intel(R) XEON(TM) CPU 2.20GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 18 Jul 2007 18:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r7
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa arts artworkextra asf async berkdb bigpatch bitmap-fonts browserplugin cairo ccache cdb cdparanoia cdr cdrom clamd cli cpudetection cracklib crypt css cups custom-cflags dbus dlloader dri dvd dvdr dvdread editor eds emboss encode epiphany escreen esd evo fam firefox fortran freetype2 gb gdbm gif glitz glut gnome gnomecanvas gnomedb gpm gsm gstreamer gtk hal iconv ipv6 isdnlog java javascript jpeg kde kerberos ldap libg++ lzo lzw mad midi mikmod mjpeg mmx mmx2 mp3 mp4live mpeg mpeg2 mplayer msn mudflap nautilus ncurses net network nls nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rar readline real reflection rogue sdl sdl-sound sendfile server session sndfile spell spl sse sse2 ssl suid svg tcpd text theora threads tiff transcode truetype truetype-fonts type1-fonts unicode userlocales vidix vorbis win32codecs wma x86 xine xml xorg xscreensaver xv zlib" ALSA_CARDS="intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev vga vesa nv nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
any ideas? |
|
Back to top |
|
|
coogy n00b
Joined: 04 Aug 2005 Posts: 43
|
Posted: Fri Jul 27, 2007 10:07 am Post subject: |
|
|
Fiddled with my kernel config, recompiled, specified lower version in the emerge and it compiles. (Don't ask me how !). Thanks to didymos for helpprovided. |
|
Back to top |
|
|
|
|
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
|
|