LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-20-2008, 10:04 PM   #1
urbansaint
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Killing a process through terminal.


Hi guyz,

I'm just starting to learn Linux now and currently using Fedora Core 5.
So, the story goes like this, my internet connection unable to connect all the time due to the IP address keep changing.I'm connecting to the LAN to a server where a default IP is set for internet. but the IP keep changing everytime i reboot the system.So, mr experts..How can i solve this problem?
 
Old 05-20-2008, 10:55 PM   #2
charlie0313
Member
 
Registered: Jan 2008
Location: Dunn Loring, VA
Distribution: Slackware 12.0, Ubuntu 8.04
Posts: 47

Rep: Reputation: 15
some suggestions

Do you have a DHCP service for your LAN? Your public IP shouldn't be changing like that. I would say to use 'ifconfig' and just set a static IP ie. 'ifconfig eth0 inet 192.168.1.100' Also check and see if your gateway is configured by typing 'route'. To add a gateway: 'route add default gw 192.168.1.1' the 192.168.1.1 would be replaced by whatever your gateway is. Also check and see if IP addresses work in the address bar to get to the internet. If the IP's do but names don't add a DNS server to your /etc/resolv.conf ie. 'vi /etc/resolv.conf' then in the file 'nameserver 192.168.1.1' My wireless router serves as a gateway, dhcp server and dns server. so thats what i used in my expamles. also if you don't like vi you can use vim, or nano and there's probably some more. Hope that helps
 
Old 05-20-2008, 10:56 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Google 'dynamic DNS'. This is a scheme where you get a static IP name, that gets automatically updated to a new IP address whenever your host's IP changes. There may be free services that suit your requirements.
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing process by username mijohnst Linux - Software 4 05-30-2005 08:50 PM
Killing a process by its name rabeea Linux - Networking 3 03-17-2005 05:30 AM
Killing a process on startup...... har5ha Linux - Software 3 07-24-2004 12:52 PM
Killing Process probs collen Linux - General 4 09-16-2003 09:18 AM
Really Killing a Process! lazlow69 Linux - Newbie 14 05-10-2003 10:31 PM


All times are GMT -5. The time now is 11:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration