I see. Thanks Greg. Let's see if this works

ip a ->

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: enp27s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 30:9c:23:b7:48:8c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.6/24 brd 192.168.1.255 scope global noprefixroute enp27s0
       valid_lft forever preferred_lft forever
    inet6 fe80::329c:23ff:feb7:488c/64 scope link
       valid_lft forever preferred_lft forever

cat /etc/network/interfaces


source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
#allow-hotplug eth0
#iface eth0 inet dhcp

#added these lines for network
#auto enp27s0
#iface enp27s0 inet static
#    address 192.168.1.6  #static ip i want
#    netmask 255.255.255.0 #netmask
#    gateway 192.168.1.1 #my router
#    dns-nameservers 192.168.1.8 #my dns server

In the past, I had used the above configuration -- but in truth, it also didn't work. my gateway really only worked if i turn off/on my networking.

I also think it has to be something simple, just can't seem to isolate it.


On 24/01/2025 17:30, Greg Wooledge wrote:
On Fri, Jan 24, 2025 at 17:11:06 +0100, Thomas Anderson wrote:
Here is updated version with <CR>
CR in this context means carriage returns.  Which is actually not the
correct term -- they meant LF (line feed) or newlines.

But what they *really* meant was for you to send the message as plain
text, not HTML.

'ip a' <CR>

1: lo: 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: enp27s0: mtu 1500 qdisc
pfifo_fast state UP group default qlen 1000 link/ether 30:9c:23:b7:48:8c brd
ff:ff:ff:ff:ff:ff inet 192.168.1.6/24 brd 192.168.1.255 scope global
noprefixroute enp27s0 valid_lft forever preferred_lft forever inet6
fe80::329c:23ff:feb7:488c/64 scope link valid_lft forever preferred_lft
Your mail software is probably composing your message as HTML, and then
generating a plain text part in a very simplistic way.  The result is
this mess, with all the lines joined together and then re-wrapped.

The line breaks from the command output are lost.

If you can't convince your mail software to send plain text, then we'll
just have to live with whatever you can do.


Reply via email to