OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of nemric »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - nemric

Pages: [1] 2
1
22.1 Legacy Series / Re: Question relative to dnsmasq
« on: February 02, 2022, 05:23:48 pm »
Your status is the right one : Hero Member

2
22.1 Legacy Series / Question relative to dnsmasq
« on: February 02, 2022, 03:39:36 pm »
Hi,

I was using dnsmasq as a tftp boot server, after update to 22.1, and going back to 21.7 and back again to 22.1 I've lost all my files and so on ... not the real problem

I'd like to set it up again but it seems that custom-options are not available anymore (I knew that, it was said in an previous update) and it seems that /usr/local/etc/dnsmasq.conf isn't read. (didn't try yet but all lines are commented out)

It seems that conf is read from the config file from opnsense and executed with arguments
e.g.
Code: [Select]
/usr/local/sbin/dnsmasq --rebind-localhost-ok --stop-dns-rebind -H /var/etc/dnsmasq-hosts --port=5353 ...
My concern is about how to "hack" and set custom values to dnsmasq.conf (or elsewhere) to set my tftp server on again ?

3
22.1 Legacy Series / Re: DHCP send option not sent
« on: February 01, 2022, 07:35:04 pm »
Quote from: franco on February 01, 2022, 01:33:21 pm
More places nobody reads proactively and complains about documentation quality when things went wrong. Yay! :)

you're rude, but this is real.

I've noticed changes about vlan and mac spoofing but advice was clear for me, mac spoofing only concern the interface where it was set ... in my case I leave it as is, this was an error

So now my issue is resolved, thanks to you, and doc is updated for being more complete, that's a good point !

Thanks again

4
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 07:50:19 pm »
Thanks a lot @Franco for the time you spent for us  ;)

5
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 07:21:01 pm »
Well, I don't understand everything as it become a bit technical...

The option I've choosen, as I'm writing through a 22.1 live os :
  • enable wan interface, without any "IPv4-6 Configuration Type" (set to "none")
  • enable Promiscuous mode on wan interface
  • leave vlan interface with spoofed mac as is

let me know if you find my choice is fine or if you think I should have set the same mac on wan and vlan

6
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 04:54:06 pm »
Quote from: nivek1612 on January 31, 2022, 04:48:37 pm
If I add this mac address to the VLAN parent interface as well I get an IP address and all is working well.

Is that how it should work ? What if you have another vlan with spoofed mac with the same parent ?

7
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 04:44:25 pm »
English is not my native language so I'm not sure about this point.

The wan (em1) interface is disabled on 21.7 and have no mac spoofing in its conf
The vlan100 which parent is em1/wan (em1_vlan100) use the spoofed mac address in its config (Mac adress : This field can be used to spoof the MAC address of the interface. Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx or leave blank if unsure. This may only be required e.g. with certain cable connections on a WAN interface.)

[edit] The mac address sent by dhclient is the good one, see it in the .cap file

8
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 03:31:02 pm »
Hi,
So, I did it, and that didn't work but I have a clue !

Quote from: nivek1612
you won't believe this. turned on capture. re saved WAN. now its shows an IP

Like Nivek, I turned on capture in promiscuous mode and I get an IP !

I was working with the live OS and the new dhclient from 22.1 (not the one you ask me to download)

9
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 02:38:22 pm »
Quote from: franco on January 31, 2022, 01:08:42 pm
nemric: in your case the discover is never answered. have you had your VLAN parent assigned and enabled? it looks like the outgoing package is never received by the other end.

 ::) vlan is assigned to a parent but as I don't need it the parent is disabled, that's my 21.7 config

10
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 31, 2022, 12:32:59 pm »
Yes I always have the pcap I've done when it fails.

I have changed my mac, Manufacturer_xx:xx:xx (xx:xx:xx:xx:xx:xx), the requested IP : Requested IP Address (123.123.123.123) and the hostname : hostname


11
22.1 Legacy Series / Re: Can't write image to USB key
« on: January 30, 2022, 08:39:42 pm »
Quote from: karlson2k on January 30, 2022, 04:47:50 pm
I made my flash drive with the OPNsense installer using Rufus by feeding it an uncompressed image.

Did you do it on windows ?
I've tried multiple images, and the only one that work was v21.7 :-/

well, It's done now with opnsense command line ...

12
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 30, 2022, 04:02:44 pm »
So, I tried to replace dhclient on the USB key and then try to boot on live OS

My Vlan didn't obtain any ip again, the pb seems to be elsewhere :(

13
22.1 Legacy Series / Re: Can't write image to USB key
« on: January 30, 2022, 03:39:48 pm »
Hi,
 I finally make it work, in CLI with "dd if=OPNsense-22.1-OpenSSL-vga-amd64.img of=/dev/da0 bs=16k status=progress" command directly from opnsense
Didn't try to boot yet but dd didn't return any errors

I did try with etcher, it fails,with compressed and uncompressed img ....

14
22.1 Legacy Series / Re: DHCP send option not sent
« on: January 30, 2022, 03:26:14 pm »
Quote from: marjohn56 on January 29, 2022, 06:31:01 pm

Yes please, if you can run up 22.1 and then copy the dhclient over to that and reboot, see if it works... if not then we need to look elsewehere for the issue, but I suspect that it's the client.


I finally make the image of 22.1 written on an USB key, see other post ...

What if I write your Dhclient on the USBkey to test it from live boot ? will the test be the same ?
To be honest I don't really want to update, test, reinstall(or not) and so on ^^ but I agree to make some test !

15
22.1 Legacy Series / Re: Can't write image to USB key
« on: January 30, 2022, 01:29:02 pm »
Hi,

[/quote]
What exactely do you mean by writing fails? Is the created USB media not bootable?
[/quote]

That means that Rufus fails to write the image on the key near 4% of the writing process.

Do you mean that you have successfully written the image ?

Pages: [1] 2
OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2