LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-16-2004, 03:57 AM   #1
scotko
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Rep: Reputation: 0
Run without internet connection


I noticed that Linux won't run any applications unless I am connected to the internet. I use a cable modem, and unless it is on I can't even run a simple text editor such as gedit. The odd thing is that when attempting run gedit (for example) with the modem off, the text editor won't display on screen until I turn the modem on. Up will pop gedit as soon as I connect, even if I wait a while. I was wondering why Linux is designed this way, and if there is a way to run installed software without an internet connection. thanks up front.

sk
 
Old 03-16-2004, 05:22 AM   #2
kobs
Member
 
Registered: Mar 2004
Location: 127.0.0.1
Distribution: FreeBSD 5.3-STABLE, Slackware 10-CURRENT, Debian Sarge
Posts: 51

Rep: Reputation: 15
Um...that's very weird...My linux box isn't online and I can run every program...even internet apps such as xchat and gaim...they just tell me i have no connection..That's very unsuaal.....what distro are you using?
 
Old 03-16-2004, 03:44 PM   #3
scotko
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Fedora, kernal 2.4.22-1.2174. If I click my modem off and try to run a program, the hour glass just spins and nothing happens. Then, it stops trying to execute the program . But, when I turn the connection on, the program will pop open -- weird.
 
Old 03-16-2004, 04:38 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
There is no requirement in Linux that requires an active Internet connection in order to start an installed program. Like kobs stated, you can run whatever program you want, and the worst case scenario would be to get a message saying "no connection", eg, you can open up Mozilla but if you to to Yahoo and aren't connected, you won't get a response. But you can at least start Mozilla.

I am absolutely baffled by the description of your PC's behavior - there's no reason for instance why a text editor would need a connection. Are you sure that there isn't some other process that gets launced when you start up, and which does need a connection? What happens when you run top? Are there any unexpected entries in the list? -- J.W.
 
Old 03-16-2004, 05:03 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just add a line with localhost to your
/etc/hosts ...

I guess that your only "identification" at the
moment is the hostname you get from your
ISP, and Gnome will use that to try to talk with
its programs ...


Cheers,
Tink
 
Old 03-16-2004, 10:28 PM   #6
scotko
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Tinkster;

thanks; but would you be willing to elaborate a bit. I am pretty new. apologies and thanks.

sk
 
Old 03-16-2004, 10:39 PM   #7
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
hehe ... master Tinkster strikes again ... sorry for the interruption but i just had to do it.

Tinkster --- lep pozdrav, lfur se je zbudil od mrtvih (hope you understand)

Last edited by lfur; 03-16-2004 at 10:43 PM.
 
Old 03-17-2004, 12:30 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by scotko
thanks; but would you be willing to elaborate a bit. I am pretty new. apologies and thanks.
Sure ... how about we start
by you posting the current contents of
/etc/hosts
?


Cheers,
Tink
 
Old 03-17-2004, 12:32 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by lfur
Tinkster --- lep pozdrav, lfur se je zbudil od mrtvih (hope you understand)
Zdravo, in hvala Bogu! :)
In kljub tega ta sploh nimam vadbe le
se malo slovenscine razumem ;)


Adio,
Tink

Last edited by Tinkster; 09-08-2005 at 02:29 AM.
 
Old 03-17-2004, 06:43 PM   #10
scotko
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I think that perhaps I will read a tutorial or two -- to learn more about DNS, DHCP, and so on
I think the resolution lies in learning and research. Thanks much.




beneath all good things lies a bed called time
 
Old 03-17-2004, 10:39 PM   #11
scotko
LQ Newbie
 
Registered: Mar 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I think figured it out. I had no hosts file entries to configure, because I had no localhost entry for one; which i placed there. I don't know exactly why, but having placed the local host in /etc/hosts has resolved my issue. I guess that is what you meant by my identification being only the hostname from my ip. I needed a local id - if you will. If you have any further info here I appreciate.
Actually, what i could really use are some good links to some info that will teach me this stuff in depth. ie: all about how internet actually works / communicates. Just learning guys/gals. Thanks again

SK
 
  


Reply



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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
Messed up my internet settings (NO internet connection) :( Almazick Linux - Networking 2 09-08-2004 12:05 PM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 08:38 PM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 PM.

Main Menu
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
Open Source Consulting | Domain Registration