Linux debian change the config??

jxnasa

New Member
Credits
41
Hello I am supposed to change my internet config in Debian and open the file / etc / network / interfaces.
However, this cannot be opened in itself, so I went to the path / etc / network and tried to open interfaces with an editor. It didn't work either. Now I am overwhelmed and need your help.

What do I have to do to change the config :/
 


captain-sensible

Well-Known Member
Credits
9,729
lets back up a little; who said i have to change my internet config ?

I'm a slackware user but looking into Debian (as well as Arch). Debian philosophy was to be "free" as per Richard Stallman. Wifi software unfortunately usually isn't. So depending on your iso it may be lacking firmware. Theres a lot of gaps in your info which we would like to know ; for instance did you try Debian live from a usb first and everything was Ok network-wise or you just went for direct install ? wifi is the issue or ethernet also not working ? I can tell you that i have debian-live-10.9.0-amd64-xfce+nonfree.iso (you see the nonfree bit) on a usb and have no problems connecting to internet .
 

captain-sensible

Well-Known Member
Credits
9,729
ok you can start by looking in /etc/network/interfaces.d

permissions may block you looking around, but you can always use "cat' command as normal user to get contents of a file

what is the output of :

Code:
apt-cache policy ifupdown

to change config, it can be done manually , but is there any stipulation not to use a config tool ?
 
Last edited:

jxnasa

New Member
Credits
41
The output is: ipupdown: installed : 0.8.35

installation canidate: 0.8.35

and we have to use an text editor.

I already looked in interfaces.d and saw that there is something written.


Symbol „Von der Community überprüft“
 

Vrai

Well-Known Member
Credits
3,703
Hello I am supposed to change my internet config in Debian and open the file / etc / network / interfaces.
However, this cannot be opened in itself, so I went to the path / etc / network and tried to open interfaces with an editor. It didn't work either. Now I am overwhelmed and need your help.

What do I have to do to change the config :/
You probably need to be "root" or "superuser" or "administrator".

Also, you may need to use "Vi" to edit the config.
 

Vrai

Well-Known Member
Credits
3,703
wdym with i need Vi? I am logged in as root
"Vi" = Vim Improved.
A text editor (and so much more). It is akin to EMACS.
Do a search for Vi, Vim, and Emacs and you will learn what I am referring to.
It should not matter which text editor one uses but I have read tutorials where "Vi" was specifically required. There may be built-in functions which affect the end result.
 

craigevil

Member
Credits
515
vim-tiny is usually installed, but nano is the default editor. Nano is much easier for a newbie. Heck after almost 20 yrs of using linux I have yet to be bothered with learning to use vi/vim.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Top