jabster.net: The Blog
John's Steaming Pile
Monday, May 27, 2013
Wireless Bridging
My Asus USB dongle and 64-bit Bridge Linux don't play well together.
Enter dd-wrt and the E1200-V2 Cisco/Linksys N300 wireless router.
Flash the dd-wrt firmware to it, then set it up as a wireless bridge. Note that with Personal WPA2, encryption must be set to AES.
I did alter the beginning of the bridging setup a wee bit to make things a bit easier for my LAN subnet and network:
2.1 Disable wireless. I set things up on the Windows laptop, and it would keep automatically connecting to a wireless network, which caused IP address problems when trying to connect to the default dd-wrt address.
...
6.1 Change the IP address of the dd-wrt router to match your LAN subnet. In my case, that's 192.168.100.x.
6.2 Change the IP address of the computer to match what you just did to the router: 192.168.100.9. In Windows, you may have to reboot to get things to work properly after changing the IP address.
6.3 Login to the router (now at 192.168.100.x) with the username and password you created in Step 6.
Also, in general, where the instructions say to hit Save...don't. Just hit Apply.
After Step 26, if you've done everything correctly, the computer will have internet access.
27.1 Reenable wireless on the Windows computer and reboot. You may have to reset things back to DHCP after rebooting and connecting wirelessly.
Then, move the new bridge to the computer that you want to connect to your wireless network, and plug a network cable in between the router and the computer. And now you've got N-band. It's seen as a wired connection by the computer, as the wireless connection is handled entirely by the N300 bridge.
Bought the Belkin N300 first. Neither of these support bridging out of the box. dd-wrt does not support the Belkin unit.
Enter dd-wrt and the E1200-V2 Cisco/Linksys N300 wireless router.
Flash the dd-wrt firmware to it, then set it up as a wireless bridge. Note that with Personal WPA2, encryption must be set to AES.
I did alter the beginning of the bridging setup a wee bit to make things a bit easier for my LAN subnet and network:
2.1 Disable wireless. I set things up on the Windows laptop, and it would keep automatically connecting to a wireless network, which caused IP address problems when trying to connect to the default dd-wrt address.
...
6.1 Change the IP address of the dd-wrt router to match your LAN subnet. In my case, that's 192.168.100.x.
6.2 Change the IP address of the computer to match what you just did to the router: 192.168.100.9. In Windows, you may have to reboot to get things to work properly after changing the IP address.
6.3 Login to the router (now at 192.168.100.x) with the username and password you created in Step 6.
Also, in general, where the instructions say to hit Save...don't. Just hit Apply.
After Step 26, if you've done everything correctly, the computer will have internet access.
27.1 Reenable wireless on the Windows computer and reboot. You may have to reset things back to DHCP after rebooting and connecting wirelessly.
Then, move the new bridge to the computer that you want to connect to your wireless network, and plug a network cable in between the router and the computer. And now you've got N-band. It's seen as a wired connection by the computer, as the wireless connection is handled entirely by the N300 bridge.
Bought the Belkin N300 first. Neither of these support bridging out of the box. dd-wrt does not support the Belkin unit.
Asus N13
I've finally got N-band on my Asus USB-N13. Turns out the kernel drivers are really old and crappy.
1) Download the Realtek (now Mediatek) drivers for the RT8070 /RT3070 /RT3370 /RT5370 /RT5372 USB here: Mediatek
2) Extract the contents, and browse to that directory in konsole.
3) For a 32-bit system, assuming you're using a network manager, edit the file "os/linux/config.mk" and change these two lines to "y":
4) In a terminal, run "sudo make" and "sudo make install"
5) Now blacklist the conflicting drivers:
In PCLOS, edit "/etc/modprobe.d/blacklist" and add the following lines:
Note that this device and the compiled driver do NOT work on 64-bit systems. At least not on 64-bit Arch Linux.
See this page at the Bridge Linux forum for everything I tried for 64-bit. A huge +1 to ludvick there for his assistance.
Reference page for compiling the driver: Arch forum.
1) Download the Realtek (now Mediatek) drivers for the RT8070 /RT3070 /RT3370 /RT5370 /RT5372 USB here: Mediatek
2) Extract the contents, and browse to that directory in konsole.
3) For a 32-bit system, assuming you're using a network manager, edit the file "os/linux/config.mk" and change these two lines to "y":
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT=y
4) In a terminal, run "sudo make" and "sudo make install"
5) Now blacklist the conflicting drivers:
In PCLOS, edit "/etc/modprobe.d/blacklist" and add the following lines:
blacklist rt2800usb6) Reboot with N-band wireless.
blacklist rt2x00usb
blacklist rt2800lib
blacklist rt2x00lib
blacklist rt2870sta
Note that this device and the compiled driver do NOT work on 64-bit systems. At least not on 64-bit Arch Linux.
See this page at the Bridge Linux forum for everything I tried for 64-bit. A huge +1 to ludvick there for his assistance.
Reference page for compiling the driver: Arch forum.
Saturday, December 08, 2012
Split Large MKV For Easy Transfer
Blu-ray rips are big.
I have a 16G USB thumb drive.
To split the large MKV up into usable chunks created a gzipped tar file, split, move it to the HTPC, join the parts back together, and uncompress it:
> tar -czvf movie.mkv.tgz Movie.mkv
> split -b 12000000000 "movie.mkv.tgz" "movieparts.mkv.tgz.part-"
Will create smaller files called:
movieparts.mkv.tgz.part-aa
movieparts.mkv.tgz.part-ab
etc...
To rejoin:
> cat movieparts.mkv.tgz.part-* > movie.mkv.tgz
> tar -xvf movie.mkv.tgz
And delete the part and tgz files.
Watch movie on HDTV with XBMC or OpenELEC.
I have a 16G USB thumb drive.
To split the large MKV up into usable chunks created a gzipped tar file, split, move it to the HTPC, join the parts back together, and uncompress it:
> tar -czvf movie.mkv.tgz Movie.mkv
> split -b 12000000000 "movie.mkv.tgz" "movieparts.mkv.tgz.part-"
Will create smaller files called:
movieparts.mkv.tgz.part-aa
movieparts.mkv.tgz.part-ab
etc...
To rejoin:
> cat movieparts.mkv.tgz.part-* > movie.mkv.tgz
> tar -xvf movie.mkv.tgz
And delete the part and tgz files.
Watch movie on HDTV with XBMC or OpenELEC.
Sunday, September 09, 2012
Sunday, August 05, 2012
Sunday, June 03, 2012
Monday, May 28, 2012
Day Two
Day two:
- No more gas leaking from carbs. Looks like the o-rings did indeed swell up and reseal.
- Still runs rough.
- Idles at around 300 RPM
- It will die if I leave it running unchoked.
I'm sure once the Techron runs thru that will help with the rough running. Looks like I need to up the idle speed as well.
Sunday, May 20, 2012
Lucas the Inventor
Lucas invented a storage system for cleaning up a cluttered desk, while still keeping everything within easy reach.
It consists of a tablecloth clip, a spring loaded key ring, a short length of lamp chain, and a small plastic container with a screw on lid.
His original plan was to have a locking container, but given that it's due tomorrow, we made a few design changes.
He also planned on using a pulley to support the container, but I convinced him to change that approach, as the key ring is a simpler design, combining the pulley and counterweight into one nice small package.
Overall, he did quite well.
Subscribe to:
Posts (Atom)