Linux debian change the config??

jxnasa

New Member
Joined
Apr 7, 2021
Messages
6
Reaction score
2
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 :/
 


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 .
 
I installed it as an vm ware and it is an school poject. It is an quest from my teacher.
 
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:
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“
 
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.
 
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.
 
Ok but if i want wo open the file interfaces, there is nothing written in there
 
ok short story i live booted bare metal Debian Buster

vi , vim doesn't seem to be available nano is avaialble though

command was sudo nano /etc/network/interfaces
 

Attachments

  • network_debian.png
    network_debian.png
    109.8 KB · Views: 436
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.
 

Staff online

Members online


Top