View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Nov 01, 2005 8:53 am 
Offline
Joined: Wed Jun 29, 2005 11:17 am
Posts: 59
Location: Cherry Hill, NJ
I would like to set a fixed (constant) IP address for my Myth box. I have a home network with a NAT router. When I lose power in the house and I have to start my Myth box again, often the DCHP gives it a different address and I then have to update the port forwarding in the router so that I can get to MythWeb from the outside again.

Can anyone help me with this?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 01, 2005 10:03 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
As root in an xterm window run:
Code:
netcardconfig

be sure to select an IP address valid for your LAN 192.168.0.XXX or 192.168.1.XXX are the usual suspects.

Also be sure the value you hard code to the myth box wont be passed out via DHCP to another machine

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 4:44 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Alternatively you could see if you can reserve the address on your router so it gives the MAC address of your mythtv box the same IP each time :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 12, 2005 12:49 pm 
Offline
Joined: Sat Nov 12, 2005 12:37 pm
Posts: 6
Location: Houston, TX USA
Regarding setting up the fixed IP address, there is a small trick I do on my systems at home that might be useful.

On Windows XP :

C:\Windows\system32\drivers\etc

On Windows 98/ME I believe it is in the C:\Windows directory.

There is a file called hosts, if you do not have hosts it is probably called hosts.sam if so copy it to hosts and edit it.

Anyway it is the same as /etc/hosts on your Linux box.

So I modify it to make mythtv point to the IP address of my mythbox and then it is easy to just type http://mythtv to get to the mythweb.

I put a copy of it on all my Windows boxes at home (for the wife and kids).

This is the line in my hosts

192.168.1.30 mythtv

Julian


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 8:19 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
on the topic of hosts files on windows boxes here is another neat thing that you can do.

By adding the names of servers that host the images in website adds to the host file you can avoid downloading and seeing the images. My current hosts file looks like this:

Code:
#
# myth box
#
192.168.1.50  mythtv


#
# ad blocking hacks
#
127.0.0.1 a1.interclick.com
127.0.0.1 view.atdmt.com
127.0.0.1 ads.x10.com
127.0.0.1 ad.doubleclick.net
127.0.0.1 m3.doubleclick.net
127.0.0.1 ads5.canoe.ca
127.0.0.1 a.tribalfusion.com
127.0.0.1 speed.pointroll.com
127.0.0.1 ad.ca.doubleclick.net
127.0.0.1 ads.drf.com
127.0.0.1 media.fastclick.net
127.0.0.1 cdn.fastclick.net
127.0.0.1 funbar.ebaumsworld.com
127.0.0.1 servedby.advertising.com
127.0.0.1 cdn.eyewonder.com
127.0.0.1 sales.liveperson.net
127.0.0.1 s0b.bluestreak.com


This causes a little broken link symbol in place of any ad images from these sites. Not as distracting and probably speeds the loading of pages

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 9:03 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
This forum isn't dedicated to Windows support (period). Take it off topic.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2005 7:20 pm 
Offline
Joined: Wed Oct 26, 2005 4:54 pm
Posts: 98
im tryin to do the same for my wifi dongle. it works well on DHCP but i sufer from the same probel as the first post. i cant reserve based on mac address :( :cry:
and i did do my settings correctly.
gave it a 192.168.2.8 (anything below 100 on the last 3 digits is static on my network) (and no, 8 is not already taken up...)

it asks for a bunch of the usual stuff..... gate way DNS ect.
BUT i am confused by the broadcast address (i put 192.168.2.255) and when i do this it no worky (web browser gives the unknown host error) and the myth web and webmin is non accessable (even through lan) so i think its the broadcast address, or the bssid (can i leave it blank, or is it the name thats gettin it all screwed up.)

and the wifi parameters, wht should i put in there, i know i want infustructure mode but how do i get that? its not an option, do i just set it as auto, and the channel can i set that as auto as well? the freaquency?

otherwise share the settins that worked for you (if you have wifi)

NEVERMIND. im a fu*king dumbass.

the default ip that it suggests.... is 192.168.0.SOMETHIN

i needed 2 change the 0 into a 2

mesa a dumbfu*k


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu