Home network

Joined
Jul 14, 2008
Messages
9
Reaction score
0
I have a home network comprising three Vista PCs and an iMac. They are all networked and can share files and a printer. Will I be able to add the One to the network and share files and the printer? :?
 
I wish someone could explain how to do this for us complete Linux noobs, I want to keep Linux on the One as I already have Windows machines and a Macbook running OSX so it would be mice to have Linux (I eventually want to install Ubuntu) as well, but I'm completely lost on the networking side of things.
 
pinchez said:
I wish someone could explain how to do this for us complete Linux noobs, I want to keep Linux on the One as I already have Windows machines and a Macbook running OSX so it would be mice to have Linux (I eventually want to install Ubuntu) as well, but I'm completely lost on the networking side of things.

Same here ! Completely.

I'm sure as times goes on, there will be loads of guides, fixes, drivers, all sorts for installing on the one effortlessly.
 
Connecting to a network printer was easy in Settings->Printer. I have my printer connected to my Windows Home Server box and was able to print a doc from my Aspire One with no issues.
 
CMark1 said:
Connecting to a network printer was easy in Settings->Printer. I have my printer connected to my Windows Home Server box and was able to print a doc from my Aspire One with no issues.

Thanks for the response! Did you have to install any drivers?
 
Hi
for networking I think you should look into NFS or Samba (with samba the obvious choice if you want to share with windows i guess)

Has anyone tried to set a custom HOSTNAME ? because the localhost default is so ugly :geek:
If so how did you succeed? I didn't, just messed up the whole thing:
I did:
/etc/sysconfig/network --> HOSTNAME = hostname.domain
and edited:
/etc/hosts

but /etc/hosts keeps changing back at every reboot ...
(also tried #hostname xxx but no luck either)
 
but /etc/hosts keeps changing back at every reboot ...

edit in /etc/rc.sysinit the line
Code:
HOSTNAME=`/bin/hostname`
to
Code:
HOSTNAME=<your-hostname>

that worked for me...

Hope that helps.

Monkey
 
Monkey said:
but /etc/hosts keeps changing back at every reboot ...

edit in /etc/rc.sysinit the line
Code:
HOSTNAME=`/bin/hostname`
to
Code:
HOSTNAME=<your-hostname>

that worked for me...

Hope that helps.

Monkey

Thanks M.

I hope that someone will still send me the original /etc/hosts and /etc/sysconfig/network because those are still messed up for the moment off course ...
;)
 
Hi,

I hope that someone will still send me the original /etc/hosts and /etc/sysconfig/network because those are still messed up for the moment off course ...

my /etc/hosts:
Code:
127.0.0.1    localhost    localhost
127.0.0.1    polly.empty-v.de    polly

my /etc/sysconfig/network:
Code:
NETWORKING=yes
HOSTNAME=polly.empty-v.de

Monkey
 
Monkey said:
but /etc/hosts keeps changing back at every reboot ...
edit in /etc/rc.sysinit the line
Code:
HOSTNAME=`/bin/hostname`
to
Code:
HOSTNAME=<your-hostname>
that worked for me...
Hope that helps.
Monkey

Hmmm, I 'm still getting the error about my /etc/hosts file at startup (and the system still adds 2 extra lines
"localhost.localdomain localhost" (this line twice) (even after I replaced the /etc/hosts file by what you suggested.)

And maybe I gave some wrong info, my hostname was indeed accepted once I changed the /etc/sysconfig/network file. Which is logic because the output from '/bin/hostname' seems to be that hostname entry, but it shouldn't hurt either i guess. So I'm still stuck with the error message at the start of X saying that my /etc/hosts is wrong .... (??) Do you have any other ideas?

Thanks for the help already
 
I'm having the exact same problem, and the fix outlined above didn't work for me either.

- I modified /etc/sysconfig/network to include my hostname.domain (abcd.domain.com)
- I modified /etc/hosts to include abcd and abcd.domain.com defined as 127.0.0.1, but of course, that file gets rewritten by whatever app on the Aspire One, so that is not working out

So I also tried modifying /etc/rc.sysinit as explained in this thread, replacing the HOSTNAME=`/bin/hostname` by HOSTNAME=abcd.domain.com , but that didn't work, after reboot, Xfce4 complained again. I remodified rc.sysinit with HOSTNAME=abcd , but same error again.

Did anyone figure this out yet ? Seems such a simple objective, I can't believe we're only two with this problem. Of course the error message Xfce4 shoots doesn't seem to have any adverse effect, but the popup is still annoying to say the least.

Thanks!
 
I found that you should alter your /etc/hosts in the following way ...
http://wiki.laptop.org/go/Xfce
But it doesn't work either (at least not with only that line in, still want to try other possibilities...)

Besides the '/bin/hostname' is just the output from the hostname command, you can try that in a terminal, it should give the hostname you set in /etc/sysconfig/network...
 
So far no solution yet, but this should be so simple??
My /etc/hosts gets overwritten no matter what I put in it
Code:
127.0.0.1	localhost	localhost
127.0.0.1	ONE.Belkin
localhost.localdomain	ONE.Belkin
localhost.localdomain
Do you think that it gets overwritten by a init script like the keyboard settings? (I think it is normal behavior that the /etc/hosts gets overwritten when mis configured, but I'm not sure)
 
The way the AA1 starts up its network is a little peculiar. It gets its hostname form /etc/sysconfig/network (if not, it calls itself localhost.localdomain). But, annoyingly it rewrites its own /etc/hosts file every reboot, so anything in /etc/hosts you put there will be lost.

However, because of a problem in the way its building its hosts file it'll only work if the HOSTNAME in /etc/sysconfig/network is not an FQDN (i.e. mycomputer not mycomputer.mydomain) because it'll put mycomputer.mydomain into your hosts file (twice) and set the machine's name to mycomputer and so it goes unrecognized by xfce (this is actually fixable, as its just a small problem in the startup script).

The script, /etc/rc.d/rc.5 reads (near the top):
Code:
linpus_host="`cat /etc/sysconfig/network | grep HOSTNAME | cut -d "=" -f2`"
echo "127.0.0.1 localhost       localhost
127.0.0.1       ${linpus_host}  ${linpus_host}
" > /etc/hosts
echo ${linpus_host} > /etc/HOSTNAME
/bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)

Where it should actually read (or something like this)
Code:
linpus_fqdn_host="`cat /etc/sysconfig/network | grep HOSTNAME | cut -d "=" -f2`"
linpus_host="`cat /etc/sysconfig/network | grep HOSTNAME | cut -d "=" -f2 | cut -f1 -d .`"
echo "127.0.0.1 localhost       localhost
127.0.0.1       ${linpus_fqdn_host}  ${linpus_host}
" > /etc/hosts
echo ${linpus_fqdn_host} > /etc/HOSTNAME
/bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)

IMHO, this is a pretty dodgy way of dealing with naming (from acer or linpus), if you wanted your own hosts file, that you could do something like this:
Code:
linpus_fqdn_host="`cat /etc/sysconfig/network | grep HOSTNAME | cut -d "=" -f2`"
linpus_host="`cat /etc/sysconfig/network | grep HOSTNAME | cut -d "=" -f2 | cut -f1 -d .`"
echo "127.0.0.1 localhost       localhost
127.0.0.1       ${linpus_fqdn_host}  ${linpus_host}
" > /etc/hosts
cat /etc/myhosts >> /etc/hosts
echo ${linpus_fqdn_host} > /etc/HOSTNAME
/bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)
and add your hosts to a file called /etc/myhosts

as for why this is happening:
Code:
127.0.0.1   localhost   localhost
127.0.0.1   ONE.Belkin
localhost.localdomain   ONE.Belkin
localhost.localdomain

Thats just wierd. its like something is setting you hostname somewhere to ONE.Belkin\nlocalhost.localdomain. Is there anything odd in /etc/sysconfig/network?

I originally thought it was getting the hostnames from dhcp, but it appears thats not the case at all.
 

Latest threads

Back
Top