Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Time and internet is being strange
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sad gentoo user
n00b
n00b


Joined: 16 Jan 2022
Posts: 2

PostPosted: Sun Jan 16, 2022 11:31 pm    Post subject: Time and internet is being strange Reply with quote

Hi,

I have just finished installing gentoo from the handbook and I now have several problems including the internet and the date.

When I use /etc/gentoo/ the output is:

cat: /etc/gentoo/: No such file or directory

when I use hwclock --utc the output is:

2022-01-17 20:28:14.155767+11:00

I'm not sure why there is a +11 hours

when I use ping gentoo.org the output is

ping: gentoo.org: Temporary failure in the name resolution
[/glsa]
when I use ifconfig the output is:
lo: flag=73<UP, LOOPBACK,RUNNING> mtu 65536
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Sun Jan 16, 2022 11:57 pm    Post subject: Reply with quote

/etc/gentoo does not necessarily exist. It is not present on my system. Why are you trying to cat it?

Are you configured for a timezone that is +11 hours from GMT?

ping gentoo.org failing like that suggests that local DNS resolution is not configured properly. Do you have a valid IPv4 address and routes? Is name resolution configured correctly? How does your system acquire its address and name resolution configuration?

Are you using openrc or systemd?
Back to top
View user's profile Send private message
sad gentoo user
n00b
n00b


Joined: 16 Jan 2022
Posts: 2

PostPosted: Mon Jan 17, 2022 11:14 pm    Post subject: Reply with quote

Hu wrote:
/etc/gentoo does not necessarily exist. It is not present on my system. Why are you trying to cat it?



Are you configured for a timezone that is +11 hours from GMT?

ping gentoo.org failing like that suggests that local DNS resolution is not configured properly. Do you have a valid IPv4 address and routes? Is name resolution configured correctly? How does your system acquire its address and name resolution configuration?

Are you using openrc or systemd?


I thought that a correct installation requires that file to exist

No, I have set it to Australia, however it keeps adding 11 hours to my time, when using the tzselect tool, the selected time is wrong while the universal time is 1 hour off.

I am not sure, I tried to ping gentoo.org on a live cd and got the same dns error, this error only affects my computer.

I am using openrc
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Tue Jan 18, 2022 2:02 am    Post subject: Reply with quote

What did you read that suggested that /etc/gentoo needed to exist?

According to the manual page, tzselect is for computing what to put in $TZ. It does not seem relevant to your problem here. You want your hardware clock set to universal time, and your Linux /etc/timezone set to indicate the local timezone.

If the LiveCD also has a DNS failure, then that suggests your DHCP server is not configuring DNS properly. What is the output of cat -n /etc/resolv.conf ; ip a?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum