- 主题:debian net install后进入系统没网络,是纯字符界面
新安装的debian12,用的是net install,安装的时候提示dhcp没配置好,问是不是以后再设置网络,选是,然后也没有安装软件包,安装完之后就是纯字符界面,我修改了一下network/interfaces并重启网络服务也不管用。
是不是不能用net install?如果继续手动配置网络并安装好各种组件会不会非常麻烦?谢谢了
--
FROM 112.224.159.*
你这个,该不是网卡没驱动吧,网卡没驱动真的很麻烦
net install本身就需要网络啊,选了以后设置网络,那就网络好了继续装就是了,安装组件算不上麻烦吧
有网络,net install很方便,不用下体积巨大的包,红帽安装盘现在10G多,ubuntu也不小,现在net install包比以前大多了,和一张标准CD差不多了,以前就两三百MB的
--
修改:ayaka FROM 120.244.235.*
FROM 120.244.235.*
这是搜的网上的答案,估计是系统bug
Thanks for replies – I solved the issue, even though I’d still like to know the reason, why the setup behaves totally different than the live system.
Quick summary: When I try to install the Debian 12, network just doesn’t work.
It doesn’t matter whether I try to use DHCP or a static-IP during setup, just doesn’t work.
When I boot any live-image (I tried several) network works perfectly fine, and even if I ignore that not-working-network during installation, network doesn’t work on the fresh install either.
It also wasn’t a driver problem, which is what I initially thought, I found out the setup also uses the Intel e1000 driver …
So anyway, to cut a long story short, for whatever reason, the setup and fresh installation uses the wrong network interface!
/etc/network/interfaces on setup / fresh-installation:
Iface enp2s5 inet dhcp
/etc/network/interfaces on the live-image:
Iface enp0s25 inet dhcp
So when I found that out, it was obviously an easy fix, replacing “enp2s5” with “enp0s25” and the network works!
I’d never expected that!
Do you have any idea, why the live-images uses the correct interface enp0s25, while any installed system (and the setup) uses a (non-existing?) enp2s5 interface?
【 在 ayaka 的大作中提到: 】
: 你这个,该不是网卡没驱动吧,网卡没驱动真的很麻烦
:
: net install本身就需要网络啊,选了以后设置网络,那就网络好了继续装就是了,安装组件算不上麻烦吧
: ...................
--
FROM 112.234.86.*
最新的网络配置都是systemd了,/etc/network/interfaces已经没用了
--
FROM 114.251.196.*
您指的其实是network manager吧
【 在 zli07 的大作中提到: 】
: 最新的网络配置都是systemd了,/etc/network/interfaces已经没用了
--
FROM 61.48.132.*
有的是NetworkManager,有的是systemd-networkd
不过我还在用init.d没换systemd...
【 在 KeepHope 的大作中提到: 】
: 您指的其实是network manager吧
--
FROM 1.202.11.*
systemd和nm是两套不同的方案,一个配置文件是/etc/NetworkManager/NetworkManager.conf,一个是/etc/systemd/network/xxxx.network。现在systemd是主流了
【 在 KeepHope 的大作中提到: 】
: 您指的其实是network manager吧
:
--
FROM 114.251.196.*
这部分换了好多……
前几年还在suffer from NM
现在开始suffer from netplan
结果你告诉我systemd赢了
我哭死
【 在 zli07 的大作中提到: 】
: systemd和nm是两套不同的方案,一个配置文件是/etc/NetworkManager/NetworkManager.conf,一个是/etc/systemd/network/xxxx.network。现在systemd是主流了
--
FROM 139.227.18.*
赖在 /etc/network/interfaces , 能赖多久赖 多久
【 在 JulyClyde 的大作中提到: 】
: 标 题: Re: debian net install后进入系统没网络,是纯字符界面
: 发信站: 水木社区 (Fri Nov 15 17:42:36 2024), 站内
:
: 这部分换了好多……
: 前几年还在suffer from NM
: 现在开始suffer from netplan
: 结果你告诉我systemd赢了
: 我哭死
: 【 在 zli07 的大作中提到: 】
: : systemd和nm是两套不同的方案,一个配置文件是/etc/NetworkManager/NetworkManager.conf,一个是/etc/systemd/network/xxxx.network。现在systemd是主流了
:
: --
:
: ※ 来源:·水木社区 mysmth.net·[FROM: 139.227.18.*]
--
FROM 111.201.66.200
这个配置文件是啥软件来着……
【 在 DreamDreams 的大作中提到: 】
: 赖在 /etc/network/interfaces , 能赖多久赖 多久
--
FROM 139.227.18.*