Wireless Network Problem 8.04
Derek Broughton
news at pointerstop.ca
Wed Apr 30 01:06:30 UTC 2008
Bob Cortez wrote:
> Host name is MysticVentures-laptop
> User name is MysticVentures
> Domain is cortez-ross.
>
> In Network settings>General Tab if I enter the domain name above then
> close network settings, when I open it up again the domain is appended to
> the host
> name >127.0.1.1 MysticVentures-Laptop.cortez-ross.
Well, of course this is going to be a problem. Host names shouldn't contain
special characters (though a hyphen is unlikely to cause any problems), and
neither should domain names - but this isn't a valid domain name. Why do
you have it?
> I can go to the
> properties and delete the .cortez-ross from the host alias, but when I
> close
> and reopen Net Work manage, cortez-ross is still appended. The only way
> to
> remove it is to leave the domain field blank. I hope that makes sense
> now.
_That_ part already made sense - as I said, network manager doesn't set the
domain, usually DHCP does, but
>> You also didn't give us any indication how you deleted the domain name.
>> The
>> only place I can imagine is in resolv.conf - and that clearly tells you
>> that you can't modify it and Network Manager will rewrite it.
>>
>> Domain name _should_ be appended to your host name, but you don't
>> (usually)
>> _set_ your domain name - your DHCP server sends it to your DHCP client
>> which puts it into resolv.conf
>
>
> I didn't edit the resolv.conf file. The only place that I have changed
> the domain is in the network manager interface as described above.
But where did it come from in the first place?
>> The most likely reason for that is that if you have now configured it
>> in /etc/network/interfaces (if you did it through the system control
>> panel, that's what you did) and Network Manager explicitly ignores those.
> I don't know if this provides any clues that may help find out how I've
> messed this up.
>
> mysticventures at mysticventures-laptop:~$ hostname -a
> hostname: Unknown host
> mysticventures at mysticventures-laptop:~$ hostname -s
> hostname: Unknown host
That just means you don't currently have a network connection (can't look up
the DNS, anyway)
> contents of /etc/network/interfaces
>
> auto lo
> iface lo inet loopback
OK, that's what it should look like.
Try: sudo /etc/dbus-1/event.d/25NetworkManager restart
With any luck that will at least reset the wireless kernel module so that
you see the wireless device in network manager. if the device shows, but
no networks do, try: iwlist scan
--
derek
More information about the ubuntu-users
mailing list