2017-06-29, 02:08 PM
Open a terminal and type "nano ~/.config/openplotter/openplotter.conf"
change eth0 to static
|
2017-06-29, 02:08 PM
Open a terminal and type "nano ~/.config/openplotter/openplotter.conf"
2017-06-29, 06:12 PM
(2017-06-29, 02:08 PM)abarrow Wrote: Open a terminal and type "nano ~/.config/openplotter/openplotter.conf" Not working... I'm getting this: Code: pi@openplotter:~ $ nano -/.config/openplotter/openplotter.conf I've also triet nano /.config/openplotter/openplotter.conf That is just an emty file... Same with sudo in front.
The first character isn't a dash "-" it is a tilde "~" (on my US keyboard is is left of "1").
If you are already in your pi home directory (it will look something like "pi@openplotter:~ $") just type "nano .config/openplotter/openplotter.conf".
2017-06-29, 07:11 PM
(This post was last modified: 2017-06-29, 07:19 PM by benjamingotke.)
Think i got it : Restarting Pi now
Okay I went to /.config/openplotter/openplotter.conf change enable 1 to enable 2 at wlan went to /etc/network/interfaces change eth0 dhcp to eth0 static and wrote what I had to do. Restart Pi Opened /etc/network/interfaces and got this: Code: File: /etc/network/interfaces No AP over wlan0 anymore.. Must set enable back to 1 and try something else. I've triet but bridge to eth0, but is it not seems working correctly. I'll try again in a moment and paste what I get.
2017-06-29, 09:25 PM
(This post was last modified: 2017-06-29, 10:04 PM by benjamingotke.)
Now i'm back to square 1;
I put wlan0 as access point(or openplotter did), use wlan1 for access wireless, bridge to eth0 my ifconfig looks like this: Code: br0 Link encap:Ethernet HWaddr b8:27:eb:27:b5:b7 My /etc/network/interfaces looks like this: Code: File: /etc/network/interfaces If I go to that in browser i see this: "Site is unreacheble" If I hook it in the wlan router that the wlan1 is connected to, I'll get the main controlpage.. I have tried unplugging wlan1, but no differents. If I then uncheck bridge to eth0 and put in eth0 as shared, it is on 255.255.0.0. This I cant change.. This is the networksettings on my relay. It is working on wlan1, but not on eth0. I dont want the wlan1 router on the boat. i'm only using that in my workshop for setting up the hole system before mounting on the boat. Network Configuration MAC Address E8:EAA:00:21:F6 IP Address 192.168.1.100 Gateway 192.168.1.1 Subnet Mask 255.255.255.0 Primary DNS 192.168.1.1 Secondary DNS 0.0.0.0
2017-06-29, 10:41 PM
So you only want a connection to 192.168.1.100 over eth0.
change ip in openplotter.conf to 192.168.1.1 Enable access point Enable bridge to eth0 Apply reboot In this mode OpenPlotter acts like a router (dhcp). When you connect a notebook or pc to the rpi over eth0 or wlan0 its identical it will get an ip in the 192.168.1.xxx Net.
2017-06-30, 01:20 PM
(This post was last modified: 2017-06-30, 03:44 PM by benjamingotke.)
WUHUUUUUU it is working
Well sort of. Now my accesspoint is down. It says its up and running, but cant see it with by computer or smartphone... This is now my ifconfig I triet put everything back in normal, but nothing is working now, except wlan1 Code: ifconfig Code: File: /etc/network/interfaces
2017-06-30, 05:29 PM
(This post was last modified: 2017-06-30, 06:16 PM by benjamingotke.)
Ive got the accesspoint back up again. Put in 10.10.10.1, restart and waited for two hours. So i'm back to basic.
Okay i got an update: Wlan0 is now running accesspoint as normal. 10.10.10.1 netmast 255.255.255.0 Perfect. Wlan1 unplugged eth0 share internet. eth0 on 255.255.255.0 perfect. plugged eth0 to router with internet and plugged relay to same router. get to 192.168.1.100 and wow! now i can control my relay. run sudo arp-scan --interface eth0 --localnet got printers, computers, relay and everything on the local net. Unplugged the internet from the router so only Openplotter and relay connected. ran sudo arp-scan --interface eth0 --localnet could see the relay - great! went to browser and tapped 192.168.1.100 but nothing... "This site can't be reached"....
2017-06-30, 09:50 PM
Maybe a route issue?
|
« Next Oldest | Next Newest »
|