LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-11-2021, 10:57 AM   #1
jjanderson5
LQ Newbie
 
Registered: Nov 2003
Location: Saylorsburg, PA, US
Distribution: Bunsenlabs Hydrogen
Posts: 24

Rep: Reputation: 0
installing buster 10.5: can't get networking setup


I am installing Bunsenlabs Lithium 2.1 which is a derivative of Buster 10.5. I have been following the instructions that I found at:

https://linuxconfig.org/how-to-setup...n-debian-linux

As suggested, I did the following steps:

1) systemctl stop NetworkManager.service
2) systemctl disable NetworkManager.service
3) Created a /etc/network/interfaces file:

Code:
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

allow-hotplug eno1
4) Created a /etc/network/interfaces.d/eno1 file

Code:
iface eno1 inet static
    address 192.168.1.235
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8 8.8.4.4
5) ran "service networking restart"

6) ran "ip -a" and got

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 5c:26:0a:32:c9:fa brd ff:ff:ff:ff:ff:ff
When I ran "ip -a", I was expecting the ip address of eno1 to be 192.168.1.235. This is not the case, and I have no connectivity to my router.

Can some one help?

Jim A.

Last edited by jjanderson5; 08-12-2021 at 10:07 PM. Reason: problem is resolved
 
Old 08-11-2021, 11:12 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,582
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
I think ip always shows the ipv6 address. For ipv4, try ifconfig instead.
 
Old 08-11-2021, 01:24 PM   #3
jjanderson5
LQ Newbie
 
Registered: Nov 2003
Location: Saylorsburg, PA, US
Distribution: Bunsenlabs Hydrogen
Posts: 24

Original Poster
Rep: Reputation: 0
@hazel

Thank you for your comment.

When I run "ip -a" on one of my working pc's, I get:

______________________________________________________
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:18:8b:59:99:8c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.250/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::218:8bff:fe59:998c/64 scope link
valid_lft forever preferred_lft forever
_______________________________________________________

which shows both the ipv4 and ipv6 addresses. I am expecting the same on the new installation, which is running the same version of the linux o/s.

Last edited by jjanderson5; 08-11-2021 at 01:26 PM.
 
Old 08-11-2021, 05:20 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,712

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Rebooting should work but without NetworkManager the commands to manually start/stop the network adapter are:

sudo ifup eno1

or

sudo ifdown eno1
 
Old 08-12-2021, 10:08 PM   #5
jjanderson5
LQ Newbie
 
Registered: Nov 2003
Location: Saylorsburg, PA, US
Distribution: Bunsenlabs Hydrogen
Posts: 24

Original Poster
Rep: Reputation: 0
The PC was rebooted and the networking is working properly now. Kudos to michhaelk - he was right on target.

Jim A.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Debian 10 Buster (stable) broke WiFi/networking boughtonp Debian 6 02-13-2020 10:31 AM
[SOLVED] After having a successful installation of Debian Buster, Lenovo computer refuses to boot into Debian Buster 10.2 PicardDefendingData Debian 4 12-21-2019 07:51 PM
[SOLVED] Upgraded to Debian Buster (presently stable release) and lost networking arvid001 Debian 30 09-04-2019 10:55 AM
[SOLVED] Buster SSD Setup Mr Marmmalade Debian 5 07-11-2019 10:36 AM
brain buster... sbs2003 setup with linux? samills70 Linux - General 0 06-25-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration