Hi,
looked nice,but maybe to nice :-(
after my 'solution' I was able to update tjener but couldn't login to
gosa anymore.
So my problem is still the same:
Tjener is installed and is able to reach addresses in the internet
after installation and BEFORE reboot.
After reboot gosa is available but tjener has no idea to resolve e.g.
debian.org
In the meantime I reinstalled with disabling the onboard copper nic,
disabling dhcp of the fritz!box and entering '10.0.0.1' as default gw
and '10.0.0.1 185.150.99.255' nameservers.
Installation still renames enp1s0 to eth0.
Before reboot I had the following:
root@tjener:~# cat /etc/network/interfaces
# Created by debian-edu-profile during the Debian installation.
#
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
dns-search intern
dns-nameservers 127.0.0.1
auto eth0
iface eth0 inet static
address 10.0.2.2
netmask 255.0.0.0
broadcast 10.255.255.255
gateway 10.0.0.1
# The commented lines below is to be used if a DHCP server is in use
#iface eth0 inet dhcp
root@tjener:~# ifconfig -a
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.2 netmask 255.0.0.0 broadcast 10.255.255.255
ether 00:15:17:aa:20:a6 txqueuelen 1000 (Ethernet)
device interrupt 16 memory 0xd8020000-d8040000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
root@tjener:~# ip address
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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:15:17:aa:20:a6 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.2/8 brd 10.255.255.255 scope global enp1s0
valid_lft forever preferred_lft forever
inet6 fe80::215:17ff:feaa:20a6/64 scope link
valid_lft forever preferred_lft forever
root@tjener:~# cat /etc/resolv.conf
search fritz.box
nameserver 10.0.0.1
nameserver 185.150.99.255
root@tjener:~# route
INET (IPv4) not configured in this system.
root@tjener:~# ping -c1 debian.org
PING debian.org (149.20.4.15) 56(84) bytes of data.
64 bytes from mirror-isc3.debian.org (149.20.4.15): icmp_seq=1 ttl=52
time=156 ms
--- debian.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 155.773/155.773/155.773/0.000 ms
After first boot tjener has:
root@tjener:~# cat /etc/network/interfaces
Same as above
root@tjener:~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.2 netmask 255.0.0.0 broadcast 10.255.255.255
inet6 fe80::215:17ff:feaa:20a6 prefixlen 64 scopeid 0x20<link>
ether 00:15:17:aa:20:a6 txqueuelen 1000 (Ethernet)
RX packets 129657 bytes 14536698 (13.8 MiB)
RX errors 0 dropped 19 overruns 0 frame 0
TX packets 126274 bytes 14156776 (13.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xd8020000-d8040000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Lokale Schleife)
RX packets 14012 bytes 2296212 (2.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14012 bytes 2296212 (2.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@tjener:~# ip address
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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:15:17:aa:20:a6 brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 10.0.2.2/8 brd 10.255.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:17ff:feaa:20a6/64 scope link
valid_lft forever preferred_lft forever
root@tjener:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
nameserver 127.0.0.1
search intern
root@tjener:~# route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
default gateway.intern 0.0.0.0 UG 0 0 0 eth0
localnet 0.0.0.0 255.0.0.0 U 0 0 0 eth0
root@tjener:~# ping -c1 debian.org
ping: debian.org: Der Name oder der Dienst ist nicht bekannt
obviosly the right nameservers are missing?
What's going wrong?
readU
Frank
Frank Weißer:
Hi again,
writing leads to thinking!
In my post I missed the entries of the lo device:
root@tjener:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
dns-search intern
dns-nameservers 127.0.0.1
and of
root@tjener:~# cat /etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
nameserver 127.0.0.1
search intern
Editing /etc/network/interfaces to
auto lo
iface lo inet loopback
dns-search intern
dns-nameservers 10.0.0.1
# dns-nameservers 127.0.0.1
did the trick!
root@tjener:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.
nameserver 10.0.0.1
search intern
and
root@tjener:~# ping debian.org
PING debian.org (130.89.148.77) 56(84) bytes of data.
64 bytes from klecker-misc.debian.org (130.89.148.77): icmp_seq=1 ttl=53
time=19.9 ms
Hope that's the right solution.
readU
Frank
Frank Weißer:
Hi Folks,
I've got a problem with a freshly installed tjener:
Fujitsu PRIMERGY TX100 S1, 8GB RAM
onboard Intel NIC (enp0s25 during installation)
PCIe Intel Fibre NIC (enp1s0)
The later should serve the 10.0.0.0/8 net, the copper one is in reserve.
Installation over fibre, getting 10.0.2.2 via dhcp from my configured
Fritz Box ran fine. Chose Main Server and Workstation, but no ltsp
(don't need it here) and partitioned manually.
after installation, /etc/network/interfaces was configured this way:
auto lo
iface lo inet loopback
dns-search intern
dns-nameservers 127.0.0.1
auto eth0
iface eth0 inet static
address 10.0.2.2
netmask 255.0.0.0
broadcast 10.255.255.255
gateway 10.0.0.1
# The commented lines below is to be used if a DHCP server is in use
#iface eth1 inet dhcp
iface eth1 inet dhcp
But: eth0 is the disconnected copper onboard nic and eth1 the fibre card!
So i edited /etc/network/interfaces
auto eth1
iface eth1 inet static
address 10.0.2.2
netmask 255.0.0.0
broadcast 10.255.255.255
gateway 10.0.0.1
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
and restarted.
Now I can reach tjener from the 10.0.0.0/8 net, but tjener doesn't
reach the world outside of this network:
root@tjener:~# ping debian.org
ping: debian.org: Der Name oder der Dienst ist nicht bekannt
Some diagnostic, that didn't help me solve the prob:
root@tjener:~# route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default gateway.intern 0.0.0.0 UG 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
root@tjener:~# ip address
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: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 00:19:99:77:d3:4f brd ff:ff:ff:ff:ff:ff
altname enp0s25
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:15:17:aa:20:a6 brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 10.0.2.2/8 brd 10.255.255.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::215:17ff:feaa:20a6/64 scope link
valid_lft forever preferred_lft forever
root@tjener:~# ifconfig -a
eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:19:99:77:d3:4f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xd8400000-d8420000
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.2 netmask 255.0.0.0 broadcast 10.255.255.255
inet6 fe80::215:17ff:feaa:20a6 prefixlen 64 scopeid 0x20<link>
ether 00:15:17:aa:20:a6 txqueuelen 1000 (Ethernet)
RX packets 81766 bytes 9343586 (8.9 MiB)
RX errors 0 dropped 15 overruns 0 frame 0
TX packets 80884 bytes 8743572 (8.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xd8020000-d8040000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Lokale Schleife)
RX packets 3806 bytes 647541 (632.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3806 bytes 647541 (632.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
and shure: dhcp is deactivated on the Fritz Box!
Any suggestions what's going wrong?
Kind regards
readU
Frank