Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,210
» Latest member: greg22
» Forum threads: 4,029
» Forum posts: 16,404
Full Statistics
|
Online Users |
There are currently 295 online users. » 0 Member(s) | 292 Guest(s) Applebot, Bing, Google
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 356
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 82,936
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 37,762
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,825
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,285
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,234
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 112,876
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 51,568
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 41,752
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 41,432
|
|
|
Set up a simple DHCP server for a small network |
Posted by: hybrid - 2010-02-23, 07:22 PM - Forum: DNS and DHCP
- Replies (1)
|
 |
A while back, an upgrade to the firmware of the router on my local network (which I wanted to apply to enable WPA2 encryption for the wireless connection) starting causing some strange issues with clients connecting to the network with DHCP. They would get addresses which would work, but when the addresses were attempted to be renewed, the DHCP server in the router would refuse and the client would effectively be booted off the network and unable to access anything.
So I decided to set up a DHCP server on my web server machine and switch off the built-in DHCP server on the router. My server would now handle the assignment of addresses, and hopefully not suffer from this annoying bug!
So, here's how to configure a basic DHCP server for a local network with dhcpd on CentOS 5.3. This guide should work for pretty much any distribution, though, just the way you install the dhcpd package may be different and start and stop the server may differ somewhat.
Install dhcpd
First, you need to install the DHCP server package. As root, run:
Just one more thing before we get cracking -- make sure that the server where you are installing this DHCP server uses a static IP address. It obviously doesn't make any sense for it to get its IP address from itself. I'm assuming you have a machine here that is designated as a server that is already set up manually to connect to your local network with a static IP address.
Set up the configuration file
You will need to know the local IP address range of your local network and which addresses you want to be assigned via DHCP. If you have some machines that are assigned static IP addresses, make sure these addresses fall outside the scope of your DHCP address range, or you could create conflicts.
In this example, I am going to assign IP addresses from 192.168.1.64 through 192.168.1.250 as DHCP addresses. When a machine comes on to the network, it will be assigned an address in this range by my new DHCP server. The router IP address on this network is 192.168.1.1.
Open the /etc/dhcpd.conf file in your favourite editor, while running as root. Make your file look something like this:
Code: #
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style none;
ignore client-updates;
# these two options are for allowing clients to tell
# update a DNS server when DHCP clients want a DNS hostname.
# I'm switching this off -- I don't need it and it's out of
# the scope of this tutorial!
option domain-name-servers 216.146.35.35, 216.146.36.36;
# place your DNS servers here -- you will probably want to retrieve
# the addresses of the DNS servers you currently use from your router.
# Here I'm using the public DNS servers of the Dyn Internet Guide public
# DNS service. You may prefer your ISP's servers, or OpenDNS or Google Public
# DNS or another service.
default-lease-time 172800; # one day
max-lease-time 604800; # seven days
# you should be fine with these, unless you specifically want to change them!
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
# place your network's IP information here, you should be able to retrieve from
# your router.
range 192.168.1.64 192.168.1.250;
# the range of addresses to be used by DHCP clients
option routers 192.168.1.1;
# the IP of your router, in order to get traffic out to the internet!
option subnet-mask 255.255.255.0
# again, retrieve from your current settings
option broadcast-address 192.168.1.255
# usually the last address on your network, again look at your current settings
}
You will obviously need to substitute into that example file the IP addresses on your network, including the subnet, your desired IP address range for DHCP users, the router and your preferred DNS servers. As the comments say, you should be able to retrieve most of this information from your current network setup; so it will probably be on the pages of your router's configuration web page.
When you have customised that file with your information, save the file and quit your editor. The DHCP server should now be ready for action.
Start the DHCP server and set to run on reboot
Now, stop any existing DHCP server you might have enabled on your router. You will probably have to go to the configuration web page of your router and disable the DHCP server option. Two DHCP servers on the same network will likely conflict unless set up properly to coexist!
Note that while there is no DHCP server on your network, any machine that joins won't be able to get an IP address and therefore will have trouble doing anything. Best do this at a quiet time when no-one is likely to be switching on or restarting their computer or otherwise reconnecting to your network.
Now switch on your new DHCP server if it isn't already. As root:
Code: /etc/init.d/dhcpd start
You may want to use something 'Repair Connection' or a forced network refresh on one of your client computers to test that the new DHCP server is giving out addresses properly. Check the network properties on that machine and you should notice it has an address in the right range. To make sure that your router and DNS server addresses are right, connect to the internet and verify you can access your favourite websites.
If something goes wrong, use:
Code: /etc/init.d/dhcpd stop
chkconfig dhcpd off
to turn off your DHCP server (and prevent it from running again on reboot) and then you can re-enable the router's DHCP server option and be back at square one.
If all seems good and your new DHCP server is giving out the right addresses, you can set dhcpd to run at startup:
From now on, your new DHCP server on Linux will be responsible for dishing out network addresses to clients.
Just remember that this machine where the DHCP server is installed must be switched on in order for the network to function properly. This machine ideally should be left on all the time (or at least all the time that your router is switched on), so that computers on the network can get access to the network properly.
It is also a good idea to know how to configure one of your machines with a static IP address, so that if all else fails, you can log back into the router and switch on its DHCP server option again.
|
|
|
KDE SC 4.4 Released |
Posted by: anyweb - 2010-02-11, 09:08 AM - Forum: Linux News
- No Replies
|
 |
And there we are, the KDE team has released KDE Software Compilation 4.4, formerly known as, well, KDE. Major new features include social networking and online collaboration integration, the new netbook interface, the KAuth authentication framework, and a lot more.
One of the major additions is the Plasma Netbook interface, which has been in development for a while now. "Plasma Netbook shares many components with the Plasma Desktop, but is specifically designed to make good use of the small space, and to be more suitable also for touchscreen input," the KDE team writes, "The Plasma Netbook shell features a full-screen application launcher and search interface, and a Newspaper which offers many widgets to display content from the web and small utilities already known from Plasma Netbook's sibling."
A lot of work has also been done to integrate social networks and other online services into Plasma, making it easier to manage those via Plasma widgets; there's a widget for posting to various social networks, as well as a widget for following what your friends are doing.
full story > http://www.osnews.com/story/22851/KDE_SC_4_4_Released
|
|
|
Active Partitions |
Posted by: Sudhanshu - 2010-02-08, 02:12 PM - Forum: How Do I?
- Replies (3)
|
 |
Someone installed WindowsXP on my Lab Terminal, it had a copy of Suse 11.1 previously installed now its not showing as the boot loader is gone or may be the partitions is not marked active anymore. I don't know what happened for sure because the drives on which Suse was installed is still present and I wasn't the one who installed Suse previously, so I have no knowledge of how was the grub loader stored. Please recommend suggestions on how to get into Suse without formatting it. I don't want to loose windows either.
|
|
|
Ubuntu To Change Default Search Provider to Yahoo! |
Posted by: anyweb - 2010-01-27, 08:40 PM - Forum: Linux News
- Replies (1)
|
 |
For the longest time, the default search provider in Ubuntu Linux has been Google, but this is going to change in the next release, Lucid Lynx, scheduled to release April 29. The change comes after Canonical has signed a revenue sharing deal with Yahoo!, so you can imagine who the new default search provider will be.
The change was announced on the ubuntu-desktop mailing list by Rick Spencer. The gist of it all is that the default search provider in the little Firefox search box will be changed from Google to Yahoo!. In addition, Firefox' default home page (the search page thing) will respect the user's choice of default search provider.
Spencer was adamant to emphasise that users cans till change the default search provider to Google with just two clicks. "It's literally 2 easily discoverable clicks to change this setting, a simple matter of switching to that search provider in the [search box] by clicking on the icon and choosing the desired provider," he explains, "Note also that Yahoo! does not share any personally identifiable or usage information."
The reason for this change is obvious and understandable: Yahoo! has signed a revenue sharing agreement with Ubuntu, which is good for the Linux distribution. "I am pursuing this change because Canonical has negotiated a revenue sharing deal with Yahoo! and this revenue will help Canonical to provide developers and resources to continue the open development of Ubuntu and the Ubuntu Platform," Spencer explains, "This change will help provide these resources as well as continuing to respect our user's default search across Firefox."
sudo apt-get remove firefox-3.5 is my favourite command anyway, preferably executed right after installing Chrome, so it bears no relevance on me. I know I'm a minority though, so how about all of you? How do you feel about this change?
via > http://www.osnews.com/story/22798/Ubuntu..._to_Yahoo_
|
|
|
new to linux -> what distro (probably tons of these) |
Posted by: cheeseman - 2010-01-27, 12:33 AM - Forum: Just Starting Linux
- Replies (13)
|
 |
Ok guys, I'm sorry because you probably have tons of these posts but with all the resources online I can't find a clear cut answer for what I want.
I am by no means an advanced computer user but I would say I am comfortable on one. I am looking to put linux on my computer as a duel boot so that way while I'm learning linux, I can still do all the other stuff I like to do (and know how to do) from Microsuck. I would like to learn linux because I want to become more advanced with computer skills. I was looking into Ubuntu but I am worried that it is too "user friendly." (if I'm wrong let me know) I would like something that isn't TOO difficult and will run right off the bat and doesn't take a lot of tweaking to get working. Also something, that if I want, I can do a lot of tweaking when I'm more comfortable.
any other distro suggestions would be much appreciated. an explanation into why you would suggest it for me would be great too.
thank you,
cheeseman
|
|
|
Mozilla Explains Why it Doesn't License h264 |
Posted by: anyweb - 2010-01-24, 05:43 PM - Forum: Linux News
- Replies (1)
|
 |
This week, both YouTube and Vimeo opened up beta offerings using HTML5 video instead of Flash to bring video content to users. Both of them chose to use the h264 codec, which meant that only Safari and Chrome can play these videos, since firefox doesn't license the h264 codec. Mike Shaver, Mozilla's vice president of engineering, explained on his blog why Mozilla doesn't license the h264 codec.
Shaver explains that h64 is not a suitable codec for Mozilla, because of two main reasons: licensing cost, and the codec's closed nature.
The h264 codec is patented up the wazoo by the MPEG-LA, and while Google, Apple, and Microsoft have paid for a license to include the codecs within their products, the Mozilla foundation has not, and will not do so. Without this license, it is illegal (in many countries) "to use or distribute software that produces or consumes H.264-encoded content. Indeed, even distributing H.264 content over the internet or broadcasting it over the airwaves requires the consent of the MPEG-LA, and the current fee exemption for free-to-the-viewer internet delivery is only in effect until the end of 2010."
Mozilla has a number of clear and well-argued reasons for not buying the license. First, it's very limited. Google, for instance, paid for a license that transfers to users of Chrome, but if you build Chrome from source yourself or extend the browser, the license does not apply. What's even worse is that the license would not carry over towards, for instance, Linux distributors - not acceptable, of course, for Firefox.
"Even if we were to pay the USD 5000000 annual licensing cost for H.264, and we were to not care about the spectre of license fees for internet distribution of encoded content, or about content and tool creators, downstream projects would be no better off," Shaver explains.
The second important reason not to license the h264 codec is a more ideological one. "We want to make sure that the Web experience is good for all users, present and future," Shaver writes, "I want to make sure that when a child in India or Brazil or Kenya discovers the internet, there isn't a big piece of it (video) that they can't afford to participate in. I want to make sure that there are no toll-booth barriers to entry for someone building a whole new browser, or bringing a browser to a whole new device or OS, or making and using tools for creating standard web content."
more > http://www.osnews.com/story/22787/Mozill...cense_h264
|
|
|
Hands On: Boxee Beta is Brilliant, Still Not Quite Stable |
Posted by: anyweb - 2010-01-16, 12:19 PM - Forum: Linux News
- No Replies
|
 |
This month Boxee announced the availability of its public beta release, a major new version of the popular media center software. The update brings significant improvements to the user experience and delivers an impressive degree of aesthetic refinement, but the program lacks stability and will need more work before it is ready to conquer the living room.
Boxee is a multimedia player application that is designed primarily to be used on home theater PC (HTPC) systems. It has a television-friendly user interface that can be seen easily from a couch and operated with either a remote control or conventional input devices. It is based on the open source XBMC media center application. One of the distinguishing features of Boxee is that it has an integrated social networking service that allows users to share what they are watching and see recommendations based on what their friends are watching. The program also has extensive support for playing audio and video content from popular streaming media Web services, including Hulu.
via http://arstechnica.com/gadgets/reviews/2...mpaign=rss
|
|
|
|