Re: absurdly simple LAN problem
On 15 Sep 2005, Alvin Oga wrote:
>
> hi ya anthony
>
> On Thu, 15 Sep 2005, Anthony Campbell wrote:
>
> > desktop:
> >
> > /etc/hosts:
> >
> > 127.0.0.1 localhost loopback
> > 192.168.0.20 arcadia.acampbell.org.uk arcadia arcadia.acupuncturecourse.org.uk accampbell.uklinux.net
> > 192.168.0.22 thinkpad ibm
>
> for testing, change all that .. delete the garbage what was deleted in
> this email example
>
> 127.0.0.1 localhost.localdomain localhost
> 192.168.0.20 arcadia.acampbell.org.uk arcadia
> 192.168.0.22 thinkpad.acampbell.org.uk ibmthinkpad
>
> > /etc/resolv.conf
> >
> > search
> search acampbell.org.uk
>
> > nameserver 80.84.64.20
> > nameserver 80.84.72.20
>
>
> > laptop:
> >
> > /etc/resolv.conf
> >
> > search acampbell.org.uk
> > nameserver 80.84.64.20
> > nameserver 80.84.72.20
>
> good on the laptop you did have the correct "search" but your desktop did
> not
>
> > /etc/hosts
> >
> > 127.0.0.1 localhost.localdomain localhost
> > 192.168.0.22 ibm.acampbell.org.uk ibm thinkpad
> > 192.168.0.20 arcadia
>
> 192.168.0.20 arcadia.acampbell.org.uk arcadia
>
> > > > ac:/usr/share/doc/shorewall:$ ifconfig -a
> > > > eth0 Link encap:Ethernet HWaddr 00:06:1B:DE:4B:CF
> > >
> > > bad .. this does NOT have an ip# assigned to it ...
> > > ===================================================
>
> ifconfig eth0 192.168.0.20
>
> > > > wifi0 Link encap:UNSPEC HWaddr 00-40-96-44-B5-A6-00-00-00-00-00-00-00-00-00-00
> > > > BROADCAST MULTICAST MTU:2312 Metric:1
> > >
> > > bad ... this does NOT have an ip# assigned to it
> > > /////////////////////////////////////////////////
>
> iwconfig wifi0 192.168.0.22
>
> > How can I correct these?
>
> see above
>
> - if it works when yu manually set it.. you can either do
> those commands in your own script or find the misconfigured files
> and fix it
>
> c ya
> alvin
Some progress. The "ifconfig eth0 192.168.0.20" allows the laptop to
ping the desktop. The "iwconfig" above gives "Unrecognized wireless
request 192.168.0.22" but everything seems to work nonetheless.
I still cannot ping the laptop from the desktop, however.
--
ac@acampbell.org.uk || http://www.acampbell.org.uk for
using Linux GNU/Debian || blog, book reviews, electronic
Microsoft-free zone || books and skeptical articles
Reply to: