Here's a tutorial of how I'm using the SDCARD on my device. My use-case is pretty specific, though you can modify my instructions to your own needs.
Paul Jobson
@Paul Jobson
Best posts made by Paul Jobson
-
RE: Omega2+: reboot and sd card fixed!
-
RE: git clone failing on omega2
Figured out how to do all the git things, I put a readme on my github.
-
RE: git clone failing on omega2
Need to install these packages.
opkg install git opkg install git-http opkg install ca-bundle
I'm still trying to figure out how to make commits back to git though.
Latest posts made by Paul Jobson
-
External Wifi Antenna Experiment and Results
Here's some information about using an external IPX antenna. I am using a junk antenna I got off an old router and had some good results. I'd venture to guess I'd get better results with a longer antenna mounted vertically rather than glued to the bottom.
https://github.com/pjobson/onion_omega2p_experiments/blob/master/docs/external_antenna.md
I got a decent speed increase using speedtest-cli after adding the external antenna.
Before external antenna.
root@Omega-ADBD:/tmp# ./speedtest-cli Retrieving speedtest.net configuration... Testing from Verizon Fios (xxx.xxx.xxx.xxx)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by Shentel Service Company (Ashburn, VA) [7.69 km]: 21.32 ms Testing download speed.......... Download: 10.16 Mbit/s Testing upload speed.......... Upload: 11.48 Mbit/s
After external antenna.
root@Omega-ADBD:/tmp# ./speedtest-cli Retrieving speedtest.net configuration... Testing from Verizon Fios (xxx.xxx.xxx.xxx)... Retrieving speedtest.net server list... Selecting best server based on ping... Hosted by GigeNET (Ashburn, VA) [7.69 km]: 24.893 ms Testing download speed.......... Download: 16.73 Mbit/s Testing upload speed.......... Upload: 10.14 Mbit/s
-
RE: Omega2+: reboot and sd card fixed!
Here's a tutorial of how I'm using the SDCARD on my device. My use-case is pretty specific, though you can modify my instructions to your own needs.
-
Git Push Issues and Fix
I was having issues pushing via git from the Omega2+. I wanted to basically run experiments from the command line as I kind of hate messing around with GUI things. I wanted to be able to just write a script and push it right from the terminal, but ran into some issues.
I was getting this error when attempting to ssh into github, classically you can ssh into github if you have an account, it should tell you that everything is okay if you've saved your SSH key, but not give you a shell.
# ssh git@github.com ssh: Connection to git@github.com:22 exited: No auth methods could be used.
You should get something like this instead:
$ ssh git@github.com PTY allocation request failed on channel 0 Hi pjobson! You've successfully authenticated, but GitHub does not provide shell access. Connection to github.com closed.
The solution was:
- Generate my own ssh keys using dropbear.
- Publish my ssh key to my github account.
- Created a shell script which specifies the proper ssh key to use.
- Added some exports to my profile to link it all together.
I made docs for these steps and published it on my github, hope this helps someone. Following my guide will allow you to git clone with ssh instead of https, this is especially useful if you use two-factor authentication in github.
-
RE: git clone failing on omega2
Figured out how to do all the git things, I put a readme on my github.
-
RE: git clone failing on omega2
Need to install these packages.
opkg install git opkg install git-http opkg install ca-bundle
I'm still trying to figure out how to make commits back to git though.