Hi,
USB Tethering enables internet access over USB. I need to use
When I log in in single user mode and plug my phone in or turn on USB Tethering a message comes up-
ugen5.2: <MediaTek> at usbus5
I wasn't really sure what to do with the little information I have, here were my attempts in /etc/devd.conf
Actually I tried to check if anything I did in devd.conf worked with the line
but it never opened.
I expect it's pretty easy.
Thanks
USB Tethering enables internet access over USB. I need to use
sudo
to run dhclient ue0
, but I would rather log in as a user without sudo privileges for day to day use, so I would like to make it automatic. I understand I could do this with devd.confWhen I log in in single user mode and plug my phone in or turn on USB Tethering a message comes up-
ugen5.2: <MediaTek> at usbus5
Code:
$ sudo usbconfig list
...
ugen5.2: <VF-795 MediaTek> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
I wasn't really sure what to do with the little information I have, here were my attempts in /etc/devd.conf
Code:
#attach 0 {
# device-name "ugen5.2";
# action "/etc/rc.d/dhclient ue0";
#};
#notify 0 {
# match "system" "USB";
# match "subsystem" "INTERFACE";
# match "type" "ATTACH";
# action "/etc/rc.d/dhclient ue0";
#};
#attach 0 {
# device-name "VF-795 MediaTek";
# action "/etc/rc.d/dhclient ue0";
#};
Actually I tried to check if anything I did in devd.conf worked with the line
Code:
action "mousepad /boot/loader.conf";
I expect it's pretty easy.
Thanks