On 24/09/2018 16:48, Pierre Labastie wrote:
On 9/24/18 2:52 PM, J Le Brasseur wrote:
On 23/09/2018 22:32, Pierre Labastie wrote:
On 9/23/18 9:38 PM, John Le Brasseur wrote:
Hi Pierre. I have searched the internet to find a way to stop gmail
top-posting. Is there a client I should perhaps be using.? Sorry if this is
top-posting. I apologise. ip addr list: attached screenshot ip route list:
no response to the command. There is just no ipv4 addresses at all.
I use thunderbird. Then, even with gmail accounts you can set the answer to
start after the message. Anyway... Looks like there is womething wrong at
startup. Can you run "ip addr add 10.0.2.9/24 dev enp0s3", then "ip addr
list" again? You may need to run "ip link set enp0s3 up" If it now shows an
ipv4 address, try "ip route add default via 10.0.2.2 dev enp0s3". test with
"ip route list" Then check /etc/resolv.conf, and try the net again. If it
works, you have to review your startup files. Do you use the LFS ones? What
does /etc/sysconfig/ifconfig.enp0s3 contain? Well, maybe first question,
does it exist? HTH Pierre
Hi Pierre
Look at that.
Thunderbird set up and working. :)))
So:
My /etc/sysconfig/ifconfig.enp0s3:
ONBOOT="yes"
IFACE="enp0s3"
SERVICE="dhcpcd"
That's what is wrong, unless you have already built dhcpcd, of course.
If you haven't, it should be:
SERVICE="ipv4-static"
DHCP_START="-b -q "
DHCP_STOP="-k "
and if you change SERVICE, those 2 lines above should be replaced with:
IP=10.0.2.9 # for example; don't use 10.0.2.2 nor 10.0.2.3, nor 10.0.2.4
GATEWAY=10.0.2.2
PREFIX=24
BROADCAST=10.0.2.255
(same as my LFS 8.2 setup)
I ran:
ip link set enp0s3 up
ip addr add 10.0.2.9/24 dev enp0s3
ip addr list (shows "enp0s3 ... inet 10.0.2.9/24 scope global enp0s3")
ip route add default via 10.0.2.2 dev enp0s3
ip route list
result:
"default via 10.0.2.2 dev enp0s3
10.0.2.0/24 dev enp0s3 proto kernel scope link src 10.0.2.9"
ping google.com is successful.
Wow.
How did this happen?
I did not do this with 8.2.
Many, many many thanks Pierre.
My /etc/resolv.conf contains:
search
nameserver 8.8.8.8
nameserver 8.8.4.4
Hope I have answered your questions fully/properly.
Glad it worked. You can change the /etc/sysconfig/ifconfig.enp0s3 to use
ipv4-static, or build dhcpcd, if you prefer...
Pierre
Hi Pierre.
I have built dhcpcd which is why I was confused nothing was working.
However, I am very happy with what you helped with.
Thanks again.
--
John Le Brasseur
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style