[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network not detected



The network looks good to me. If you still have no connection to 'the
internet' check "ip route show" please. It should have at least a
default route and you should be able to ping the destination of this
default route.

On 09/03/2020 12:11, Alexandre Bencz wrote:
> The results:
> 
> root@debian-sparc64:/# ip link show
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default qlen 1000
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN mode DEFAULT group default qlen 1000
>     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
> 
> 
> root@debian-sparc64:/# ip addr show
> 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: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN group default qlen 1000
>     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
>     inet 10.0.2.15/24 brd 10.0.2.255 scope global enp2s0
>        valid_lft forever preferred_lft forever
>     inet6 fe80::5054:ff:fe12:3456/64 scope link
>        valid_lft forever preferred_lft forever
> 
> Alexandre S. Bencz
> +55 {15} 991-707-384
> 
> On 05/03/2020 12:52, Anatoly Pugachev wrote:
>> On Thu, Mar 5, 2020 at 5:03 PM Alexandre Bencz <alebencz@gmail.com>
>> wrote:
>>> Inside /etc/network/interfaces
>>>
>>> # This file describes the network interfaces available on your system
>>> # and how to activate them. For more information, see interfaces(5).
>>>
>>> source /etc/network/interfaces.d/*
>>>
>>> # The loopback network interface
>>> auto lo
>>> iface lo inet loopback
>>>
>>> # The primary network interface
>>> allow-hotplug enp2s0
>>> iface enp2s0 inet dhcp
>>>
>>> The dmesg log:
>>>
>>> $ dmesg
>>> [    0.001496] PROMLIB: Sun IEEE Boot Prom 'OBP 3.10.24 1999/01/01
>>> 01:01'
>> ...
>>> [   11.300463] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
>>> [   11.403802] ne2k-pci 0000:02:00.0 eth0: RealTek RTL-8029 found at
>>> 0x1fe02800000, IRQ 8, 52:54:00:12:34:56.
>>> [   12.636822] ne2k-pci 0000:02:00.0 enp2s0: renamed from eth0
>> First, dmesg shows that driver for network card is loaded, you could
>> check with "ip link show" to see is there enp2s0 available.
>>
>> Second, check with "ip addr show" does your enp2s0 gets an IP address...
> 


Reply to: