LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't get connected (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-connected-597067/)

petsno123 11-04-2007 11:25 AM

can't get connected
 
This is the message I get each time I go into ubuntu 7.04 ;- 'could not lookup internet address for peter-desktop.This will prevent Xfce from operating correctly.It may be possible to correct the problem by adding peter-desktop to the file/etc/hosts on your system.Continue anyway? Try again? Unable to make the addition as suggested. In network settings things are as follows ;-SSID:HAYGREEN DHCP Properties;Unable to connect. Wirelzss settings : network name :ESSID)HAYGREEN network password type :WEP key(ascii) Then the 26 car'ecters,which I have typed in most carefully. Can anyone please help me sort out this problem?As you all know until you are connected any linux system is almost useless.Can anyone please help me sort out this problem?

poet_imp 11-04-2007 02:59 PM

Have you tried to update /etc/hosts like the message suggests?

Example:

127.0.0.1 localhost peter-desktop

JBull 11-04-2007 03:14 PM

Yes do what poet_imp says above.

$cd /etc
$sudo gedit hosts

Then edit the first lines of the file to read exactly what poet posted. Save the file. Test your connection and see if everything is working. If not then type

$cat /etc/hosts


$sudo ifconfig


$sudo iwconfig

And post the output of each of these.

petsno123 11-13-2007 03:14 PM

the help didn't work
 
Thank you for the advice to both poet_imp and JBull.Still not connected to the net.Should really have used a 'shot' of what follows. Network Settings Connection General DNS Hosts I P Address Alias 127.0.0.1 localhost 127.0.1.1 peter-desktop HAYGREEN ::1 1p6-locajhost fe00::0 1p6-localhost ff00::0 1p6-mcastprefix ff02::1 1p6-allnodes ff02::2 1p6-allnodes ff02::3 1p6-allhosts Can not add a location at the top.

poet_imp 11-13-2007 05:58 PM

Need more input...
 
Seemed an good title for post "Number Five" (if you are not a movie watcher just ignore me :))

petsno, you need to look at what jbull asked you to send. The hosts file and the output from the ifconfig and iwconfig commands will help a lot. Just type in the commands as he has shown them and copy from your screen and paste it to a reply.

I do not recognize what you did send. What did you do to get that response?

petsno123 11-15-2007 03:42 AM

can't get connected
 
Have received two replies and was asked for more info about what I had done so far.There is another question I would like to ask.Is it possible to send an e-mail to this page with attachments?If so this could illustrate better the visual information appearing on my ubuntu worktopI can't seem to understand the questions I'm asked and don't understand the answers I receive back from poet_imp and JBull.I have a total of 5.5meg of screenshots I could send,if they would help.

poet_imp 11-15-2007 11:20 AM

Petsno, From what I can see in your posts so far, the problems you are seeing are related to having your network configured incorrectly. I can not be sure of that though without looking at how the networking is configured. I think, that if we fix the network configuration, it will make XFCE work.

To see how your network is configured I need to see three things. To show me those three things I need you to type three commands. They are:

ifconfig -a >netconf.out
iwconfig >>netconf.out
cat /etc/hosts >>netconf.out

After you type each command some output will written to the file netconf.out. If you do not have a screen where you can type in these commands you may need press <ctrl-alt-f1> to get to a console screen.

Once you have the netconf.out file you need to post what is in it on this thread. How you do that is up to you.

petsno123 11-17-2007 03:57 PM

Have been into terminal and typed the three instuctions as given with the following replies :- ifconfig (NOT RECOGNISED) twconfig command not found cat/etc/hosts no such file or directory SOME PART SEEMS TO BE CONNECTED TO THZ NET?THAT'S MORE OF A FEELING,CAN'T PUT MY FINGER ON WHAT.

linuxonbute 11-18-2007 03:24 PM

Quote:

Originally Posted by petsno123 (Post 2962369)
Have been into terminal and typed the three instuctions as given with the following replies :- ifconfig (NOT RECOGNISED) twconfig command not found cat/etc/hosts no such file or directory SOME PART SEEMS TO BE CONNECTED TO THZ NET?THAT'S MORE OF A FEELING,CAN'T PUT MY FINGER ON WHAT.

Did you run the first 2 commands as root?
the commands are not usually in a users PATH
but are in root's PATH

I think the 2nd command should be iwconfig not twconfig
the third command should be
cat /etc/hosts
NOT
cat/etc/hosts
i.e a space between cat and the first / ( or was this just a typo? )

petsno123 11-22-2007 04:23 PM

can't get connected
 
Dear all,thanks for all the info.Still not making the connection. Have managed to get IP Address,which is 82.253.203.242 and the hosts name ;-lns-bzn-46-82-253-203-242.adsl.p10xad.net
Being such a long and complex set of details could have lead to errors,though.Will I need to type them if I ever do get close to being connected?Configuration is much more complex than I expected.Without your feedback I would have given up before now. A pity as what I have seen so far really looks good.Don't give up on me please.

petsno123 12-01-2007 08:51 AM

fcan't get connected
 
Dear all I seem to be understanding a little more as time progesses.Still getting the message before I'm even into anything "could not look up address for peter-desktop.At least when I go into Network Settings things apear better.'Wireless connection looks active,showing Essid:HAYGREEN Address:82.253.203.242.On clicking Properties I see :- X Enable this connection.Below this :-Wireless settings.Then are listed :- Network name(ESSID)HAYGREEN;Password type WEP key(tried both ascii and hexadecimal);Network password (typed very,very carzfully].For Connection settings I've used both "Static IP address" and "Auto config(DHCP)" with IP address 82.253.203.242;Subnet mask 255.0.0.0 and Gateway address as c46.82.253.203.Tried changing "Hosts" to IP address 82.253.203.242 but left the "aliases" as peter-desktopHAYGREEN.Nothing apears to have made any difference.The linux driver for my cardbus adapter seems to be showing when xbuntu is fired-up.Is there something I should be doing at the terminal interface?I don't know what to do next.

petsno123 12-08-2007 10:23 AM

seem to getting somewhere
 
Thank you for all the help so far.Have gone into "help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide?action.Found it very useful,even if I didn't understand most of the information.Moved to Network - "terminal"and typed :- lshw".The results were as follows ;- description : Wireless interface product : RT2561/RT61 rev B802.11g vendor : RaLink physical id : a businfo : pci@01:0a.0 logical name : ra0 version : 00 serial : 00:08:a1:a1:f6:64 width : 32bits clock :33MHz capabilities : bus-master cap-list ethernet physical wirelzss configuration : broadcast=yes driver=RT61STA driver version =1:1:0 CV3 IP+192.168.0.1 latancy=64 multicast=yes wireless=RT61 wireless resources : iomemoryidfff0000.dfffffff irq20 --END OF PAGE-- Then typed "lwconfig" wiyh the following result:- Lo no wireless extension eth0 no wireless extension ra0 RT61Wireless ESSID:"HAYGREEN "NICKNAME:" mode:Managed Frequency:2.462GHz Access Point:00:07:CB:6E:67:60 Bit rate=24Mb/s RTs thr:off Fragment thr:off Line quality=63/100 signal level:-78dBm noise level:-103dBm RX invalid nwid:0 RX invalid crypt:0 RX invalid frag:0 TX excessive retries:0 Invalid misc:0 missed becons:0 I trust all that is understood by someone out there.Await a reply.

OSlinuX 12-08-2007 01:16 PM

When i first installed Ubuntu on my laptop i was glad that the card was automatically picked up, but i had the same problem you were having. I think the problem is that the bugs for linux and a secured wireless network just have not been worked out yet.
Try making your wireless network unsecure, without a key. See if you can connect after that. Thats what helped me out. Instead of using WEP, i ended up using MAC filtering.

xweb 12-08-2007 02:05 PM

I believe you need to install the wpa_suplicant to get encryption working.

crackpipe 12-26-2007 05:45 PM

Usually, if the files "etc/hosts" and "etc/HOSTNAME" have the same info, XFCE won't bark at you. If you change /etc/hosts, try changing etc/HOSTNAME and see if XFCE stops prompting you during log-in. If it doesn't, I'm sorry; it would annoy me too if convenience led me to change my /etc/hosts back to something XFCE expected.


All times are GMT -5. The time now is 07:26 AM.