|
Broadband-Hamnet™ Forum |
|
|
|
|
|
|
Subject :Re:HSMM with laptop-wifi or Tablet-Android..
2013-12-19- 04:25:29
|
|
|
sp2ong |
|
Member |
 |
Joined: 2013-10-30- 10:57:25
Posts: 72
Location: |
|
|
|
Forum :
How we used HSMM-MESH™
Topic :
BBHN with laptop-wifi and UBUNTU
Hi, Ok I have setup my laptop with linux UBUNTU and OLSR v0.6.6.1 to connect with my WRT54G HSMM Nodes. I have use part of code www HSMM-PI project to show status on my laptop UBUNTU via port 8080 like on WRT54. All working very well and now I can use in my home laptop with WIFI to connect HSMM Network. I have attached screen dump from my HSMM-Ubuntu status 73 Waldek
|
IP Logged
|
Last Edited On: 2013-12-23- 03:32:19 By sp2ong for the Reason
|
|
|
|
|
|
Subject :Re:Re:VPN..
2013-12-19- 03:14:58
|
|
|
VA3RRZ |
|
Member |
 |
Joined: 2013-08-26- 06:54:56
Posts: 15
Location: L'Orignal, Ontario, Canada |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
Really makes sense Johan, thanks. I, know nothing about VPN, and a bit about networking, so I got confused with the different Class C IPs used for the tunneling. Hence, I why I need to read up on GRE protocol and VPN.
At the moment, both routers are still not pinging the other Tunnel IP (192.168.80.1) on one and (192.168.80.2) on the other. I've been running parts of the scripts manually on both mesh routers which deal with assigning and checking IPs within the mesh router and with the IP check at millhill.org server. Both mesh routers are properly configured, as far as I can tell, responding with the proper IPs on the right Interfaces.
The WAN IPs on both mesh routers are updating the DynDNS server correctly after 5 minutes, when I manually put an incorrect IP in DynDNS. So that works fine.
The next thing I will focus on is both Internet router Firewalls. I will be putting both mesh router IPs in the DMZ of the Internet router and see how they react. Hopefully, it's just one or both routers blocking GRE or Port 1723.
Looking at the log files on my Internet router (Internet Sessions) I can see my router sending out a GRE request from my DHCP assigned WAN IP of the mesh router (192.168.1.101) to the outside WAN IP of the remote Internet router (which is listed correctly on DynDNS server). I see nothing in the System Activity log file accept for the mesh DHCP IP assignment. Next item, to check the logs of the remote Internet router to see what's happening there. |
IP Logged
|
Last Edited On: 2013-12-19- 06:34:37 By VA3RRZ for the Reason
|
|
|
|
|
|
Subject :Re:Re:VPN..
2013-12-18- 19:44:38
|
|
|
SM7I |
|
Member |
 |
Joined: 2012-04-30- 14:56:55
Posts: 79
Location: JO65mo |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
Ron,
The IP addresses for tunneling has nothing to do with the other interfaces except that it will be internally routed through the mesh and through the GRE tunnel.
Seen from a routing perspective you actually must use IP addresses on different subnets to make routing work. |
IP Logged
|
Last Edited On: 2013-12-18- 19:45:18 By SM7I for the Reason
|
IT infrastructure and security professional |
|
|
|
|
|
Subject :Re:SSH Access with Putty..
2013-12-18- 19:22:26
|
|
|
wb6pyk |
|
Member |
 |
Joined: 2013-12-03- 23:40:42
Posts: 2
Location: Camarillo, CA |
|
|
|
Forum :
Applications
Topic :
SSH Access with Putty
Paul, Here's one site that gives a step-by-step (note this is assuming you are coming in from a Linux/Unix system - my previous answer was specifically for Putty): http://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/ 73, Eric WB6PYK
|
IP Logged
|
|
|
|
|
|
Subject :Re:newbie needing help..
2013-12-18- 18:33:15
|
|
|
KF4PMY |
|
Member |
 |
Joined: 2013-06-15- 23:03:00
Posts: 5
Location: Kingsford Hieghts, IN |
|
|
|
Forum :
General
Topic :
newbie needing help
Well, I personally had no luck getting failsafe mode. But, on a long shot I did a 30/30/30 on the router. It rebooted saying the router needed to be set-up, then used root for user name and what I though I set the password at. The mesh gods blessed me and it work.
So now I'm updating it to bbhn and then I'll start playing with the other router. Thanks, for the help again Jason Hopkins KF4PMY
|
IP Logged
|
|
|
|
|
|
Subject :Re:SSH Access with Putty..
2013-12-18- 18:14:44
|
|
|
WA2ZE |
|
Member |
 |
Joined: 2013-07-16- 11:48:15
Posts: 2
Location: New Jersey |
|
|
|
Forum :
Applications
Topic :
SSH Access with Putty
I just tried this as well. Same results. I can SSH in but I have to supply the root login and my node's password every time. I would like to be able to SSH into the node without knowing the password. I'm not familiar with linux and just starting out with BBHN and networking in general. Any SSH tips?
73, Paul WA2ZE
|
IP Logged
|
|
|
|
|
|
Subject :Re:Lost password??..
2013-12-18- 15:49:38
|
|
|
|
|
|
|
Subject :Lost password??..
2013-12-18- 15:42:17
|
|
|
|
|
|
|
Subject :Re:Re:VPN..
2013-12-18- 07:18:33
|
|
|
VE3RRD |
|
Member |
 |
Joined: 2013-06-19- 16:54:27
Posts: 44
Location: Barrie, Ontario |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
Hi Ron,
One other statement that I should have added to the end of my last post was that it is the port number (1723) that is important and must remain the same from one end of the tunnel to the other, even though the IP's can change as the tunnel passes through routers etc. If you want to try something that is very useful when getting your mesh network tunneling operational; try forwarding ports 8080 and 1978 inside the meshnode. On the Setup/Port Forwarding screen, setup port forwarding for Interface:Both, Type:Both, Outside Port:8080, LAN IP:localnode, LAN Port:8080. Now you can be anywhere (even in a Tim Hortons) and access your node via this "internet back door" by using the URL from DynDNS port 8080. If you know the node password you can even access the Setup screen and reboot the node. If you also do port forwarding (to localnode) on port 1978, then you can also see the OLSR screen. Again use the DynDNS URL with port "1978/all".
73 |
IP Logged
|
Last Edited On: 2013-12-18- 07:20:29 By VE3RRD for the Reason
|
AL - VE3RRD
http://barrie-wax-group.dyndns.org
|
|
|
|
|
|
Subject :Re:Re:VPN..
2013-12-18- 03:54:01
|
|
|
VA3RRZ |
|
Member |
 |
Joined: 2013-08-26- 06:54:56
Posts: 15
Location: L'Orignal, Ontario, Canada |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
Ok Al, thanks for that quick reply. I think I understand. My only confusion was the tunnel IP's. I've never had the opportunity to setup a VPN. For the internal/public IP side. that I understand. So at least I know that I must learn how GRE 47 encapsulates the tunnel IP.s
Johan's and your reply will help me troubleshoot the network. Thanks very much for your patience. |
IP Logged
|
|
|
|
|
|
Subject :Re:Re:VPN..
2013-12-18- 03:43:49
|
|
|
VE3RRD |
|
Member |
 |
Joined: 2013-06-19- 16:54:27
Posts: 44
Location: Barrie, Ontario |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
Hi Ron, like I said, I'm no expert but my understanding of how the tunneling scripts work is like this: I could start by saying that my computer I'm typing this on has an IP (from my internet router) of 192.168.2.15 - so how can I be on the "internet" with this IP? Take a look at my document in the S51tun file for ve3rrd-shack. This node is configured for 3 separate tunnels and in the section called # IP handling, there are several variables which are used to store the IP's (both public and LAN). For example ip0 stores the IP for port eth0.1 which is the WAN port of the mesh node (and in my case will have an IP of 192.168.2.36 /24). Variable ip1 stores the public/external IP for node ve3rrd-portable1 (which was obtained from my DynDNS account).
Now if you look at the section # Tunnel to ve3rrd-portable1.ham-radio-op.net, the first line adds tun1 with a local (node WAN port) IP of variable ip0 and a remote (external/public) IP of variable ip1.
So the IP's used in the node (192.168.70.1, 192.168.80.1 etc) are only to keep track of things inside the node, and the IP's used by my internet router (192.168.2.36, 192.168.2.15 etc) and only to keep track of things inside the internet router. The tun1, tun2 etc. GRE tunnel connections (via port 1723) are from my internet router's external/public IP to the external/public IP of the node at the other end.
Hope I got that correct. 73 |
IP Logged
|
Last Edited On: 2013-12-18- 03:45:21 By VE3RRD for the Reason
|
AL - VE3RRD
http://barrie-wax-group.dyndns.org
|
|
|
|
|
|
Subject :Re:Re:VPN..
2013-12-18- 02:11:02
|
|
|
VA3RRZ |
|
Member |
 |
Joined: 2013-08-26- 06:54:56
Posts: 15
Location: L'Orignal, Ontario, Canada |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
Thanks Johan, will try that. |
IP Logged
|
|
|
|
|
|
Subject :Re:VPN..
2013-12-18- 02:04:07
|
|
|
VA3RRZ |
|
Member |
 |
Joined: 2013-08-26- 06:54:56
Posts: 15
Location: L'Orignal, Ontario, Canada |
|
|
|
Forum :
Problems & Answers
Topic :
VPN
I'm still confused and need help with explaining what subnet mask to use in our Internet routers. Al-VE3RRD mentions that his router issued his mesh an IP 192.168.2.36 subnet mask 255.255.255.0. This means that the router is issuing IPs in range of one class C network: #2 (X.X.2.X). So how is traffic on the tunnel IP 192.168.80.1 & 192.168.80.2 get routed out of the Internet router when it's on a different class C network: X.X.80.X. The Internet router is only going to handle traffic on it's own X.X.2.X. network. Hence, why I thought the Internet router's subnet mask needed to be changed to 255.255.0.0 to handle this. Johan's document makes no mention of what IP his Internet router is issuing, only that it's a static IP, so I couldn't determine if his Wan IP is the located on the same tunnel class C network of X.X.1.X.
Or should I make the deduction that GRE 47 protocol handles this?
We've also downgraded our tunnel routers to V0.43 and unfortunately, one got bricked during the downgrade. Luckily we had a spare at the other and and got it configured. Thanks for being patient during my learning curve. |
IP Logged
|
Last Edited On: 2013-12-18- 03:12:44 By VA3RRZ for the Reason
|
|
|
|
|
|
Subject :Re:OLSR Switch on Windows works to connect directly to the mesh...
2013-12-17- 08:53:33
|
|
|
kv4pc |
|
Member |
 |
Joined: 2013-09-30- 20:06:03
Posts: 47
Location: Madison, AL |
|
|
|
Forum :
Applications
Topic :
OLSR Switch on Windows works to connect directly to the mesh.
I agree that is strange. But I have seen a straight "ad-hoc" connection to a mesh node's SSID work intermittently. I suspect that OLSR did not come up and that might be what you have and why no nodes are showing. Can you ping everything on your mesh? Or just the strongest neighbor?
It might be useful to see a screen shot of the Routes and Settings tabs in OLSR Switch as well as the output from route -print and ipconfig /all. You can write me at kv4pc@qsl.net if you would rather not share with the everyone. 73; Bob KV4PC
|
IP Logged
|
|
|
|
|
|
Subject :Re:OLSR Switch on Windows works to connect directly to the mesh...
2013-12-17- 08:39:11
|
|
|
W5LMM |
|
Member |
 |
Joined: 2012-02-13- 18:18:04
Posts: 126
Location: Albuquerque, NM |
|
|
|
Forum :
Applications
Topic :
OLSR Switch on Windows works to connect directly to the mesh.
OK, now here's where it gets WEIRD. I am connected to the BBHN node and have FULL internet access with DNS working just fine. (yes my mesh is normally internet connected)
The odd thing is, the OLSR Switch shows no nodes at all.... What the heck??
Look at this screen shot.
|
IP Logged
|
|
|
|
|
|
Subject :Re:HSMM with laptop-wifi or Tablet-Android..
2013-12-17- 05:16:47
|
|
|
sp2ong |
|
Member |
 |
Joined: 2013-10-30- 10:57:25
Posts: 72
Location: |
|
|
|
Forum :
How we used HSMM-MESH™
Topic :
BBHN with laptop-wifi and UBUNTU
Hi, I have import project HSMM-PI for RasberryPI to my UBUNTU linux on laptop and it is look working scanning and configuration. I will try to use this on my latop to connect with my WRT54 HSMM. I have attached screendump from HSMM-Linux on my UBUNTU 73 Waldek sp2ong
|
IP Logged
|
Last Edited On: 2013-12-17- 05:25:12 By sp2ong for the Reason
|
|
|
|
|
|
Subject :Re:HSMM with laptop-wifi or Tablet-Android..
2013-12-17- 03:42:08
|
|
|
KG1L |
|
Member |
 |
Joined: 2013-06-28- 12:53:53
Posts: 18
Location: Owings, MD |
|
|
|
Forum :
How we used HSMM-MESH™
Topic :
BBHN with laptop-wifi and UBUNTU
This may not be what you had in mind, but one option is to set up an access point, directly wired LAN port to LAN port, to a mesh node.
ANY wireless access point with at least one LAN port can be used. It DOES NOT have to be a Linksys router.
Since it is not using radio to talk to the mesh network, it does not have to operate under Part 97. It does, however allow direct access to the mesh so it needs to be secured.
If operated under Part 15, which I highly recommend, it can and should have encrypted access control (WAP2, for example).
With this setup, any authorized user can connect to the BBHN using any wirless device that can connect to an access point.
NOTE: Do not have both the mesh node and the access point provide DHCP. The typical approach would be to disable DHCP service on the access point and have it get its IP address from the mesh node. |
IP Logged
|
|
|
|
|
|
Subject :Re:Getting involved. Let's build something...
2013-12-17- 02:03:15
|
|
|
|
|
|
|
Subject :Re:Getting involved. Let's build something...
2013-12-17- 01:54:05
|
|
|
|
|
|
|
Subject :Re:HSMM with laptop-wifi or Tablet-Android..
2013-12-17- 01:46:02
|
|
|
sp2ong |
|
Member |
 |
Joined: 2013-10-30- 10:57:25
Posts: 72
Location: |
|
|
|
Forum :
How we used HSMM-MESH™
Topic :
BBHN with laptop-wifi and UBUNTU
Ok, but I know that is problem with use secret shared key at current firmware but ist small protection without use cryptographic. But it maybe we back in next relase firmware to use secret shared key |
IP Logged
|
|
|
|
|