
Code: Select all
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
<*> Ralink driver support --->
<*> Ralink rt27xx/rt28xx/rt30xx (USB) support
[*] rt2800usb - Include support for unknown (USB) devicesCode: Select all
# emerge sys-kernel/linux-firmware

Code: Select all
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf"
wpa_timeout_wlan0=60
config_wlan0="192.168.1.103/24 brd 192.168.1.255"
routes_wlan0="default via 192.168.1.1"
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
network={
ssid="wireless"
psk="itsasecret"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
auth_alg=OPEN
priority=5
id_str="gentoo"
}
Code: Select all
wpa_supplicant -dd -iwlan0 -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf

If you used '*' that's fine, but it won't show with lsmodwhen i built the kernel i had put a * sign in it to make it build directly into the kernel
Code: Select all
gentoo ~ # lsusb
Bus 001 Device 003: ID 0b05:1784 ASUSTek Computer, Inc. USB-N13 802.11n Network Adapter [Ralink RT3072]
Code: Select all
gentoo ~ # lsusb -t
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 7: Dev 3, If 0, Class=vend., Driver=rt2800usb, 480M

Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=network
update_config=1
network={
ssid="linked-WRC"
psk="57xd$"H9JMD9sr~sttVruO2l^S:Bx_Nhya"ZPVc]'ak[}\#q.Me?_N&E=!^Jn%>"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}Code: Select all
wpa_supplicant -Dwext -i wlan0 -c/etc/wpa_supplicant.conf -B
dhcpcd wlan0 Code: Select all
rc-update add dbus default
So, I guess those two lines I put in Arch's /etc/rc.local could go in Gentoo's /etc/local.d/local.startlocal.start and local.stop
With OpenRC, /etc/conf.d/local.start and local.stop are deprecated. During the migration to OpenRC, the files are moved to /etc/local.d and gain the suffix .start or .stop. OpenRC then executes those in alphabetic order.
Code: Select all
emerge -av sys-apps/usbutils sys-apps/pciutils app-portage/gentoolkit