Where is the equivalent of /etc/sysconfig/networking/devices/ directory in Ubuntu?

I am trying to set up a usb gsm Modem. I can't find /etc/sysconfig/networking/devices/ directory to put the driver configuration file into.

In Ubuntu where can i find this directory? I want to put /etc/sysconfig/networking/devices/ifcfg-Verizon_USB file wherever it needs to go.

The contents are:

ONBOOT=no
USERCTL=yes
PEERDNS=yes
TYPE=Modem
DEVICE=ppp0
BOOTPROTO=dialup
CCP=on
PC=on
AC=on
BSDCOMP=on
VJ=on
VJCCOMP=on
LINESPEED=115200
MODEMPORT=/dev/cellphone
PROVIDER=VerizonQNC
DEFROUTE=yes
PERSIST=no
PAPNAME=qnc
WVDIALSECT=Verizon_USB
MODEMNAME=Modem_USB
DEMAND=no

2 Answers

This is an area where the Debian and Red Hat families really differ. Network interfaces in Debian/Ubuntu are not defined by files in /etc/sysconfig/network-scripts (as you have noticed, there isn't even a /etc/sysconfig directory), but by /etc/network/interfaces. To learn more, check out the manpage online or run man interfaces on your Debian/Ubuntu system.

5

/etc/sysconfig/network-scripts, doesnt exist on _buntus. It is under /etc/NetworkManager/system-connections as 'team-slave-enp0s25.nmconnection' for example, because it uses the newer nmcli and network-manager.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like