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 - Mattia_98

#1
Swapping the RAM did not fix the issue.

Interestingly `check -B` also fails:


root@OPNsense:~ # pkg check -d
Checking all packages: 100%
root@OPNsense:~ # pkg check -B
Checking all packages:  58%Child process pid=94279 terminated abnormally: Segmentation fault
#2
Hello,

I've been trying to upgrade my 21.7 OPNsense box, but every time I try I get a Segmentation fault during the checking phase. I also tried via shell using pkg-static but I get the same result. Here is the log:


Fetching change log information, please wait... done

This will automatically fetch all available updates and apply them.

This update requires a reboot.

Proceed with this action? [y/N]: y

Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (76 candidates): .......... done
Processing candidates (76 candidates): .......... done
Checking integrity...Child process pid=6531 terminated abnormally: Segmentation fault
Starting web GUI...done.
Generating RRD graphs...done.



Any idea what could be the issue?
#3
Great, thank you senser and mimugmail for the information!
#4
Hi,

I've been reading the 20.7 changelog and noticed this line:

Quoteo legacy MPD5 plugins os-l2tp, os-pppoe and os-pptp are no longer available

What does this mean? Is PPPoE not supported anymore?

Thanks in advance
-Mattia
#5
Hey klontje,

thank you very much for the insight. I guess that 4G full-size PCIe cards do just not exist.

I went with your advise and bought a E3372h and flashed it (for reference, using this guide: https://www.0xf8.org/2017/01/flashing-a-huawei-e3372h-4g-lte-stick-from-hilink-to-stick-mode/).

It works perfectly under Linux, no problems at all. Though I have been having difficulties getting it to work under OPNsense. I've used this guide https://docs.opnsense.org/manual/how-tos/cellular.html to setup the stick but I've just been getting errors getting it to work.

Here the PtP log after a cold boot:
2020-04-03T18:34:51 ppp: [opt1_link0] Link: reconnection attempt 4 in 4 seconds
2020-04-03T18:34:51 ppp: [opt1_link0] LCP: Down event
2020-04-03T18:34:51 ppp: [opt1_link0] Link: DOWN event
2020-04-03T18:34:51 ppp: [opt1_link0] MODEM: Fail to open serial port /dev/cuaU0.1 on speed 115200
2020-04-03T18:34:51 ppp: [opt1_link0] uu_lock(cuaU0.1): read error: File exists
2020-04-03T18:34:51 ppp: [opt1_link0] Link: reconnection attempt 3
2020-04-03T18:34:48 ppp: [opt1_link0] Link: reconnection attempt 3 in 3 seconds
2020-04-03T18:34:48 ppp: [opt1_link0] LCP: Down event
2020-04-03T18:34:48 ppp: [opt1_link0] Link: DOWN event
2020-04-03T18:34:48 ppp: [opt1_link0] MODEM: Fail to open serial port /dev/cuaU0.1 on speed 115200
2020-04-03T18:34:48 ppp: [opt1_link0] uu_lock(cuaU0.1): read error: File exists
2020-04-03T18:34:48 ppp: [opt1_link0] Link: reconnection attempt 2
2020-04-03T18:34:45 ppp: [opt1_link0] Link: reconnection attempt 2 in 3 seconds
2020-04-03T18:34:45 ppp: [opt1_link0] LCP: Down event
2020-04-03T18:34:45 ppp: [opt1_link0] Link: DOWN event
2020-04-03T18:34:45 ppp: [opt1_link0] MODEM: Fail to open serial port /dev/cuaU0.1 on speed 115200
2020-04-03T18:34:45 ppp: [opt1_link0] uu_lock(cuaU0.1): read error: File exists
2020-04-03T18:34:45 ppp: [opt1_link0] Link: reconnection attempt 1
2020-04-03T18:34:42 ppp: [opt1_link0] Link: reconnection attempt 1 in 3 seconds
2020-04-03T18:34:42 ppp: [opt1_link0] LCP: Down event
2020-04-03T18:34:42 ppp: [opt1_link0] Link: DOWN event
2020-04-03T18:34:42 ppp: [opt1_link0] MODEM: Fail to open serial port /dev/cuaU0.1 on speed 115200
2020-04-03T18:34:42 ppp: [opt1_link0] uu_lock(cuaU0.1): read error: File exists
2020-04-03T18:34:42 ppp: [opt1_link0] LCP: LayerStart
2020-04-03T18:34:42 ppp: [opt1_link0] LCP: state change Initial --> Starting
2020-04-03T18:34:42 ppp: [opt1_link0] LCP: Open event
2020-04-03T18:34:42 ppp: [opt1_link0] Link: OPEN event
2020-04-03T18:34:42 ppp: [opt1] Bundle: Interface ng1 created


Maybe you used another firmware for the stick or you used another guide?
I would appreciate the help.
#6
Hardware and Performance / Recomended 4G PCIe modems
March 21, 2020, 10:55:25 PM
Hello,

I've been thinking of adding a 4G connection to my network since there doesn't seem to be a fibre connection coming in the foreseeable future and I recently saw an unlimited plan by a mobile provider.
Most modems I could find where USB ones with no indication if they are compatible with FreeBSD.
Ideally, I'd want a full-size PCIe 4G modem that I can add to the Firewall so that I don't have any extra external hardware (for ADSL I currently have an external modem).
What are the recommended modems for OPNsense?
I've already searched the forums and found nothing.

I'd really appreciate some help! Thanks.

Regards,
Mattia
#7
Anyone?

Sent from my Nexus 5 using Tapatalk

#8
Hi,
I was wondering if I could route all the traffic from the LAN interface through a proxy on the WAN interface.

Here is the scenario:
In every class in school there are 2-3 Ethernet ports attached to the school network. To access the internet we need to configure the proxy server and login with our credentials. What I was hoping is that if I install OPNsense on an old laptop (witch I already did) I could just create a hotspot and route everything through that proxy with a certain credential. This is when we need internet in class either through our personal laptops, tablets or cellphones. Yes, I could just attach a mini AP and let everyone configure the proxy but that wouldn't be fun, right?
First I want to get the above working and make a backup of the config so I can get back to it later if I wish.
Level 2:
We also have multiple WLANs at school for different purposes. In 4th class, we got permissions and access to connect to one of the WLANs to get to the internet. The twist: it's a Radius Network. So on my laptop, for instance, I have to get the certificate, install it, connect to the wifi with my school credentials and then also configure the proxy and login there as well. Here the same thing: I want to attach an USB wifi-dongle to route everything from the LAN Interface (the Hotspot) through the proxy at the WAN interface (that WiFi).

Any suggestions at where to start?
I got OPNsense up and running on an old laptop and did some tests at home.

Thank you!!  :-* :-*

Mattia
#9
Quote from: AdSchellevis on February 08, 2016, 06:16:00 PM
Hi Mattia,

I've build a 32bit version package for you to download.

pkg add -f https://pkg.opnsense.org/snapshots/i386/dmidecode-3.0.txz

Regards,

Ad

Thank you very much. It works!! You're awesome!

Here is the result:
http://pastebin.com/FQdBufTT
#10
Quote from: AdSchellevis on February 07, 2016, 06:34:19 PM
Hi Mattia,

It will be available automatically when we do a build again for the next version of OPNsense, unfortunately I don't have a 32bit machine at hand at the moment to provide you with one now.

Regards,

Ad
Ok thanks [emoji6] [emoji6]

Sent from my Nexus 5 using Tapatalk

#11
Quote from: AdSchellevis on February 07, 2016, 06:20:50 PM
Hi Mattia_98,

I've added the sysutils/dmidecode package to our ports config and did a amd64 build on my machine.

In case you don't want to wait for the next release (and your using 64bit), you can install the package I build by executing this:

pkg add -f https://pkg.opnsense.org/snapshots/dmidecode-3.0.txz


Regards,

Ad
Hi AdSchellevis,
thank you very much. I do have a 32-bit system so I can't try it now.
Will this package be added in the next version? Then I only have to upgrade and run "pkg install dmidecode" on the system?

Thank you,
Mattia

Sent from my Nexus 5 using Tapatalk

#12
Hi guys,

so, a friend of mine had an old Netgear router lying around in his attic and just gave it to me. Therefore I didn't buy any new modem but just took his router and put it into bridge mode. I set up PPPoE whit OPNsense and everything worked after a few hours of tinkering. I didn't try out IPv6 but I will in near future and let you know. I'm gonna look at those modems again if the Netgear should fail. Thank you all for the help. I really appreciate it.
Thank you also for the help with my box; even thou I'm not gonna use an ADSL card, it's still nice to know whats inside that PC.

Thank you very much,
Mattia

P.S.:
How can I install dmidecode on OPNsense? pkg install dmidecode says there is no such package but there should...
#13
Nope, cant find any

Sent from my Nexus 5 using Tapatalk

#14
Sorry for not responding. I was very busy..
I post the infos ASAP
#15
Hi,

while searching for modems and visiting the manufacturers sites I found the ZyXEL AMG 1001. Seems pretty good and has IPv6 support. What do you guys think?

Thanks,
Mattia