SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Greg from Edmonton who wrote (398)4/13/2014 10:47:55 AM
From: Thomas A Watson   of 484
 
I attempted to post a reply to your last. I think I left it in pre-submit. What I found was that your suggestions are pre u12.04 It seems at u12.04 and in my u13.10 network setup layers of abstraction changed.

first reboot, no network, played and have network seems to be working OK but on reboot keep tripping some failsafe and running failsafe.conf seems network does not respond as boot wants. I think it is a new u13.10 supposed improvement. ????

Oh the first thing I do as I am an old dog is add a password to root. When I want to sudo I open an xterm for root. I have a green background for root xterms.
sudo is one of those things that says oh you should admin like in gates software OS. you is too dumb to have root privledge at the command line. you must give root or admin password every time you want to admin.

your sudo
/etc/init.d/networking restart
is now
service networking restart

What I found after bumbling around ubuntu and google was.
help.ubuntu.com /13.10/index.html

The network guide does seem to be a match for what really is in 13.10

One thing, /etc/resolv.conf is not longer static but soft linked and rewritten on every boot. so you need server stuff in /etc/network/interfaces.

watson@xen1[101]ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 27 Apr 12 12:47 /etc/resolv.conf -> /run/resolvconf/resolv.conf

Also I bolded first character of the link below so the whole url appears. you can change the 13.10 to your release.

https://help.ubuntu.com/13.10/serverguide/network-configuration.html

My current /etc/network/interfaces
Only the first three dns-servernames get written to /etc/resolve.conf. first two are google and third plus are from my router

watson@xen1[100]cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# after any edit rung sudo /etc/init.d/networking restart
auto lo
iface lo inet loopback

# auto eth0
# iface eth0 inet manual

auto eth0
iface eth0 inet static
#/usr/sbin/ethtool -s eth0 speed 1000 duplex full

address 192.168.1.21
netmask 255.255.255.0
gateway 192.168.1.1
dns-search watman.com
dns-nameservers 8.8.8.8 8.8.4.4 66.189.0.100 24.159.64.23 24.247.24.53

# following added per xen install
# help.ubuntu.com
# assumes eth0 eth0 is both your primary interface to dom0 and the interface you want your VMs to use.
# It also assumes you're using DHCP.
auto xenbr0

# if using DHCP
# iface xenbr0 inet dhcp
# if using using static for eth0
iface xenbr0 inet static

# if using static for eth0
# address 192.168.1.21
# broadcast 192.168.1.255
# netmask 255.255.255.0
# gateway 192.168.1.1

bridge_ports eth0

# after any edit rung sudo /etc/init.d/networking restart
# if ERROR Calling a sysvinit script on a system using upstart isn't supported.
# sudo service networking restart
watson@xen1[101]
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext