|
|
Line 1,203: |
Line 1,203: |
| ** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe | | ** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe |
|
| |
|
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! old wallee gentoo networking notes - using ubuntu now!
| |
| |-
| |
| | '''gentoo''' is no more; legacy notes:
| |
|
| |
| * see [http://en.gentoo-wiki.com/wiki/Apple_Macbook_Pro/Configuration_Files/Kernel this] for kernel parameters
| |
| ** emerge microcode-ctl (and made it a module in kernel)
| |
| ** also did everything else I could on this page (some EFI stuff was missing, who cares) - did i do too much?
| |
| * add m to a bunch of groups:
| |
| ** for x in wheel cdrom cdrw usb video ; do gpasswd -a m $x ; done
| |
| * using Xfce (everybody's doing it)
| |
| ** echo "exec startxfce4" > ~/.xinitrc
| |
| * using nvidia driver
| |
| ** eselect opengl set nvidia
| |
| ** run nvidia-xconfig
| |
| * using gdm
| |
| ** emacs /etc/conf.d/xdm
| |
| ** rc-update add xdm default
| |
| * using NetworkManager
| |
| ** + consolekit (needed for applet)
| |
| ** + nm-applet (for Xfce taskbar applet, where it all happens)
| |
| ** + networkmanager-openconnect
| |
| * network driver: broadcom-sta
| |
| ** Checking for suitable kernel configuration options...
| |
| ** CONFIG_MAC80211: should not be set. But it is.
| |
| ** Please check to make sure these options are set correctly.
| |
| * to update kernel
| |
| * under gentoo, ubunbu should already be mounted; make sure it's available at /ubuntu
| |
| * cd /usr/src/linux
| |
| * build a new kernel as usual
| |
| ** make menuconfig, or make oldconfig, or whatever
| |
| ** make && make modules_install
| |
| ** emerge nvidia-drivers
| |
| ** cp arch/x86_64/boot/bzImage /ubuntu/boot/linux-3.10.7-gentoo_oldconfig
| |
| * carefully fix up grub, ubuntu grub is being used
| |
| ** we inject our gentoo boot lines into /boot/grub/grub.cfg through /etc/grub.d/11-gentoo-proxy
| |
| ** which gets its information from /etc/grub.d/proxifiedScripts/gentoo
| |
| ** we can modify grub directly from gentoo - you have to change both grub.cfg AND /etc/grub.d/proxifiedScripts/gentoo to keep things from getting clobbered later
| |
| ** or go into ubuntu and change /etc/grub.d/proxifiedScripts/gentoo and run this...
| |
| *** grub-mkconfig >/boot/grub/grub.cfg
| |
| * reboot!
| |
| * '''misc'''
| |
| * heres what we need in fstab to mount ubuntu in gentoo with [mount /ubuntu]...
| |
| ** mount /dev/disk/by-path/pci-0000\:00\:0b.0-scsi-0\:0\:0\:0-part5 /ubuntu
| |
|
| |
|
| |
| Laptop has both wired and wifi adapters.
| |
|
| |
| We set up [http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2 custom network interface names] to make it more clear.
| |
|
| |
| I had installed several tools when attempting to get this going. DO NOT DO THAT, they interfere with one another. Removing NetworkManager and going with the highly-recommended wpa_supplicant and its graphical tools wpa_gui and wpa_cli.
| |
|
| |
| I'm documenting this since it's so basic yet such a bitch.
| |
|
| |
| /etc/udev/rules.d/76-mdm-net.rules
| |
| <pre>
| |
| # This file was automatically generated by the /lib/udev/write_net_rules
| |
| # program, run by the persistent-net-generator.rules rules file.
| |
| #
| |
| # You can modify it, as long as you keep each rule on a single
| |
| # line, and change only the value of the NAME= key.
| |
|
| |
| # MDM following this to change nw interface names:
| |
| # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2
| |
| #
| |
| # verified MAC addresses
| |
| # changed eth0 line to lan0
| |
| # changed eth1 line to wifi0
| |
|
| |
| # PCI device 0x10de:0x0ab0 (forcedeth)
| |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:4a:18:ed:58", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="lan0"
| |
|
| |
| # PCI device 0x14e4:0x432b (wl)
| |
| SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:bb:07:d3:7d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="wifi0"
| |
| </pre>
| |
|
| |
| Next you have to set up these weird symlinks:
| |
| <pre>cd /etc/init.d
| |
| ln -s net.lo net.lan0
| |
| ln -s net.lo net.wifi0</pre>
| |
|
| |
| Now add them to runlevels:
| |
| <pre>rc-update add net.lan0 default
| |
| rc-update add net.wifi0 default</pre>
| |
|
| |
| Now add them to runlevels:
| |
| <pre>rc-update add net.lan0 default
| |
| rc-update add net.wifi0 default</pre>
| |
|
| |
| Fix the system so that only one is required for startup to work...
| |
| /etc/rc.conf
| |
| <pre>rc_depend_strict="NO"</pre>
| |
|
| |
| No, we're not even close to done yet...
| |
| We have to CUT the firmware out of the proprietary driver. Wow.
| |
| <pre>su -
| |
| emerge -av b43-fwcutter # NOT THIS, DAAAMN: bcm43xx-fwcutter
| |
| emerge -av sys-firmware/b43-firmware
| |
| export FIRMWARE_INSTALL_DIR="/lib/firmware"
| |
| mkdir macbook_bcm43xx_wireless_driver
| |
| cd macbook_bcm43xx_wireless_driver
| |
| wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
| |
| tar xjf broadcom-wl-5.100.138.tar.bz2
| |
| b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o
| |
| modprobe b43
| |
| /etc/init.d/net.wifi0 start</pre>
| |
|
| |
| Nope. What a fuckbucket of retardedness.
| |
| Look at the [http://blog.xfce.org/2009/07/new-laptop-aka-gentoo-on-macbook-pro-55-4/ notes this guy made] - brief but heavy - i think i need to purge b43 and get the "wl" driver working instead.
| |
|
| |
| |}
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |