Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bartjsmit

#2131
Development and Code Review / Re: OPNsense API
February 13, 2016, 11:38:33 AM
Hi Ad,

I'm looking for an API for backups. I cloned the core branch off github and ran the search for the Api directories you mentioned. I found the seven directories:

src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api
src/opnsense/mvc/app/controllers/OPNsense/Core/Api
src/opnsense/mvc/app/controllers/OPNsense/Cron/Api
src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api
src/opnsense/mvc/app/controllers/OPNsense/IDS/Api
src/opnsense/mvc/app/controllers/OPNsense/Proxy/Api
src/opnsense/mvc/app/controllers/OPNsense/TrafficShaper/Api

I did a 'grep -i backup *' in these but got no hits.

Does that mean that there is no call to download a backup configuration (yet)?

Bart...
#2132
I see the same problem on a Dell OptiPlex 745 using the 16.1 64-bit nano image and on a Dell Latitude 2100 using the 16.1 32-bit nano image.

Both were dd-ed under Linux to a SanDisk Cruzer 4GB USB stick. The Dell 745 runs 64-bit 16.1 just fine upgraded from 15.7. When I tried the 15.7 nano image on the 745, I also had the same issue: POST and then flashing cursor.

Bart...
#2133
Hi Mattia,

The VT8325 south bridge chip in the picture makes the board either an Athlon board with a KT400 chipset, or an P4 board with a P4X333/P4X400 chipset according to Wikipedia https://en.wikipedia.org/wiki/List_of_VIA_chipsets.

All these support PCI version 2.2 if you are still looking for an ADSL card. I think your biggest problem will be to find one that is supported by the FreeBSD 10.2 kernel

Bart...
#2134
Is there a model number silkscreened on the circuit board?
#2135
Hi Mattia, the white slots are PCI and the brown one is a PCI express x16 slot.

Bart...
#2136
Hi Mattia,

Once I change providers, I will be able to test my hypothesis on PPPoE. The modem has selections for IPv4 and IPv6 and I shall check their effect in bridge mode.

I have no experience with Zyxel devices, just the TP-Link and a Buffalo WBMR-HP-G300H. The latter worked great with DD-WRT firmware in bridging mode. In fact, I got the TP-Link modem so I could get the Buffalo back as a WiFi AP.

Bart...
#2137
Hi Mattia,

The model I bought from Amazon UK is Version 8.2 of the TD-8817 which proudly sports an IPv6 sticker on the box. I'm switching to a native IPv6 ISP in little over a week, and I'll then be able to test more thoroughly. I am currently using SixXs tunnels, which are of course absolutely fine.

I'm thinking that when the modem is in bridge mode, it won't make any difference anyway. Remember that PPPoE encapsulates Ethernet (layer 2) frames through an IPv4 connection to the ISP. The IPv6 compatibility is therefore between the network card of your OPNsense and the ISP access layer switch.

As far as reliability goes, I originally looked at the Draytek Vigor 120 ADSL modem but was dissuaded by the many reviews about poor lifespan. I have had TP-Link kit before and it has lasted marginally better than average for consumer devices. At 20% of the price of the Vigor, the choice was easy.

Bart...
#2138
I use the TP-Link TD-8817 in bridging mode and set OPNsense to do the PPPoE login through an Ethernet NIC.

Bart...
#2139
Tutorials and FAQs / Script to send emails for updates
January 20, 2016, 02:02:16 PM
This script follows on from the example in the 'Using the API Howto' wiki entry. https://wiki.opnsense.org/index.php/Howto_use_the_API

Replace the redacted api_key and api_secret strings with your own and set the URL of your OPNsense instance as well as your name/email address.

It requires an MTA (set to localhost in the script) and can be run from cron. Tested with Python 2.7.5-34 on CentOS 7.