Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37

Thread: New to linux, cannot connect to internet

  1. #21

    Re:New to linux, cannot connect to internet

    Hi
    I tried changing 2 to the chkconfig runlevels. But no use.

    Now I am trying to figure out, how to put a script in the profile that executes during startup.

    Thanks
    Roy

  2. #22

    Re:New to linux, cannot connect to internet

    Hi,
    I executed the command
    echo /sbin/dhclient eth0 >> /etc/rc.d/rc.local

    Yes now it is working on boot time.

    Thanks all for your help
    Thanks a lot

    Roy

  3. #23

    Re:New to linux, cannot connect to internet

    Nice Roy! starnge it did not work out of the box, but I admire you patience.

  4. #24

    Re:New to linux, cannot connect to internet

    Hi All,
    after I executed the command
    echo /sbin/dhclient eth0 >> /etc/rc.d/rc.local

    each time I login into the system I am getting an error message
    "Couldnot look up internet adress for x1-6-.....9f-67(I am not giving the full address fearing any security problems?).This will present GNOME from operating correctly. It may be possible to correct the problmem by adding x1-6-.....9f-67 to file /etc/host"

    So I did
    echo x1-6-....-9f-67 >> /etc/hosts

    But I still getting that error.
    Also when I open terminal
    it is showing like this
    [root@x1-6-....-9f-67 ~]#

    I am not experiencing any problem because of this. But like to make sure this is not a problem. How can I rectify it?
    Thanks
    Roy




  5. #25
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:New to linux, cannot connect to internet

    add your ip and hostname to /etc/hosts like the following :

    [YOUR IP ADDDRESS] [HOSTNAME]

    Do not change your localhost line.

  6. #26

    Re:New to linux, cannot connect to internet

    Hi,
    Now my /etc/hosts is like this
    127.0.0.1 localhost.localdomain localhost
    x1-...-67 localhost.localdomain localhost

    But still have the problem

    Roy

  7. #27
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:New to linux, cannot connect to internet

    [quote author=roy link=board=4;threadid=10233;start=0#msg92486 date=1108757360]
    127.0.0.1 localhost.localdomain localhost
    x1-...-67 localhost.localdomain localhost
    [/quote]

    The first line is perfect. But change the last one to include whatever domain you want. For example I have somthing similar to:

    192.168.1.64 andrew andrew.schotty.net

  8. #28

    Re:New to linux, cannot connect to internet

    Hi,
    Now /etc/host
    have something like this as the second line
    x1-6-00-h0-12-5b-9f-67 roy.kuri roy

    Do any body know from where I got this x1-6-00-h0-12-5b-9f-67 address.
    It doesnt look like a normal ip address any way to me. Where it is saved so that i can change it? And what is that address mean? like my address in the network ( I am not in any network other than internet)

    Thanks a lot
    Roy

  9. #29
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:New to linux, cannot connect to internet

    run /sbin/ipconfig and type the address that is given there instead of that goofy one you have now. I agree that is an odd one, and is most certianly NOT IPv6.

  10. #30

    Re:New to linux, cannot connect to internet

    Hi I tried
    /sbin/ipconfig
    -bash: /sbin/ipconfig: No such file or directory

    So i tried
    /sbin/ifconfig
    eth0 Link encap:Ethernet HWaddr 00:E0:18:7B:9F:67
    inet addr:67.184.92.138 Bcast:255.255.255.255 Mask:255.255.252.0
    inet6 addr: fe80::2e0:18ff:fe7b:9f67/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:9908 errors:0 dropped:0 overruns:0 frame:0
    TX packets:501 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:914396 (892.9 KiB) TX bytes:107115 (104.6 KiB)
    Interrupt:11 Base address:0xb000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:2098 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2098 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2253582 (2.1 MiB) TX bytes:2253582 (2.1 MiB)


    and i added 67.184.92.138 into /etc/host file. But no help.
    It looks like it is better to leave it alone for now
    Thanks again.
    Roy

Similar Threads

  1. Another try at preserving our "FREEDOM"
    By Fatal Error in forum General Chat
    Replies: 0
    Last Post: 03-10-2005, 10:48 PM
  2. Linux security is a 'myth', claims Microsoft
    By genesis in forum Windows - General Topics
    Replies: 4
    Last Post: 01-30-2005, 10:51 PM
  3. How do I connect to the internet
    By cwatkiuk in forum Suse
    Replies: 1
    Last Post: 08-09-2003, 01:37 AM
  4. PCMCIA nic on peanut linux
    By rioguia in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 07-05-2002, 05:46 PM
  5. Preorder your Linux for PS2 now!
    By rick420 in forum Linux - General Topics
    Replies: 4
    Last Post: 04-05-2002, 05:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •