LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

chnage the default openSUSE hostname

Posted 08-04-2009 at 05:07 AM by theacerguy

hi all,
if you hate that the suse installer called your pc linux-sqj4 or something then here is how to change it!
1) bring up a terminal
2)su to become root
3)vi /etc/HOSTNAME
4)change the bit before .site to whatever your new hosname will be by pressing i then deleting the bit that says linux-(random sequence)
5) esc :wq to quit and save
6) reboot!
note i used vi but you can use any editor if you do alt+f2 then kdesu kwrite /etc/Hostname then...
Member
Posted in Uncategorized
Views 1505 Comments 0 theacerguy is offline
Old

udev and network devices

Posted 08-03-2009 at 06:57 AM by stureedy

After all these years, I finally figured out how to configure udev to load my network devices in the correct order.

In the past I compiled my own kernels and could force the card I wanted to be eth0 by compiling it into the kernel, then loading the card I wanted as eth1 as a module. This worked well. Of course, udev provides a "better" way, and now that it's five years old, I finally decided to learn it!

As with most things Linux, it was easy to do, once...
Member
Posted in Uncategorized
Views 2508 Comments 0 stureedy is offline
Old

My new Linux-frienly online backup service

Posted 08-02-2009 at 09:53 AM by xri
Tags backup, online

I've been looking for a simple and secure ('relatively secure', I should say) online service.

So far, I have my mind set on Amazon S3 for business purposes. A number of experts recommend it.
Another one I can say that drew my attention was rsync.net.


However, for personal purposes, I have settled on this one: SpiderOak. I like it for the following reasons:
  1. Automatic backup
  2. Privacy guaranteed (I'm not going to store unencrypted crucial data
...
xri
Member
Posted in Uncategorized
Views 1927 Comments 0 xri is offline
Old

In the absence of things to say...

Posted 08-01-2009 at 12:21 PM by Shingoshi

I've been somewhat sparse in my comments over the past few weeks. I was waiting until the first of August so the I would have the funds to continue with acquiring components for the project I'm involved in. I'd rather not waste reader's time with nothing to say. So I'll write when it's pertinent to do so.

But hey! It's the First of August. And this month is my birthday. Really getting old here on this end. Maybe using old and end in the same sentence isn't the smartest thing to do....
Member
Views 1096 Comments 0 Shingoshi is offline
Old

fork() not giving desired result

Posted 07-31-2009 at 03:49 PM by anshu33331

Quote:
Originally Posted by anshu33331 View Post
main()
{
printf("LINUX");
fork();
printf("UNIX");
}

expected result is LINUX UNIX UNIX.
actual result: LINUX UNIX LINUX UNIX

But if i write
printf("LINUX\n"); in line 3

it is giving expected output.

can anybody give the justified answer..




thanks everybody
LQ Newbie
Posted in Uncategorized
Views 711 Comments 0 anshu33331 is offline

  



All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration