View previous topic :: View next topic |
Author |
Message |
ade05fr Apprentice
Joined: 18 Sep 2006 Posts: 281
|
Posted: Thu Jan 15, 2009 8:52 pm Post subject: [SOLVED]Unable to launche net.wlan0 durint initscripts |
|
|
hello everyone,
since i have upgraded to baselayout-2 and openrc my wireless connexion is not working anymore during init scripts.
here is the error message :
hallap conf.d # /etc/init.d/net.wlan0 restart
* Caching service dependencies...
Service `crypto-loop' needs non existant service `checkroot' [ ok ]
* Bringing up interface wlan0
* Loaded modules: adsl apipa arping bonding tuntap bridge ccwgroup clip macchanger macnet ifplugd wpa_supplicant ssidnet iproute2 pppd system dhcpcd ip6to4
* Configuring wlan0 for MAC address 00:18:DE:D7:D4:4A... [ ok ]
* ifplugd does not work with wireless
* Starting wpa_supplicant on wlan0...
* Detaching to start `/usr/sbin/wpa_supplicant'...
Line 14: Too long WEP key 0 '"8F812C16D0450F9508ED4980C9'.
Line 14: failed to parse wep_key0 '"8F812C16D0450F9508ED4980C9'.
Line 17: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
* start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant' [ !! ]
* ERROR: net.wlan0 failed to start
more /etc/wpa_supplicant/wpa_supplicant.conf
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant
# Ensure that only root can read the WPA configuration
ctrl_interface_group=0
# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1
# Shared WEP key connection (no WPA, no IEEE 802.1X)
network={
ssid="wolf"
key_mgmt=NONE
wep_key0="8F812C16D0450F9508ED4980C9"
wep_tx_keyidx=0
priority=5
}
more net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
modules="wpa_supplicant"
mwpa_supplican_eth1="-Dwext"
mode_eth1="Managed"
preferred_aps="wolf"
key_wlan0="8F812C16D0450F9508ED4980C9"
key_wolf="8F812C16D0450F9508ED4980C9"
config_eth1="dhcp"
dhcp_eth1="nodns nontp nonis"
emerge --info
Portage 2.1.6.6 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-gentoo x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Wed, 14 Jan 2009 19:35:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.4.7-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.1-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
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.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="${NXDIR}/etc ${NXDIR}/home /etc /home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/ftp/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="en ar en_GB fr ja "
MAKEOPTS="-s -j3"
PKGDIR="/var/ftp/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl acpi ada aiglx alsa amd64 apache2 arts artswrappersuid asterisk audiofile avahi berkdb bluetooth browserplugin bzip2 cairo canvas cdda cdr cjk cli commercial cracklib crypt css cups dbus dga divx4linux djvu dlloader dri dts dvb dvd dvdr dvdread dvi evo exif exscalibar fat ffmpeg firefox flac foomatic-db fortran freetype fuse gcj gdbm gimpprint glitz glut gnokii gnome gnutls gphoto2 gpm gtk2 hal hfs iconv ieee1394 ipod ipv6 irda isdnlog jack java jfs joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdgraphics kerberos kig-scripting kipi ladspa lcd ldap libcaca lirc live livecd lm_sensors logitech-mouse mad mbrola midi mikmod mmx mono mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mpeg mudflap multilib musepack musicbrainz nautilus ncurses nls nntp nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis ole on-the-fly-crypt openexr openmp pam pam_chroot pam_timestamp pcmcia pcre pda pdf perforce perl php portaudio postgres povray ppds pppd pwdb python qt rdesktop readline reflection reiser4 reiserfs remote rtsp ruby samba scanner session shout skins sms sndfile soundtouch speedo speex spl sql sqlite sse sse2 ssl stats stream subversion svg symlink sysfs tcpd theora tiff timidity truetype udev unichrome unicode usb v4l v4l2 vcd visualization vlm vorbis wifi wxwindows xfs xine xinerama xml xml2 xorg xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ar en_GB fr ja " USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
please help me
thank you
ade05fr _________________ [LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30
Last edited by ade05fr on Fri Jan 16, 2009 11:08 pm; edited 1 time in total |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6656 Location: The soundosphere
|
|
Back to top |
|
|
ade05fr Apprentice
Joined: 18 Sep 2006 Posts: 281
|
Posted: Fri Jan 16, 2009 11:07 pm Post subject: |
|
|
Finally i find the solution
it was on my wpa_supplicant.conf file i have retrieve the quotes to indicate my wep key and everything works now.
hope it will help someone.
Bye
Ade05fr _________________ [LAPTOP]
DELL Inspiron 5110
i5-2450M CPU @ 2.50GHz
[LINUX-GENTOO]
Gentoo 2018-0
kernel 5.0.6
gnome 3.30 |
|
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
|
|