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 04-28-2004, 05:38 AM   #1
shmegegge
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10
Posts: 19

Rep: Reputation: 0
stupidly lost my network connection...


Hey. I've tried searching the forum for the answer to this before posting, but I'm not even sure what search term to use. either way, I couldn't find anything, so sorry if this is a repeat post.

Basically, I was trying to change my computer's hostname from localhost to something else. I searched around and saw a post saying you could do it in the mandrake computer configuration tool.

I took a guess and (in Mandrake 10) used the K menu to navigate to the "configure your computer" app.

I then double clicked the "network and internet" icon. (i think that was it.) Then I went to something like Internet Connection sharing or something like that. I then went through a wizard of some kind for configuring the network connection, including picking what kind of connection, what device to use, what hostname to use and what zerconfhostname to use. I don't know what zeroconfhostname is, but I assumed that both it and hostname were basically the same as far as what I was looking to do (change localhost to something else) and so I just put in the hostname I wanted in both fields. for type of connection, I chose lan (I'm connected through a router to a cable modem) and finished the wizard. next thing I know, I have no internet. localhost had been changed, alright, but I'd rather have the computer called localhost and be able to access my network and the internet.

Anyway, it's my fault for being so stupid, but I still need help.

I'm sorry if this is so vague. I'm typing it from windows (I dual boot for just such an eventuality) and so I don't have the OS in front of me to say precisely what I did. I can, however, provide you with whatever info you need. Just ask.

thanks in advance.
 
Old 04-28-2004, 03:33 PM   #2
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
did you make sure that you typed it in the form:

localhost.localdomain ?

ex mybox.home
 
Old 04-28-2004, 04:26 PM   #3
shmegegge
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10
Posts: 19

Original Poster
Rep: Reputation: 0
I didn't, because I really know nothing about linux and what it needs. I'll try that now, though.
 
Old 04-28-2004, 04:58 PM   #4
shmegegge
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bardinjw
did you make sure that you typed it in the form:

localhost.localdomain ?

ex mybox.home
well, that didn't work. I guess what I need to know is: how do I set up the network, even if it's just as localhost, so that I can get to the internet and stuff? I mean, I can't even get at my router.

I'm really just not familiar with Mandrake's utilities for configuring network and internet settings.
 
Old 04-28-2004, 06:50 PM   #5
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
ok i'm home now.

i just did what you want, here's how:

i went to "configure your computer", "network and internet"

i removed any connections with the remove tool.
went to "new connection", "lan connection"
chose appropriate adapter

automatic ip (if that's what you use), or else enter that info as needed

i use their network hotplugging.

for hostname (not DHCP hostname) i used "mybox.home"
i don't use zeroconf, so i left that blank.

restart network
logout of X, and log back in.

now i'm "myself@mybox" and my domain is "home"
 
Old 04-29-2004, 07:17 AM   #6
shmegegge
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10
Posts: 19

Original Poster
Rep: Reputation: 0
Okay, so I tried that, and I was able to change my hostname, but I still have no network access. Even pinging my router from Konsole returns an error.

so, what am I doing wrong? can anyone point me to a step-by-step guide for setting up network access from scratch so that I can fix this?

in case the names I chose for my localhost are the problem (which I doubt) they were:

BoozeParade.home
and
shitbox.home

I thought maybe BoozeParade shouldn't have had capitals or anything, which is why I went with shitbox, but that didn't work either. I mean, now Konsole asks me to login to shitbox, which is great, but I can't access the network.

I'm running the linux-smp kernel, by the way, if that means anything.

thanks.
 
Old 04-29-2004, 08:32 AM   #7
shmegegge
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10
Posts: 19

Original Poster
Rep: Reputation: 0
I figured it out. Shorewall had been enabled when I started messing with internet connection sharing a while ago. I've disabled it and now everything is fine.
 
  


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
Lost network connection nonno2005 Linux - Networking 7 06-11-2005 07:13 AM
RH9: lost network connection r.stiltskin Linux - Networking 9 08-11-2004 03:06 PM
Lost network connection omarcb Linux - Hardware 1 02-12-2004 01:27 PM
linux internet just went stupidly slow. AekaGSR Linux - Newbie 3 10-20-2003 03:59 PM
Lost Connection ? thundersnows Slackware 6 08-14-2003 03:08 PM


All times are GMT -5. The time now is 11:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration