Embedding Nexus One into Portable HD as a WiFi NAS - Nexus One Q&A, Help & Troubleshooting

Hi all,
I've got an old Nexus One lying around, and I was thinking, why not use it to make a WiFi Hard drive?
Originally, I was just going to use Android Assistant to clean up my startup and Samba FileSharing to share, and making a case that basically plugs into the wall with a 2.5" HD.
My question is this: From a software perspective, what is the quickest way to get the Nexus One to boot up and run what's required? Are there any trimmed down ROMs that may suit my needs better?
Thanks,
Ben

1. To do it you need the hard drive connected to the Nexus, which you can't do unless you have USB Host-capable kernel running on Nexus and USB2SATA adapter to your HD. To my knowledge, there is no USB host support in the kernels you might want to use, and the kernel that supports it doesn't allow charging.
2. Even if you find the way around the 1st problem, which is unlikely, you're going to get sub-1MB/s transfer speeds. I have a real NAS at home, and after tweaking my 802.11g WiFi adapters in laptops I'm succeeding to pull 3MB/s, and I don't plan on even starting to use it until I get the 802.11n miniPCIe card for the laptop that's going to use this NAS, and reach 7-8MB/s at least. So I believe you might find a much better use for your Nexus. Or just save it until you have kids, they'll have a nice toy (if you're a teenager, disregard this suggestion).

Related

HTC Dream/T-MoG1 (cyanogen 4.2.9.1) USB Tether port forwarding?

*crossposted from the general Q&A forum*
Hi everyone,
As mentioned in the title, I have a G1 running cyanogen 4.2.9.1, and I'm using the wired USB tether to connect my PC to my wifi connection as, unfortunately, a semi-permanent solution. I knocked out the bus on 3 of my 4 available PCI slots, so it was a tough choice between my audigy 4 and my wireless card.
My phone acts as a pretty viable surrogate for a wireless card, with 1 notable exception: It doesn't forward ports properly. Gaming can be finicky, particularly hosting games, and BitTorrent can give me a hard time, so I was wondering if there was any way I could correct these problems using IPtables or some other built in tool.
I know my router's config is fine because I was able to do all of these things absolutely fine with my legit PCI wireless card.
Thanks again.
no love on this?
I started to wonder the same thing earlier....
But for a completely different reason!
I was trying to setup remote desktop on my tp2..... to connect to my desktop which is connected to the internet through my g1 usb tether! Now the only issue is the port forwarding... how would I gain access to that setup?
not to be mean but, why not use the latest stable rom 4.2.15.1?

[Q] Cat 5 connection? When no wifi

Probably a dumb question but can we connect the NC to a fixed line (Cat 5) internet connection. Sometimes no wifi but a wire connection is available.
Of course would need some type of USB to Cat 5 connector.
Does such a thing exist?
I don't know if you'll find what you're looking for, but i'm not ruling out the option.
Meantime, if you can access a cat5 line, and you're looking at buying hardware anyway, why not get a wireless access point?
(I am curious to see if you can do what you are asking, and I don't want this thread to die on the 'get an access point' cop out)
CAT5 Ethernet? Sure, wait until B&N redesign the NOOK and do expect another inch thicker, still want it?
I have a motorhome sitting beside my house and cannot get a wifi signal so I ran a cat5 cable out there to a cradelpoint wifi unit so I now have wifi through the coach.
Sent from my NexusOne using Tapatalk
Assuming a driver is available in the kernel for the Ethernet chipset in question, you *might* be able to use something like the Wii USB-to-Ethernet adapter combined with a USB type converter. I've no idea at all what it will do to the normal network stack, but it's _theoretically_ possible.
Rodney
votinh said:
CAT5 Ethernet? Sure, wait until B&N redesign the NOOK and do expect another inch thicker, still want it?
Click to expand...
Click to collapse
Actually not really, XJack.
But seriously though, ethernet on a tablet. Heh.
Defeats the purpose of a tablet. Becomes a slablet
ikingblack said:
Defeats the purpose of a tablet. Becomes a slablet
Click to expand...
Click to collapse
I just happened to see this. That is great!
FWIW, I've seen some no-name Android tablets that have a dongle which provides USB ports and an RJ45 jack for a wired ethernet connection.. Does kinda defeat the purpose of a tablet though..
scoob8000 said:
I just happened to see this. That is great!
FWIW, I've seen some no-name Android tablets that have a dongle which provides USB ports and an RJ45 jack for a wired ethernet connection.. Does kinda defeat the purpose of a tablet though..
Click to expand...
Click to collapse
Not at all, it would be great to be able to use my Nook to configure Routers and program firmware, maybe even to use the Nook for some tethering. I would be able to finally get rid of my battery sucking, heat factory of a UMPC.
If anyone finds a way to get a usb Ethernet adapter working with the Nook please so share.
joenathane said:
Not at all, it would be great to be able to use my Nook to configure Routers and program firmware, maybe even to use the Nook for some tethering. I would be able to finally get rid of my battery sucking, heat factory of a UMPC.
If anyone finds a way to get a usb Ethernet adapter working with the Nook please so share.
Click to expand...
Click to collapse
Didn't even think about it that way.
I know they got Ubuntu running on the NC (Not sure how well). Surely there is a wired usb nic that supports Ubuntu. I'm thinking that might be the best way.
I just bought my NC, should be here in a few days. I might just have to play with this..
What about Dalingrin's Nook Tweeks app? Using 'USB Settings > USB Host Mode' can we possibly attach a USB NIC?
I have not played with the USB Host Mode just yet, but I know I got excited when I saw it
Just wanted to link to [webcam support] USB Host support that YOU can try (now in nightlies)...some interesting discussion going on over there too....
Not too sure if I understood correctly your current setup, hopefully I won't recommend you something you have already done/thought about.
For the moment, a quick an easy way would be to plug a wireless router at the end of the network cable and then setup the wireless network. You could then connect to that wireless router with your nook.
Basically, it would look like this (inline text doesn't make a good illustration, but it's better than nothing)...
Router 1 ------(network cable)---------Router 2)))))))(wifi wave)))))))Nook
Sure you will need to setup the router correctly, but it's still very easy to do.

Using The Nexus S 4G As A Dedicated Router

First before people ask...no I can't get a decent ISP in my new apartment complex. They have a "deal" with some horrible small-time cable company that I've never heard of, and all the neighbors hate it. On top of that I have talked my work into paying for the account I plan on using for this since it's "required" so that I can work from home as needed.
That being said, I've done some initial speed tests at my new place and I get a consistent 11Mbps/3Mbps over Sprint's 4G/WiMAX, which is more than enough for my needs. I know that will fluctuate, but even so I'm excited about this project!
So sure I could just dump WiFi Tether on a rooted NS4G and leave it be, but I want to try taking it to the next level. What I'm thinking is a full-time router, much like a pfSense/SmoothWall/Vyatta distro, using the WiMAX (And 3G as a backup) for the WAN and the WiFi for the network connectivity. Unless I can figure out a better solution I would probably use a WRT54GL with dd-wrt to act as the wireless bridge for my wired clients.
It'll always be plugged into power, so battery isn't an issue (But a nice bonus for when the power does go out). I would like to have an always running bandwidth monitoring screen that I can just glance at. Of course there would be remote monitoring/configuration, as well as some built-in "apps".
I know this is a big task to take on, but I need something to focus on in regards to getting into the development side of things and I think this would be a great place to start. However I've got some questions that I think ya'll could help me figure out:
1 - What should I do for providing services like DHCP, DNS, Port Forwarding, NAT, etc? I know it would require some heavy lifting but I could cross-compile standard linux based apps like dhcpd right?
Or does anyone know of that perfect app that might help me get a head start? I don't mind using different apps/services and then focusing on making them all work together, but if there is a "simple" solution already that would be fine by me!
2 - Since it's not going to be a multimedia demon, is there a particular light-weight, almost console-only ROM that might serve to be the best base to build from? I would think something that is more geared towards running desktop-based applications versus the standard apps.
3 - WiMAX needs to work of course, how would that play into it?
4 - Is that anything that might allow me to plugin a standard ethernet cable? I don't think I've seen a mini-usb to ethernet yet...do they have a mini-usb to regular usb at least?
I know these are very basic questions, but I just want to get a pulse on if this is just an unobtainable idea or not. I don't think it is, it's basically a different way of getting to a MiFi. Also if anyone knows of anyone elses past attempts at this I would love to know where I can read up on it in. Thanx in advance!!!
My phone overheats if it tethers for hours upon hours. Gets kind of annoying. I suggest you buy a external charger and another battery so you don't have to play " let the battery cool down" game.
I had the same issue on my other 2 smartphones while tethering (Samsung instinct with ported 1.6. And optimus s)
I would say try finding a loophole or move. Slow internet is a whore. I use hot sport off my phone to my ps3. And I can only play from 11pm-6am lag-free.
Sent from my Nexus S 4G using Tapatalk
Are you oc'ed or something I tether my phone for hours a day and havent had it over heat except for when I was oc'ed above 1.2ghz.
There are a few issues with this.
1.Restrictive firewalling policies on the ISP side. Blocked ports/ throttling.
2.Added latency from wireless > wireless bridge. With wireless you will need to tether to a wireless bridge with ethernet ports for your computers. wrt54g and the like with dd-wrt work fine for this. A linux computer with a wireless card would also work. Tethering with USB to a linux computer that you can edit the iptables rules would be best.
3.Double NAT. This is something you must avoid to have a proper connection. With wireless your tethering program is going to use NAT, but then your bridge will probably also use NAT. This will leave you with a very convoluted connection. Tethering with USB would probably also be best here. In the past when I have used USB tethering (motor razr) the host PC gets assigned the true WAN address of the phone via a virtual adapter. Thus this would only require setting up NAT/ iptables once on the host PC.
My suggestion would be to exchange the phone/plan for a 3g/4g data card that works with GNU/Linux and setup NAT that way of course along with an ethernet switch. Good luck with it.
Jason_25 said:
There are a few issues with this.
1.Restrictive firewalling policies on the ISP side. Blocked ports/ throttling.
2.Added latency from wireless > wireless bridge. With wireless you will need to tether to a wireless bridge with ethernet ports for your computers. wrt54g and the like with dd-wrt work fine for this. A linux computer with a wireless card would also work. Tethering with USB to a linux computer that you can edit the iptables rules would be best.
3.Double NAT. This is something you must avoid to have a proper connection. With wireless your tethering program is going to use NAT, but then your bridge will probably also use NAT. This will leave you with a very convoluted connection. Tethering with USB would probably also be best here. In the past when I have used USB tethering (motor razr) the host PC gets assigned the true WAN address of the phone via a virtual adapter. Thus this would only require setting up NAT/ iptables once on the host PC.
My suggestion would be to exchange the phone/plan for a 3g/4g data card that works with GNU/Linux and setup NAT that way of course along with an ethernet switch. Good luck with it.
Click to expand...
Click to collapse
But he would then be giving up unlimited data as a result of leaving the phone plans.
Sent from my Nexus S 4G using Tapatalk

OTG 3G and SD

Hello
I was wondering if someone could kindly advise me on this. I am basically going travelling in a little over a month, and would like to bring my Touchpad with me. There are a few slight hiccups, and I was wondering if these plans would work.
I need to store pictures taken from a camera on the TouchPad, to then upload to my Dropbox account. I was wondering if anyone knows either of these configurations would work;
- Micro USB to USB (Female)
- USB Female to insert SD Card adapter
- Copy photos over to Touchpad
OR
- Use THIS CONNECTOR (link goes to Amazon page)
- Insert SD card into that
---
My next question relates to 3G. Would it be possible to (again) use a micro usb to USB Female adapter (with OTG) and then insert a 3G dongle into that? This is less important, as I can still get WiFi access every so often!
Thanks for the help - I will, of course, hit the thanks button for any useful responses.
A quick search of the forum would get you to the issues of OTG and connecting anything external (particularly on the move). You need to find a way of injecting power into the TP micro-USB to get OTG to work. Some hav edone this with battery powered hubs but there is no clean and elegant solution and if you want something light, simple and reliable on your journey you may be better off with a different tablet.
One solution for your photos though which I have used is a WiFi SD Card in the camera that will allow the tablet to get at the photos (if your camera can take that).
Finally, for 3G, other than the OTG issues, you would also need to check out kernel support for whatever dongle you are using within whatever ROM variant you used.
dmarchant said:
A quick search of the forum would get you to the issues of OTG and connecting anything external (particularly on the move). You need to find a way of injecting power into the TP micro-USB to get OTG to work. Some hav edone this with battery powered hubs but there is no clean and elegant solution and if you want something light, simple and reliable on your journey you may be better off with a different tablet.
One solution for your photos though which I have used is a WiFi SD Card in the camera that will allow the tablet to get at the photos (if your camera can take that).
Finally, for 3G, other than the OTG issues, you would also need to check out kernel support for whatever dongle you are using within whatever ROM variant you used.
Click to expand...
Click to collapse
Thanks for the response.
I had seen various discussion of OTG, which have been nothing short of confusing - simply because of the many different conversations going on! I am trying to avoid the need to buy another device - whilst I have the funds in my bank account, I already need to get another camera (well, I say need - I would like to, going to get the Panasonic Lumix TZ40). Whilst it has WiFi, I am not totally sure how that will work on a potentially dodgy WiFi connection and also how it will work with Android. I am currently using Milaq's CM 10.2.
I should point out I would be happy to give any ROM a spin whilst travelling, simply to get this to work.
The OTG situation is certainly not clear cut and because of the extra items needed to get it to work, not at all ideal if you are on the move. I am not sure how the WiFi works on that camera, but I have used the Transcend WiFi SD card in my Sony Bridge camera and it acts as a hot-spot so does not depend on any other WiFi around. I am pretty sure the Eye-Fi works that way to. You should be able to find the camera manual online to check what WiFi modes you would get but that would be the most suitable means of linking camera to TP.
EDIT: Confirmed that Lumix TZ40 can connect using WiFi to phone or tablet and they have their own app to manage it (search for 'Panasonic Image App')
dmarchant said:
The OTG situation is certainly not clear cut and because of the extra items needed to get it to work, not at all ideal if you are on the move. I am not sure how the WiFi works on that camera, but I have used the Transcend WiFi SD card in my Sony Bridge camera and it acts as a hot-spot so does not depend on any other WiFi around. I am pretty sure the Eye-Fi works that way to. You should be able to find the camera manual online to check what WiFi modes you would get but that would be the most suitable means of linking camera to TP.
EDIT: Confirmed that Lumix TZ40 can connect using WiFi to phone or tablet and they have their own app to manage it (search for 'Panasonic Image App')
Click to expand...
Click to collapse
Certainly agree it wouldn't be ideal on the move, I am trying my best to not need to pay out another £240 for a Nexus 7 or £319 for an iPad Mini though!
This has just occurred to me, on the basis the TZ40 is obviously self powered, and OTG can work on the Touchpad if there is a power source, would it simply work if I used a micro usb to mico usb cable? Although judging by the fact Amazon only has one listing for this, I doubt it... a Nexus would be ideal though, given how both devices have NFC ;(
Hey i wanted to use my Touchpad for something similar, i used this http://www.amazon.co.uk/PQI-A100-Dr...F8&qid=1384550398&sr=8-1&keywords=sd+card+pqi to put my cameras SD card in, it then transits a WiFi hotspot which you connect to touchpad to in order to view and transfer files. As for 3G can you use a phone with WiFi hotspot mode and tether to it?
Sent from my Touchpad using Tapatalk
Nathanation said:
Hey i wanted to use my Touchpad for something similar, i used this http://www.amazon.co.uk/PQI-A100-Dr...F8&qid=1384550398&sr=8-1&keywords=sd+card+pqi to put my cameras SD card in, it then transits a WiFi hotspot which you connect to touchpad to in order to view and transfer files. As for 3G can you use a phone with WiFi hotspot mode and tether to it?
Sent from my Touchpad using Tapatalk
Click to expand...
Click to collapse
When you say "transmits a WiFi hotspot", I assume that still leaves me with the issue that I need some form of WiFi in the first place. This is my concern, as some of the places I'll be visiting really won't be feasible in terms of transferring 1gb of photos on a potentially woefully slow wifi network . Apologies if I have missed the point there, I'll hit the thanks button for any help!
Cheers
The device creates its own WiFi signal which the touchpad can connect to as it would any other network. This can work independently of an internet connected WiFi network. I used mine at goodwood festival of speed to transfer images from my DSLR camera to my touchpad.
Its essentially the same as using the WiFi SD cards that another user above mentioned.
I have used OTG on the touchpad with CM9 but it required a specific kernel and a USB Y cable and an external battery pack, it was quicker at transferring files that WiFi but not exactly portable. Hope that kinda helps.
Sent from my Nexus 4 using Tapatalk
Nathanation said:
Hey i wanted to use my Touchpad for something similar, i used this http://www.amazon.co.uk/PQI-A100-Dr...F8&qid=1384550398&sr=8-1&keywords=sd+card+pqi to put my cameras SD card in, it then transits a WiFi hotspot which you connect to touchpad to in order to view and transfer files. As for 3G can you use a phone with WiFi hotspot mode and tether to it?
Sent from my Touchpad using Tapatalk
Click to expand...
Click to collapse
Nathanation said:
The device creates its own WiFi signal which the touchpad can connect to as it would any other network. This can work independently of an internet connected WiFi network. I used mine at goodwood festival of speed to transfer images from my DSLR camera to my touchpad.
Its essentially the same as using the WiFi SD cards that another user above mentioned.
I have used OTG on the touchpad with CM9 but it required a specific kernel and a USB Y cable and an external battery pack, it was quicker at transferring files that WiFi but not exactly portable. Hope that kinda helps.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Oh blimey I see! Thanks - I assumed you'd still need a provider (like you normally would, ie. BT, TalkTalk, Virgin in the UK..
Thanks very much
Ah that's a better way of putting it, I was struggling trying to think of how to explained it, yeah no provider necessary.
What smartphone have you got? As many support OTG with a simple adaptor and then you would have 3G and be able to upload photos.
Sent from my Nexus 4 using Tapatalk
Nathanation said:
Ah that's a better way of putting it, I was struggling trying to think of how to explained it, yeah no provider necessary.
What smartphone have you got? As many support OTG with a simple adaptor and then you would have 3G and be able to upload photos.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
HTC One X, but I do not think I will be bringing it with me (too short battery life, and too attractive to thieves to get out to contact people in-country!)
Really appreciate the help - only capable of learning things easily myself if I don't need to buy things to test if it works :L

Raspberry Pi wireless streaming server, is it possible?

Hi all,
A few years back I made a system for in the car based on a Raspberry Pi 2, it incorporated a Rpi2, a hdmi splitter and OSMC installed. I made 2 7" IPS LCD screens with custom made housing that attached to the front seat head rests. This way I could play movies in the car for the children when we were traveling with the car. It really worked well and I could control the movies by using the wifi access point feature in OSMC and the Kodi remote control app for Android.
Downside is that both children (a girl and a boy) have to watch the same movie and now that they're 6 and 5 there's a constant struggle as my son doesn't like barbie movies and my daughter does not like teenage mutant ninja turtles!
So, I want to make a new one. My plan is to use a Rpi3 as media server with hard drive attached and kodi on 2 android tablets connected via Wifi to the Rpi3. This way it must me possible for them to choose and watch their own movie seperately.
Is this possible? And is the internal wifi adapter fast enough as I didn't have too much luck with this (very unstable en below average speeds). I could also us a Wifi access point connected to the RJ45 network connector. Or buy the new RPi3+ which has a 300 Mb network port and maybe improved wifi?
I looked everywhere for some guide but I don't seem to find it.
Anyone good tips??
Yeah it's surely possible dude/dudette. But the question is would it be entirely practical is a different story.
The RPi 3B+ has the network capabilities you are after (as long as you're not streaming 1080p across the network for both tablets), the only thing is for it to be effective would be the tablets need 5ghz connections also to utilise the 5ghz networking speeds. I don't have the data sheet on hand which tells me the speeds but 2.4ghz certainly wouldn't suffice both streaming.
The only problem you would encounter would be is Read speeds of the RPi 3B+ and is it worth destroying a hard drive by putting it in a car (vibrations/G forces *if you crash*) is it worth it? I know HDDs are cheap these days so it might not even be a worthwhile issue in today's world.
I wouldn't bother with an ethernet connection, you could utilise the USB to RJ45 Gigabit speeds it apparently allows. Yet again Read speeds might be the downfall on SD cards unless you have a uber SD card.

Categories

Resources