Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 243: | Line 243: | ||
kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/hda1 | kernel /boot/linux-2.6.34-gentoo-r11_withext4 root=/dev/hda1 | ||
Then reboot to standby and see what we have... (no "latest" video library etc., but otherwise the same?) | Then reboot to standby and see what we have... (no "latest" video library etc., but otherwise the same?) | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 891: | Line 822: | ||
* heres what we need in fstab to mount ubuntu in gentoo with [mount /ubuntu]... | * 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 | ** mount /dev/disk/by-path/pci-0000\:00\:0b.0-scsi-0\:0\:0\:0-part5 /ubuntu | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! old wallee gentoo networking notes - using ubuntu now! | |||
|- | |||
| 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" |
Revision as of 21:41, 20 September 2015
general | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
OpenELEC | ||||
---|---|---|---|---|
|
gentoo | ||
---|---|---|
|
Ubuntu | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Boxes | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|