Hi guys,
In need your help, i can't understand what I am doing wrong.
The problem is, when i connect an external embedded device to my laptop FreeBSD-11.1
the interface "ue0" appers in my dmesg. I can configure it well manually, but would like
to automatize the process with devd.
I added the following to /etc/devd.conf,
embedded machine.
I tried many times, to change many things, but i can't get it, the
line is not executed.
Do you see what i am doing wrong ?
What I see in my laptop "dmesg" is:
bye
n.
In need your help, i can't understand what I am doing wrong.
The problem is, when i connect an external embedded device to my laptop FreeBSD-11.1
the interface "ue0" appers in my dmesg. I can configure it well manually, but would like
to automatize the process with devd.
I added the following to /etc/devd.conf,
service devd restart
, then rebooted myembedded machine.
Code:
attach 100 {
device-name "ue0";
action "ifconfig ue0 inet 192.168.7.1 netmask 255.255.255.0";
};
I tried many times, to change many things, but i can't get it, the
ifconfig
line is not executed.
Do you see what i am doing wrong ?
What I see in my laptop "dmesg" is:
Code:
ugen1.2: <The FreeBSD Project httpswww.FreeBSD.org USB Ethernet Adapter> at usbus1
cdce0 on uhub1
cdce0: <USB Ethernet Comm Interface> on usbus1
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 2a:02:03:04:05:06
bye
n.