View previous topic :: View next topic |
Author |
Message |
ConiKost Developer

Joined: 11 Jan 2005 Posts: 1371
|
Posted: Thu Jul 03, 2008 10:48 pm Post subject: [SOLVED] madiwif modul automatisch im ap modus starten |
|
|
Hallo!
Langsam verzweifel ich hier.
Ich möchte mein ath0 interface automatisch beim booten im master Modus starten.
Dazu gibt es laut docs die option autocreate=ap.
Ich habe nun verschiedenes probiert und es geht nicht. Es wird beim booten immer im Clientmodus gestartet.
1) Eintragen in /etc/modprobe.d/ath_pci:
Quote: | /etc/modprobe.d/ath_pci |
Dannach ein update-modules -f
Fazit: Hilft nicht
2) Eintragen in /etc/conf.d/modules
Fazit: Geht immer noch nicht
3) Eintragen in /etc/modprobe.d/blacklist
Dannach ein update-modules -f
Fazit: Geht auch nicht
4) In /etc/rc.conf einstellen:
Fazit: Geht ebenfalls nicht.
5) in /boot/grub/grub.conf:
als zusätzlicher bootparameter:
Quote: | ath_pci.autocreate=ap |
Fazit: Geht auch nicht
Langsam hab ich keine Idee mehr wie ich das hinkriegen soll. Gentoo weigert sich partou das Modul automatisch in den Mastermodus zubringen. Es wird immer im Clientmodus geladen, was somit meine bridge auf eth0 und ath0 durcheinander bringt ...
Vielleicht habt ihr eine Idee?
emerge --sync
Quote: | Portage 2.1.5.6 (default/linux/x86/2008.0/server, gcc-4.3.1, glibc-2.7-r2, 2.6.25-gentoo-r6 i586)
=================================================================
System uname: 2.6.25-gentoo-r6 i586 Geode(TM) Integrated Processor by AMD PCS
Timestamp of tree: Thu, 03 Jul 2008 18:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.5.2-r5
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.62-r1
sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -mfpmath=387"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -mfpmath=387 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-s -Wl,-z,now"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="-f9"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow alsa apache2 berkdb bzip2 cgi crypt ftp gd iconv imap javascript jpeg mmx mysql mysqli ncurses nls nptl offensive pam pcre png samba sasl session sharedmem simplexml slang snmp ssl symlink tcpd threads tokenizer truetype unicode urandom vhosts x86 xml zlib" ALSA_CARDS="cs5535audio" 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" APACHE2_MODULES="alias auth_basic authn_file authz_host authz_user autoindex cache cgi deflate dir disk_cache filter log_config logio mime mime_magic mem_cache rewrite unique_id vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="cfontz hd44780" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="amd"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
|
Last edited by ConiKost on Fri Jul 04, 2008 7:02 pm; edited 1 time in total |
|
Back to top |
|
 |
AmonAmarth l33t

Joined: 03 Mar 2005 Posts: 727
|
Posted: Fri Jul 04, 2008 1:49 am Post subject: |
|
|
ich versteh jetzt noch nicht ganz den sinn hinter deinem master mode beim booten. warum trägst du nicht einfach
in deine net datei ein?
dann ist deine wlan karte zwar anfangs kurzzeitig auf client modus, wechselt dann aber wenn net.ath0 gestartet wird sofort auf den master mode |
|
Back to top |
|
 |
trikolon Apprentice

Joined: 04 Dec 2004 Posts: 297 Location: Erlangen
|
Posted: Fri Jul 04, 2008 7:30 am Post subject: |
|
|
weils so seit der letzten madwifi version nicht mehr geht, zumindest bei mir. hab mir mit einem initscript geholfen
Code: | #!/sbin/runscript
depend() {
use net
before net.wlan0
}
start() {
ebegin "Creating ath0 in station mode"
ifconfig wlan0 down
/sbin/wlanconfig wlan0 destroy
/sbin/wlanconfig wlan create wlandev wifi0 wlanmode master
ifconfig wlan0 up
eend $?
}
|
nicht schön, funktioniert aber |
|
Back to top |
|
 |
ConiKost Developer

Joined: 11 Jan 2005 Posts: 1371
|
Posted: Fri Jul 04, 2008 7:02 pm Post subject: |
|
|
trikolon wrote: | weils so seit der letzten madwifi version nicht mehr geht, zumindest bei mir. hab mir mit einem initscript geholfen
Code: | #!/sbin/runscript
depend() {
use net
before net.wlan0
}
start() {
ebegin "Creating ath0 in station mode"
ifconfig wlan0 down
/sbin/wlanconfig wlan0 destroy
/sbin/wlanconfig wlan create wlandev wifi0 wlanmode master
ifconfig wlan0 up
eend $?
}
|
nicht schön, funktioniert aber |
Danke Geht! |
|
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
|
|