LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Killing a process through terminal. (https://www.linuxquestions.org/questions/linux-newbie-8/killing-a-process-through-terminal-643654/)

urbansaint 05-20-2008 10:04 PM

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?

charlie0313 05-20-2008 10:55 PM

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

theNbomr 05-20-2008 10:56 PM

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.


All times are GMT -5. The time now is 07:28 PM.