Tag: console

By Josh Bellendir

This tutorial will help the novice Unix/Linux user to be able to set the Path Variable. This can be useful to speed up access to software in the linux environment. Once you have a path added to your path variable, you can then simply type the executive to run the program or filename to open the file. You won’t need to specify the full path any longer.

To view what your current PATH variable is type the following at the command prompt:

# echo $PATH

This will output the PATH stored in the $PATH variable. If you simply wish to add an additional directory, simply do something like this:

# export PATH=$PATH:/the/directory/you/want/to/add

Then type echo $PATH to view the results and to make sure everything worked out. However, you should know that this is only temporarily set for the current terminal/instance you are logged into. If you want this path to always be set then you will want to edit the.bash_profile file which should be located in your home directory. Edit the.bash_profile with your favorite editor. For example:

#vi /home/myusername/.bash_profile

Find the line that states PATH=$PATH:$HOME/bin or something similar. And then just add whatever directory you want to have included in the path. For example:

PATH=$PATH:$HOME/bin:/usr/local/bin:/export/mycustomerapps

Save the file and you’re done. The next time you boot up your Linux box or create a new terminal connection, you will have your path set.

Written by Josh R Bellendir, 12/31/2010
For more articles, stories, tutorials, and reviews like these, please check out http://www.jbellendir.com.

Tags: , , , , , , ,

Which Console For Online Gaming?
By David Charles Baxter

There are three main contenders you should be looking at: Sony PlayStation 3, Microsoft Xbox 360 and Nintendo Wii.

7gencons

Nintendo Wii and Sony PlayStation 3 offers wireless as an option out of the box, if you want to make the Microsoft Xbox 360 wireless you have to buy an extra component. If you don’t want to use wireless or don’t have wireless at home then Ethernet is the way to go. You set the console up pretty much like any network device, you can use DHCP or manually enter IP, DNS etc…

The Sony PlayStation 3 all has the ability to act as a media server, if you not going to use this facility remember to switch it off as it will hog your network bandwidth at home. I didn’t realise this and had my Sony PlayStation 3 connected wirelessly and couldn’t understand why no one else in the household could use wireless while my Sony PlayStation 3 was switched on. After switching off the Network Media Server all was fine.

Broadband is a must for online gaming but it doesn’t have to be the fastest broadband, a basic package is fine. Online gaming is all about the upload speed not really the download. Most UK broadband supplies only offer a 256k upload speed, so if you can find one that beats that it will be better for online gaming.

Nearly all new games offer some kind of online play, some games are purchased just to be played online. Checking the back of the game box should tell you what that game offers. If a game comes out on all 3 systems then it’s nearly identical and sometimes is 100% identical. Each system will have exclusive titles, this means that game will only be on that system.

The most played game online (to date) is Halo 3 on the Microsoft Xbox 360, although it’s a good few years old it is still played a lot. Most games offer ad-dons via downloadable content, this gives the game a whole new lease of life. Things to download could be new levels or new characters. These add-ons are usually charged for.

The Microsoft Xbox 360 has what it called GamerScore, this is your overall score for playing games in the system. You get different awards and points for completing certain levels in a game. Although the score means nothing and it’s just to show your friends how good you are, it is very addictive trying to get the highest GamerScore. The Sony Playstation 3 has Trophies instead of GamerScore and they work in exactly the same way.

You can buy certain titles while online and also download demos of games for FREE. You can also download videos, music videos and movie trailers. On the Microsoft Xbox 360 you can also rent movies online.

The Sony PlayStation 3 and Microsoft Xbox 360 both offer HDMI output for connecting to a HDTV. In the box with the Microsoft Xbox 360 you get a component cable and in the box with the Sony PlayStation 3 you get a standard scart cable. So remember to buy a HDMI cable if you want to go that route. All games that are written for Microsoft Xbox 360 and Sony PlayStation 3 have to be HD compatible to at least 720p in resolution. The Nintendo Wii does not offer any kind of HDMI connection but you can get a resolution of 480p out of it if you buy the correct cable.

Nintendo Wii and Sony PlayStation 3 are FREE to play online and the Microsoft Xbox 360 you have to pay for. You can get a monthly, 3 monthly or 12 month subscription. In the UK the official price off Microsoft for a 12 month subscription costs 39.99 but shop around as there are some good discounts to be had.

Although you have to pay to play on the Microsoft network, you do get what you pay for and out of all 3 consoles the Microsoft Xbox 360 is miles better than the other 2 for online games. The interface is better, the way you communicate with friends is better and it just feels more solid and rounded than the other 2 offerings.

You add friends by sending a invite to them via your console. Microsoft Xbox 360 and Sony PlayStation 3 let you create any nickname to use as your online name but Nintendo Wii gives you a random load of characters to use, also I believe this can change depending on what game your playing.

The best way to make the online experience better is by getting a good friends list together and then your not playing against people who quit all the time while half way through a game to ruining a game by team killing. Over time you can build up a really good friends list. Friends can all join the same party and then chat to each other but actually be playing different games.

Only the Sony PlayStation 3 and Microsoft Xbox 360 allow game chat via headsets. The Microsoft Xbox 360 comes with a headset in the box, this connects to the wireless controller and is pretty good for a FREE headset. The Sony PlayStation 3 can either take a wired headset or a BlueTooth headset (like you would use on your mobile phone). I have so far not found a decent headset for the Sony PlayStation 3 unfortunately. They all seem to hiss and buzz or are too loud. When chatting via the headset it is like being sat next to them and everyone can chime in, so it’s a group game chat not just one to one.

For good price comparisons, checkout somewhere like http://www.caniplay.co.uk They give unbiased prices from a variety of internet sites. Packages are usually a good deal if there are games included that you want, otherwise just get the console on it’s own.

http://www.caniplay.co.uk – For all your gaming needs

Tags: , , ,

How to Configure SAMBA on a Linux Server
By Chris Ondo

Step By step guide to configuring SAMBA on a LINUX server.

This is for network administrators with experience configuring and administrating LINUX servers that want to know how to configure a SAMBA file server the right way step by step.

samba-logoIn this step by step tutorial I am going to show you how to make a shared folder on a linux server and share it so users on Microsoft windows workstations can access it on a local – internal network.

In this tutorial I am going to make the folder called “shared folder” and allow everybody access to the folder and printer networked to the Linux server.

This is a basic how to guide for configuring a samba workgroup file server.
I will cover how to build and configure a samba PDC – Primary domain controller in another tutorial for more experienced network administrators.

STEP 1
Open the samba configuration file using a unix text editor.
I like NANO since it is very easy to use.
Below are the commands I used to perform this task.

[root@localhost ~]# cd /etc
[root@localhost etc]# cd samba
[root@localhost samba]# nano smb.conf

Ok now we are in the smb.conf file
Now delete all the text in the configuration file.
Now copy and paste the below text…after that is done hit the “control and X buttons on your keyboard to exit out of the NANO text editor.
Then hit the Y button and last hit the ENTER button.
Now we are back to the command prompt and our samba configuration file is edited and saved.

[global]
workgroup = workgroup
server string = My Linux File Server
hosts allow = 192.168. 127.
log file = /var/log/samba/%m.log
security = user
netbios name = SAMBA SERVER
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[shared folder]
comment = My Home Directory
browseable = yes
writable = yes
public = yes
read only = no

[printers]
path = /var/spool/samba
public = yes
guest ok = yes
printable = yes
browseable = yes
writable = yes
read only = no

STEP 2
We have to create a user acct on the Linux server itself then we will create a samba user on top of the Linux user acct.

[root@localhost ~]# useradd chris
[root@localhost ~]# passwd chris
Changing password for user chris.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@localhost ~]# smbpasswd -a chris
New SMB password:
Retype new SMB password:
getsmbfilepwent: malformed password entry (no :)
mod_smbfilepwd_entry: malformed password entry (no :)
[root@localhost ~]#

STEP 3
We have to start the SAMBA service.
It may already be started or it may not…so let’s check and see.

[root@localhost ~]# service smb status
smbd is stopped
nmbd is stopped
[root@localhost ~]#

The samba service is not running so let’s start it up

[root@localhost ~]# service smb start
smbd (pid 4267 4266) is running…
nmbd (pid 4271) is running…
[root@localhost ~]#

Now let’s verify the service is running

[root@localhost ~]# service smb status
smbd (pid 4267 4266) is running…
nmbd (pid 4271) is running…
[root@localhost ~]#

STEP 4
reboot your windows XP workstations then go to network “my network places” then go to “workgroup computers”.
You will see a computer there called “My Linux File Server”.
You can manually map a local drive letter to this folder or write a logon script the same as you would connecting to a Microsoft file server – shared folder.
Double click on that computer and you will be prompted for a user name and password.
Use the user name and password you choose in step #2
Now you will see a folder called “shared folder” You can copy and paste data to this folder just like it were a windows file server.

Chris Ondo – Central Florida Computer Engineering

http://centralfloridacomputerengineering.com

Tags: , , ,

Important Concepts For Linux Beginners – Shells and Utilities
By Levi Reiss

A shell is the command interpreter program that serves as an interface between some users and 250px-Bash_demothe operating system itself. We say some users because most users rely on the graphical user interface. The Windows shell is the DOS command line interface accessed by clicking on Run and then entering the cmd command. The Windows graphical user interface is Explorer. This article describes the Damn Small Linux shell interface and several utilities, useful programs that may be launched from the shell. A subsequent article will describe the corresponding graphical user interface.

Why would anyone want to bother with a shell when the prettier, easier-to-learn and easier-to-use graphical interface is available? The answer is: It depends who you are and what you want to do. For system administrators or their associates it’s often much less cumbersome to use the shell rather than the graphical user interface. While Damn Small Linux commands may be quite arcane, they are often very powerful. And efficient. The Linux way of performing administrative and other technical tasks admittedly takes time to learn and master. But it does the job and does it well. In all fairness, many Windows systems administrators often apply command-line utilities. But they don’t have a powerful shell to help them do their work.

Historically Unix used the Bourne shell, the C shell which resembles the C programming language, and the Korn shell. Linux’s most widely used shell is Bash, also spelled BASH, the (Bourne-Again Shell). Damn Small Linux offers many shells but most people go with Bash both to communicate interactively with the operating system and to write programs known as shell scripts. If you program in Linux no matter which programming language you use you should learn some Bash specifics.

Utilities enable you to handle some very sophisticated processing. You can think of them as commands or as prewritten programs. Unix-Linux people often send the output of one command or utility to another command or utility for further processing. For example, the ps command displays active processes. It tends to generate voluminous output, especially in a busy system. Let’s say that you are interested only in the processes associated with a given terminal. You send (the technical term is pipe, expressed by the | character) the output of the ps command to the grep utility which looks for patterns within the input. You code a single line, multipart command to obtain the list of processes associated with that particular terminal. Unix and Linux are well known for elegant solutions. In contrast the Windows solution to this information need is much more clumsy.

The grep utility has many other uses including validating e-mail addresses. Let’s say that your web site asks potential subscribers to furnish their e-mail accounts when signing up for a newsletter. A sophisticated but relatively short statement coded in grep could validate e-mail accounts.

DSL-logoOther Damn Small Linux text processing utilities include the related egrep and fgrep commands, mawk a pattern scanning and text processing language, sed an editor that handles large files, and diff a utility that compares files. DSL provides utilities that compress and archive files, and a wide range of other utilities. If you need them, these Linux utilities can be very useful and time-saving.

Our next subject is Linux programming support.

Levi Reiss has authored or co-authored ten books on computers and the Internet. He loves the occasional glass of wine as exemplified by his wine websites including http://www.theworldwidewine.com. He teaches Linux and Windows operating systems plus other computer courses at an Ontario French-language community college. Visit his new website http://www.linux4windows.com which teaches you how to download and run Damn Small Linux on Windows computers, even if they are “obsolete.”

Tags: , , , , , , , , ,

Linux For PS3 – What Do You Need For a Complete Installation?

By Munyaradzi Chinongoza

So you want to know how to install Linux for PS3, huh? Well, before you can even start the whole installation process, they are some things that you need to get started. These are easily available online and your local electronic store.

215px-Playstation3vector.svgWhat you have to do is format your hard drive. Before you do that its always a good idea to backup everything on your console. That way you can easily restore the old settings if you encounter problems with the installation.

You can use a simple 4 gigabyte USB pocket drive to backup your files on. Just go to your local electronics store and you can get one for less than $20. Once you have installed your Linux, you can always delete the files on it and use it for other things in the future.

You also need a USB keyboard and mouse, because you can not go through the Linux setup with a game controller. An ISO image burner is needed for your Ubuntu Linux software. This is the only format that your PS3 recognizes. Do not worry just like the software required you can download this online for free. Simply do a quick search on Google, and you should have many options to choose from.

The files are going to take a long time to download, sometimes as long as 2 hours. Once you have downloaded the files, the installation process also takes as long as two hours to complete, so make sure you have a lot of spare time. I recommend maybe even doing this overnight so you do not have to sit around and watch the status bar for hours.

Next, discover how to install Linux for PS3 safely and effectively without voiding your warranty using our special Linux for PS3 installer software. It’s all there for you at our blog: http://ps3linux101.blogspot.com/

Tags: , , ,

Running Linux On The PS3
By Marcus Creyton

One of the great features of the Play Station 3 is that it can use Linux, which means that PS3 owners can customize their system and get lots more out of it. Gaming consoles are usually designed so that foreign systems can’t run on them, but the PS3 goes in the total opposite direction, allowing an experienced Linux user to personalize their system. Most gaming systems are “locked” so that other systems can’t be run, so PS3 is unconventional in allowing this. The only thing you can’t do on the PS3 is run accelerated graphics.

PS3 isn’t the first system to allow Linux. The xBox also has this feature, but the PS3 differs in a few 215px-Playstation3vector.svgways. First off, the PS3 is more powerful. In addition, the xBox requires a certain chip to run Linux, whereas the PS3 can run it without. In fact, it’s totally free to run Linux on the PS3.

Some of the things you can do with Linux on your PS3 include:

-Use your Play Station like a PC, with a keyboard and mouse. Not all PC programs will run on the PS3, at least not yet, but Linux enables you many options.

-Run your own operating system. This is a boon to those who want to personalize their system.

-Use the internet. You can surf the web on your PS3 with an internet browser such as Firefox.

-Use office software. Although, it’s been reported that Windows doesn’t run 15well on the PS3. However, in the future, Microsoft could make a version of Windows that can run on the PS3. The rumor mill is buzzing, but there is no official word about this.

-Run MAME and other kinds of emulators. This means you can play all your favorite games from yesteryear on your brand new shiny Play Station 3.

-Play different types of media, such as DVDs, ROMs and CDs. Running Linux, you can watch movies or listen to music on your PS3.

-Connect to network shares. This feature allows you to save and retrieve files on another server, thus saving your memory.

The only problem with getting Linux on your PS3 is that it’s difficult to install and hard to use. Right now, it’s pretty much the domain of experienced programmers and hobbyists. Hopefully, in the future there will be a more user-friendly interface for running Linux on your gaming console. Since PS3 came out, most programmers have used Fedora Core to run Linux on their PS3′s, but there is a new system called Yellow Dog which is designed specifically for use with PS3. Yellow Dog is highly recommended and gaining popularity.

Still, the best thing about Linux is it’s free. All you need is a PS3, the proper cables, a USB mouse and keyboard, a USB flash drive and some other gear to make installation smoother… ok, so it’s not really free, but Linux itself is! If you’ve used Linux before, it may not be so tough to install. There is a variety of websites out there with tips for installation and most recommend Yellow Dog. You can also find ideas on how to run Linux on gaming forums.

Marcus Creyton writes on game console systems. He is a PS3, Xbox 360 and Nintendo Wii enthusiast. For information, guides, cheats on PS3, Nintendo Wii and Xbox 360 go here: http://gameconsolekingdom.com

Tags: , , ,
Back to top