Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 6851  / 3 Years ago, thu, may 13, 2021, 1:44:18

This seems to be a common problem with 12.04. I've done the searches and found various and sundry replies, but I've yet to find a solution to my situation.



I've installed 12.04 32bit on a server box I have in my office, and am using it to get used to Joomla CMS, but I cannot seem to do updates, upgrades with it, nor can I use Aptitude to get new software. The machine will not authenticate against the repos is what I'm thinking.



It works fine as long as I have DHCP set up, but when I go to a static IP situation it falls flat. I have networking working perfectly other than this.



As far as I can tell, it's in the nameservers from my ISP not propogating into resolv.conf.



Here is my /etc/network/interfaces file contents:
:~$ cat /etc/network/interfaces
# 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

# The primary network interface these stanzas are kept in order
#auto eth0 for me to easily switch between dhcp
#iface eth0 inet dhcp / and static addresses so I can update
# / the system from time to time

auto eth0
iface eth0 inet static
address 192.168.1.130
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-namservers 75.75.75.75 75.75.76.76 192.168.1.1
dns-search hsd1.wa.comcast.net

#nameserver 75.75.75.75 this data is taken
#nameserver 75.75.76.76 from resolve.conf
#nameserver 192.168.1.1 / while networking with
#search hsd1.wa.comcast.net / dhcp instead of static ip


For the life of me I cannot figure out why this is not working. I'm totally missing something fundamental here I think.



The Search stanza is working, and shows up properly inside resolv.conf:



search hsd1.wa.comcast.net


I'd really appreciate anyone's help on this.


More From » 12.04

 Answers
6

Per Charles' comment:
"dns-namservers" should be dns-nameservers (you missed an "e").


[#37565] Friday, May 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
splenueak

Total Points: 448
Total Questions: 118
Total Answers: 110

Location: Vanuatu
Member since Mon, Oct 3, 2022
2 Years ago
splenueak questions
Tue, Aug 24, 21, 09:07, 3 Years ago
Sat, Apr 23, 22, 15:14, 2 Years ago
Thu, Jun 10, 21, 17:43, 3 Years ago
Mon, Sep 20, 21, 15:19, 3 Years ago
;