How I set a fixed IP Address in MD10.21
In MD5, there was an installation option to set your network settings along with all the other computer settings. In MD10.21, this option appears to be absent.
In the interest of helping others, here are the steps that I used to set a fixed IP Address for MD10.21.
1) Install MD10.21 from DVD. Go to the point where the computer install finishes and the MythTV configuration starts. Exit the MythTV configuration to get to the gnome desktop.
2) Applications >> System Tools >> Terminal
3) type 'su root'
4) enter root password
5) type 'ifconfig'. This shows you the current network settings. Mine showed that the computer was getting its IP Address via DHCP from my router.
6) type 'cd /etc/sysconfig/networking/devices'
7) edit the file corresponding to your network card. I used 'vi ifcfg-eth0'.
8) set ONBOOT=yes
9) set BOOTPROTO=static
10) set NETMASK, IPADDR, and GATEWAY to the appropriate values for your network.
For referencce, my ifcfg-eth0 file reads:
DEVICE=eth0
HWADDR=00:13:72:b7:af:ce
ONBOOT=yes
BOOTPROTO=static
NETMASK=255.255.255.0
IPADDR=192.168.1.8
USERCTL=no
IPV6INIT=no
NM_CONTROLLED=no
GATEWAY=192.168.1.1
TYPE=Ethernet
11) Exit the editor. I used '(esc)wq' to save the file and leave the vi editor.
12) Disable the Network Manager because it will overwrite your changes. The following steps will do this.
13) Type 'chkconfig NetworkManager off'
14) Type 'chkconfig network on'
15) Now you need to set your DNS servers. You can add up to three. The following steps will do this.
16) Edit /etc/resolv.conf. I used 'vi /etc/resolv.conf'.
17) Enter nameservers one per line as such 'nameserver 69.169.190.211'. Note, if you are using vi, you first need to type 'i' to get into insert mode.
18) Save the file and exit. I used '(esc)wq'.
19) Reboot.
There are probably much better ways of doing this, but this worked for me. If you have improvements to my steps that would help others, please feel free to post them.

Static IP in MD 10.21
Hi There,
I've also had problems recently with configuring a static IP on MD 10.21 and other problems with 0.22 rc1, just re-installing MD 10.21 as I write...
Ok, /etc/resolv.conf is the unix, and Linux, defacto standard place to configure your DNS servers. However, the order of presedence on how to resolve such names to IP address is managed by /etc/nsswitch.conf. A 'nslookup google.com' from the command line, assuming your network settings are working is as good a test as any.
Redhat's method of storing network settings, including DNS servers and the default gateway, is via /etc/sysconfig/network-scripts/, where is usually ifcfg-eth0.
system-config-network-tui is a very useful ncruses based bash shell (command line) tool, which can be accessed simply by running the 'setup' command. Simply select the networking options, disable DHCP and configure your static network settings. Once complete this will create and configure the required /etc/sysconfig/network-scripts/ifcfg-eth0 file...
Network Manager is supposed to detect and configure network connections that are plugged in or enabled while the system is running, whether wireless or cable based. However, NM is a difficult beast weild and it makes sense to disable it, which the MD guys have. Again, configuring a static IP address using system-config-network-tui using 'setup' from a bash shell will create a config file similar to brain_hammerhead's in the first posting above.
I too have had mixed success with the network config taking affect onboot, and as mentioned in another entry previously, is probably due to a race condition. To work around this problem, I simply force the interface (eth0) back up by adding the entry '/sbin/ifup eth0' to /etc/rc.local.
If I remember correctly, MD 10.21 doesn't have the option to configure a static IP address, but the updated version and no 0.22 does under Mythdora Extras.
Worst case you can hard code you network settings as follows, using the 'vi' editor tips in the original posting:
Edit /etc/rc.local and add
# This is machines interface, IP address and network mask.
/sbin/ifconfig eth0 192.168.0.10 netmask 255.255.255.0 up
# This is my default route to the internet on my local network.
/sbin/route default gw 192.168.0.1
Edit /etc/resolv.conf
# These are my ISP's DNS servers, change accordingly.
nameserver 194.168.0.10
nameserver 194.168.0.12
These instructions work just
These instructions work just fine, with just two changes:
1. ifcfg-eth0 is under /etc/sysconfig/network-scripts/
2. DNS servers do not go in /etc/resolv.conf but rather in your network config script. So, in order to use OpenDNS on your MD frontend, ifcfg-eth0 needs the following lines:
DNS1=208.67.222.222
DNS2=208.67.220.220
This was a good guide; getting networking set up properly solved two issues for me at once (first, that MythFrontend was starting before network services, so I had to keep verifying settings with every boot; second, that DNS resolution on Deutsche Telekom is often so slow that MythBrowser, etc. were unusable)!
Don't have MD yet, but it
Don't have MD yet, but it should come with "system-config-network-tui". Just "su -" and run that and you should get a curses based network config tool.
HTH,
Chuck
Too many hands on my time.
Too many hands on my time.
Actually, this doesn't work...
Sorry about the post. The steps I outlined actually do not work. Back to the drawing board ...
BTW, I couldn't find a way to delete or edit my post so that it won't cause confusion for others. If anyone knows how to do this, please let me know.
Also, in response to the recent reply to my post, I looked all through MythDora Tools in MD10.21 and couldn't find anything that looked like it would configure the Fedora network settings for a static ip address. If you have any additional info about where you believe this setting is located, please share.
It is under Mythdora tools>
It is under Mythdora tools> Mythdora Extras.
I am surprised the gnome network settings did not work tho.
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
Thanks very much
Thanks to you, I found it in MD 10.22 exactly where you said. I don't remember seeing it in MD 10.21, but I could have missed it.
I looked all through the gnome UI looking for a graphical network settings app, but couldn't find it. Can you confirm there is one and tell me how to find it?
The Network UI (and I think
The Network UI (and I think Netmanager) are not installed in Mythdora. You could add them with YUM however for some thing like Mythdora, especilay on fixed computers such as backends, you are better off using the tool already provided. I think it simply edits the same files you would be editing using the other tools or doing it by hand.
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
Not available in MD 10.21
I just did a clean install of MD 10.21. I went to MythDora Tools >> MythDora Extras and the only options are:
Set Proxy Server
IMDB Bulk Update
Launch Xterm
I will keep plugging away to figure out how to set a static IP address in MD 10.21. If anyone happens to know the correct (or most elegant) procedure for doing this in MD 10.21, I am sure that others besides myself would appreciate knowing.
Thanks!
Perhaps it comes in with a
Perhaps it comes in with a Mythdora update. But I know it is there on mine and I did not have to jump threw any hoops to get a fixed IP on my server.
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
There is a setting under
There is a setting under mythdora tools for this. I used it to set up my system.
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!
I have a mild form of Dyslexia that affects my ability to spell. I do use spell checking to help but it does not always work. My form of Dyslexia does not affect my reading. Dyslexics of the world untie!