Comments (4)
@cchamb2 We actually don't want netplan to touch the NIC. So far in my testing netplan hasn't touched the second NIC, so things are working correctly. I'll add documentation for how to stop netplan touching the NIC if it's already done something to it.
CoovaChilli will handle setting up the second NIC through the tunnel it creates (normally tun0)
from grase-www-portal.
from grase-www-portal.
That's to be expected. Until CoovaChilli is running correctly, ifconfig
won't show you the interface (as it's in a down state). ifconfig -a
should show it though.
In the current V4 packages, make sure you head to /grase/settings/advanced/
and set the networkLanInterface
and networkWanInterface
correctly otherwise CoovaChilli won't start.
For example, my test VM before CoovaChilli has started shows the following (showing ifconfig -a
will show all the network interfaces. Note that ens9
is missing the UP
flag)
$ ifconfig
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.66 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::5054:ff:fe83:3d7c prefixlen 64 scopeid 0x20<link>
ether 52:54:00:83:3d:7c txqueuelen 1000 (Ethernet)
RX packets 764 bytes 144722 (144.7 KB)
RX errors 0 dropped 70 overruns 0 frame 0
TX packets 323 bytes 150981 (150.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 112 bytes 9096 (9.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 112 bytes 9096 (9.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ ifconfig -a
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.66 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::5054:ff:fe83:3d7c prefixlen 64 scopeid 0x20<link>
ether 52:54:00:83:3d:7c txqueuelen 1000 (Ethernet)
RX packets 877 bytes 160720 (160.7 KB)
RX errors 0 dropped 87 overruns 0 frame 0
TX packets 365 bytes 156153 (156.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens9: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:eb:3f:4a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 112 bytes 9096 (9.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 112 bytes 9096 (9.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
After I configure networkLanInterface
and networkWanInterface
and the cronjob (runs every 5 minutes) picks up the change and configures dnsmasq
and coovachilli
correctly I get the following. ens9
now has the UP
flag and no IP address, and tun0
is running with the LAN IP address.
$ ifconfig
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.66 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::5054:ff:fe83:3d7c prefixlen 64 scopeid 0x20<link>
ether 52:54:00:83:3d:7c txqueuelen 1000 (Ethernet)
RX packets 1590 bytes 251306 (251.3 KB)
RX errors 0 dropped 132 overruns 0 frame 0
TX packets 681 bytes 193964 (193.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens9: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
inet6 fe80::5054:ff:feeb:3f4a prefixlen 64 scopeid 0x20<link>
ether 52:54:00:eb:3f:4a txqueuelen 1000 (Ethernet)
RX packets 11 bytes 940 (940.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 1266 (1.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 136 bytes 12398 (12.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 136 bytes 12398 (12.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tun0: flags=81<UP,POINTOPOINT,RUNNING> mtu 1500
inet 10.1.0.1 netmask 255.255.255.0 destination 10.1.0.1
inet6 fe80::1231:51bd:cff3:4f08 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 9 bytes 813 (813.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11 bytes 1066 (1.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
from grase-www-portal.
First run wizard mostly implemented (networking part is). https://grasehotspot.org/documentation/v4-nightly-builds/ has details about only setting up WAN interface. If we need, we can add netplan commands to docs as well.
from grase-www-portal.
Related Issues (20)
- Cleanup backups
- Updated install instructions HOT 1
- [POLL] HTTP tracking (and caching) HOT 5
- after Upgrade and dist-Upgrade HOT 1
- Convert tables to InnoDB
- Ensure Hotspot Server can communicate back to clients
- Facebook Login HOT 1
- [V4] Feature Request: Realtime bandwidth monitoring HOT 3
- Demo Login is not working HOT 1
- Unmet Dependencies : Debian Latest Stable HOT 1
- V4 Dnsmasq listening IP
- Feature Request: Backup / Restore DB HOT 1
- First run wizard
- Analytics (global for the project)
- Group configuration: Assigning different volume and speed limitations to a Group depending on the time of day
- Hi, can anybody here help me ? (Auto login of users within 48 hours of first login) HOT 1
- Check all CoovaChilli (ChilliSpot-Config) radius options are exposed
- Adding groups missing in V4
- Development Status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grase-www-portal.