Hello,
I just got my VoCore2, but I'm at a bit of an impasse: it would seem that by default the ethernet connection is not set up to directly connect to my computer. In this particular case I don't want to use it as a hotspot or wifi adapter, but I would like to be able to connect over ethernet instead of wifi for the following reasons:
1 - Speed: 2Mbps is kinda slow if I'm moving files and data about
2 - My internet is using the wifi connection: this is the big one, I have to disconnect my Internet connection in order to do anything with the VoCore, which makes it very awkward at best and completely useless at the worst.
So all I really want to do is ... set it up to allow access thru the Ethernet port. Do I need to enable DHCP and on what interface? Conversely, if I merely need to set a static IP on my computer's ethernet port, what is the allowable range, default subnet mask and gateway I must use?
Set up VoCore2 to connect over ethernet
- hack-wizard
- Posts: 11
- Joined: Tue Dec 27, 2016 1:37 am
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Set up VoCore2 to connect over ethernet
Hi,
1. your wifi speed is lower than normal, it should be at least 40Mbps one antenna. make sure you are using the default wifi driver and near you there not too much noise/ap.
2. you can directly connect vocore to your router ethernet port, disable dhcp on vocore(default it is).
1. your wifi speed is lower than normal, it should be at least 40Mbps one antenna. make sure you are using the default wifi driver and near you there not too much noise/ap.
2. you can directly connect vocore to your router ethernet port, disable dhcp on vocore(default it is).
- hack-wizard
- Posts: 11
- Joined: Tue Dec 27, 2016 1:37 am
Re: Set up VoCore2 to connect over ethernet
The speed difference (transfer rate) I was experiencing was probably because I was connecting thru ssh now that I think about it. However, even if I wanted to use rcp (unencrypted) to move files, that's still less than half the possible rate capable on the eth connection.
The problem is I want to connect directly to my desktop/laptop computer, but neither regular nor crossover cables are allowing me to do this. Would setting a static IP for my computer's interface let me do this and if so what are the parameters? Do I need to make adjustments to vocore's firewall to allow access? What ports must I open to allow access?
The problem is I want to connect directly to my desktop/laptop computer, but neither regular nor crossover cables are allowing me to do this. Would setting a static IP for my computer's interface let me do this and if so what are the parameters? Do I need to make adjustments to vocore's firewall to allow access? What ports must I open to allow access?
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Set up VoCore2 to connect over ethernet
I understand, you want connect VoCore -> Computer, but not VoCore -> Router.
You must setup DHCP for this.
Try this command: set dhcp to wan
uci set network.wan=interface
uci set network.wan.proto=dhcp
uci commit
You must setup DHCP for this.
Try this command: set dhcp to wan
uci set network.wan=interface
uci set network.wan.proto=dhcp
uci commit
- hack-wizard
- Posts: 11
- Joined: Tue Dec 27, 2016 1:37 am
Re: Set up VoCore2 to connect over ethernet
Just tried that, no error messages but I am still getting the same behaviour with all my cables, as in no connection period thru ethernet.
Is this possibly due to a firewall on the vocore? How would I get around this and how can I confirm that the changes those commands made were applied? I also thought that maybe it had something to do with my own wireless network using the same IP naming scheme but this is clearly not the case since totally disconnecting from all other networks did not resolve the issue.
Is this possibly due to a firewall on the vocore? How would I get around this and how can I confirm that the changes those commands made were applied? I also thought that maybe it had something to do with my own wireless network using the same IP naming scheme but this is clearly not the case since totally disconnecting from all other networks did not resolve the issue.
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Set up VoCore2 to connect over ethernet
Oh ye, just setup everything in firewall to ACCEPT
- Eyal
- Posts: 13
- Joined: Wed Dec 28, 2016 7:42 am
Re: Set up VoCore2 to connect over ethernet
I was looking at the same issue. I have no problem getting the Ethernet up, and can ping it, however I cannot ssh (port 22) [or browse (port 80)] to the vocore.
I would rather not open everything. A better solution is to edit /etc/config/firewall and uncomment the section port redirect of remapped ssh port (22001) on wan. There are section there for many other customisations.
BTW, ssh out of the vocore does work out of the box.
I would rather not open everything. A better solution is to edit /etc/config/firewall and uncomment the section port redirect of remapped ssh port (22001) on wan. There are section there for many other customisations.
BTW, ssh out of the vocore does work out of the box.
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: Set up VoCore2 to connect over ethernet
check /etc/config/firewall make sure wan, lan are all accept.
and better upgrade your firmware, new firmware we default enable that.
and better upgrade your firmware, new firmware we default enable that.
- hack-wizard
- Posts: 11
- Joined: Tue Dec 27, 2016 1:37 am
Re: Set up VoCore2 to connect over ethernet
Ok, now I'm getting an issue when trying to do the firmware update:
What's up with that? This is directly from your product page so it should work I would think ...
EDIT: Also saw a slightly later version so I downloaded & tried it as well, same results though.
- Code: Select all
hack@FranticFolf:~$ scp /home/hack/Downloads/ultimate.20161114.bin root@192.168.1.1:/tmp/vocore2.bin
root@192.168.1.1's password:
ultimate.20161114.bin 100% 6912KB 1.7MB/s 00:04
hack@FranticFolf:~$ ssh 192.168.1.1 -l root
root@192.168.1.1's password:
BusyBox v1.23.2 (2016-09-03 09:56:08 CST) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Chaos Calmer, r49378)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:~# sysupgrade /tmp/vocore2.bin firmware
Invalid image type.
Image check 'platform_check_image' failed.
What's up with that? This is directly from your product page so it should work I would think ...
EDIT: Also saw a slightly later version so I downloaded & tried it as well, same results though.
- noblepepper
- Posts: 240
- Joined: Sat Nov 29, 2014 3:22 pm
Re: Set up VoCore2 to connect over ethernet
Use only one argument with sysupgrade:
Will erase any configuration you have done. Recommended if you are having troubles.
Will try to keep the configuration changes you have made. Recommended if you have EVERYTHING working beautifully.
- Code: Select all
sysupgrade -n /tmp/vocore2.bin
Will erase any configuration you have done. Recommended if you are having troubles.
- Code: Select all
sysupgrade -c /tmp/vocore2.bin
Will try to keep the configuration changes you have made. Recommended if you have EVERYTHING working beautifully.
Who is online
Users browsing this forum: No registered users and 2 guests