INTERNET CONNECTION PROBLEM - Slackware

This is a discussion on INTERNET CONNECTION PROBLEM - Slackware ; oot@root:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:13:46:8d:cc:88 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::213:46ff:fe8d:cc88/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns: 0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:60 (60.0 B) ...

+ Reply to Thread
Results 1 to 15 of 15

Thread: INTERNET CONNECTION PROBLEM

  1. INTERNET CONNECTION PROBLEM

    oot@root:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:13:46:8d:cc:88
    inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6
    addr: fe80::213:46ff:fe8d:cc88/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0
    dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:
    0 carrier:0 collisions:0 txqueuelen:1000
    RX bytes:60 (60.0 B) TX bytes:510 (510.0 B)
    Interrupt:22 Base address:0xa000

    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:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root@root:~# pppoe-start
    .................TIMED OUT
    /usr/sbin/pppoe-start: line 193: 3180 Terminated $CONNECT "$@" >/dev/
    null 2>&1

    root@root:~# pppoe-stop
    pppoe-stop: No PPPoE connection appears to be running

    root@root:~# ping google.com
    ping: unknown host google.com

    root@root:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.64 bytes from
    192.168.1.1: icmp_seq=1 ttl=128 time=0.332 ms
    64 bytes from 192.168.1.1: icmp_seq=2 ttl=128 time=0.318 ms
    64 bytes from 192.168.1.1: icmp_seq=3 ttl=128 time=0.317 ms
    64 bytes from 192.168.1.1: icmp_seq=4 ttl=128 time=0.310 ms---
    192.168.1.1 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3008msrtt min/
    avg/max/mdev = 0.310/0.319/0.332/0.014 ms

    root@root:~# ping 127.0.0.1
    PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.052 ms
    64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.028 ms
    64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.028 ms
    64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.031 ms

    --- 127.0.0.1 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3011ms
    rtt min/avg/max/mdev = 0.028/0.034/0.052/0.012 ms


    root@root:~# pppoe-status
    pppoe-status: Link is down (can't read pppoe PID file /var/run/
    pppoe.conf-pppoe.pid.pppoe)
    root@root:~#


    Now there should be three blocks for the ifconfig command one that is
    concerned with ppp0 which is not present should be at the end .
    192.168.1.1 is the default gateway or router and 127.0.0.1 is local
    loop back .Please help me as i am utter disarray.i am not having
    internet connection since months

  2. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:
    > eth0 Link encap:Ethernet HWaddr 00:13:46:8d:cc:88 inet addr:192.168.1.2
    > Bcast:192.168.1.255 Mask:255.255.255.0


    So your NIC is configured for your LAN.

    > lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0


    The loopback also looks normal, but this will not be used for your
    internet connection.

    > root@root:~# pppoe-start


    Why do you want to run pppoe?

    > root@root:~# ping google.com
    > ping: unknown host google.com


    You obviously have a DNS problem. What is the contents of your
    /etc/resolv.conf? Are you able to ping google by IP-address instead?

    ping 64.233.167.99

    > root@root:~# ping 192.168.1.1


    You are able to ping your router, your internal network seems to work
    fine.

    > root@root:~# ping 127.0.0.1


    I would be surprised if you would no have been able to ping your own
    machine on the loopback interface.

    > Now there should be three blocks for the ifconfig command one that is
    > concerned with ppp0


    If you have a router, why would you need ppp?

    regards Henrik
    --
    The address in the header is only to prevent spam. My real address is:
    hc3(at)poolhem.se Examples of addresses which go to spammers:
    root@localhost postmaster@localhost


  3. Re: INTERNET CONNECTION PROBLEM

    On Aug 14, 11:40 pm, Henrik Carlqvist
    wrote:
    > ganesha wrote:
    > > eth0 Link encap:Ethernet HWaddr 00:13:46:8d:cc:88 inet addr:192.168.1.2
    > > Bcast:192.168.1.255 Mask:255.255.255.0

    >
    > So your NIC is configured for your LAN.
    >
    > > lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0

    >
    > The loopback also looks normal, but this will not be used for your
    > internet connection.
    >
    > > root@root:~# pppoe-start

    >
    > Why do you want to run pppoe?
    >
    > > root@root:~# ping google.com
    > > ping: unknown host google.com

    >
    > You obviously have a DNS problem. What is the contents of your
    > /etc/resolv.conf? Are you able to ping google by IP-address instead?
    >
    > ping 64.233.167.99
    >
    > > root@root:~# ping 192.168.1.1

    >
    > You are able to ping your router, your internal network seems to work
    > fine.
    >
    > > root@root:~# ping 127.0.0.1

    >
    > I would be surprised if you would no have been able to ping your own
    > machine on the loopback interface.
    >
    > > Now there should be three blocks for the ifconfig command one that is
    > > concerned with ppp0

    >
    > If you have a router, why would you need ppp?
    >
    > regards Henrik
    > --
    > The address in the header is only to prevent spam. My real address is:
    > hc3(at)poolhem.se Examples of addresses which go to spammers:
    > root@localhost postmaster@localhost


    To clear the picture i have nic which is connected to a router/modem
    as linux has very less usb support the default ip of my router is
    192.168.1.1
    and that of my nic is 192.168.1.x which is specified by me using
    netconfig command .the i use the roaring penguin pppoe-setup command
    to supply my username and password.when done i use pppoe-start to
    connect .

    2)my /etc/resolv.conf details are
    search localdomain
    nameserver 192.168.1.1
    inspite of having both router and nic working no connection is
    established i even used ip addresses to connect please advice

  4. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:


    > To clear the picture i have nic which is connected to a router/modem
    > as linux has very less usb support the default ip of my router is
    > 192.168.1.1
    > and that of my nic is 192.168.1.x which is specified by me using
    > netconfig command .the i use the roaring penguin pppoe-setup command
    > to supply my username and password.when done i use pppoe-start to
    > connect .


    I agree with Henrik that the router should handle the pppoe connection.

    >
    > 2)my /etc/resolv.conf details are
    > search localdomain
    > nameserver 192.168.1.1
    > inspite of having both router and nic working no connection is
    > established i even used ip addresses to connect please advice


    Did you set up a default gateway? If you run route as root it should list
    at least n+1 routes where n is the number of network interfaces, and the +1
    is the default gateway.

    --
    Ed

  5. Re: INTERNET CONNECTION PROBLEM

    On Aug 15, 7:44 am, Ed Wilson wrote:
    > ganesha wrote:
    > > To clear the picture i have nic which is connected to a router/modem
    > > as linux has very less usb support the default ip of my router is
    > > 192.168.1.1
    > > and that of my nic is 192.168.1.x which is specified by me using
    > > netconfig command .the i use the roaring penguin pppoe-setup command
    > > to supply my username and password.when done i use pppoe-start to
    > > connect .

    >
    > I agree with Henrik that the router should handle the pppoe connection.
    >
    >
    >
    > > 2)my /etc/resolv.conf details are
    > > search localdomain
    > > nameserver 192.168.1.1
    > > inspite of having both router and nic working no connection is
    > > established i even used ip addresses to connect please advice

    >
    > Did you set up a default gateway? If you run route as root it should list
    > at least n+1 routes where n is the number of network interfaces, and the +1
    > is the default gateway.
    >
    > --
    > Ed


    First of all i want to tell that i am a complete noob in slackware
    knowledge.This is how it is done in WINDOWS i ask for internet
    connection provide my username and password and click and it just
    connects i think that is due to http .In my previous slackware install
    ie 11.0 i connected by assigning IP's to both the NIC and Router (i
    think it is ADSL modem/router) which was default 192.168.1.1 huawei
    sterlite smartAX MT841 is the modem
    then i used these commands for connection i.e
    # ifconfig eth0 down
    #pppoe-start
    1) and then it used to get connected i believe that ifconfig eth0
    down disables ethernet but why to do so i have no idea.please remove
    my this confusion though i know that i am being fool here ?????
    using netconfig i supply all the details and configure the ip's
    manually dont use http
    then pppoe-setup to supply user name password and other answers and i
    use 192.168.1.1 as default gateway .
    need advice please

  6. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:

    > To clear the picture i have nic which is connected to a router/modem
    > as linux has very less usb support the default ip of my router is
    > 192.168.1.1 and that of my nic is 192.168.1.x which is specified by me
    > using netconfig command .the i use the roaring penguin pppoe-setup
    > command to supply my username and password.when done i use pppoe-start
    > to connect .


    Is the device that your computer's network interface is connected to a
    "router" or a "DSL modem"? There's a difference, and how you proceed to
    establish a connection differs with each. People often misuse the term
    "router" to mean almost any network device it seems.

    > inspite of having both router and nic working no connection is
    > established i even used ip addresses to connect please advice


    Check your system logs. On my systems that use rp-pppoe, it logs to
    daemonlog and syslog, but I don't use a stock syslog configuration so
    it might be (probably is) different on yours. Regardless, if rp-pppoe
    is having trouble establishing a connection with your ISP, it will be
    logging what's going on. I think you can also increase log verbosity,
    or run in the foreground to see even more detail. See the rp-pppoe
    manual pages for details.

    I hope that helps ...

    --
    ----------------------------------------------------------------------
    Sylvain Robitaille syl@alcor.concordia.ca

    Network and Systems analyst Concordia University
    Instructional & Information Technology Montreal, Quebec, Canada
    ----------------------------------------------------------------------

  7. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:


    > First of all i want to tell that i am a complete noob in slackware
    > knowledge.This is how it is done in WINDOWS i ask for internet
    > connection provide my username and password and click and it just
    > connects i think that is due to http .In my previous slackware install
    > ie 11.0 i connected by assigning IP's to both the NIC and Router (i
    > think it is ADSL modem/router) which was default 192.168.1.1 huawei
    > sterlite smartAX MT841 is the modem


    I think I have found the manual for your combination router and modem.
    http://www.huawei.com/products/termi...?f=351&ctype=0

    According to the Manual the MT841 can autodial the pppoe connection. Here
    is a blog post detailing how to configure the MT841 for access to BSNL
    Broadband.

    http://jsbi.blogspot.com/2006/11/how...tax-mt841.html
    --
    Ed

  8. Re: INTERNET CONNECTION PROBLEM

    On Aug 15, 9:59 am, Ed Wilson wrote:
    > ganesha wrote:
    > > First of all i want to tell that i am a complete noob in slackware
    > > knowledge.This is how it is done in WINDOWS i ask for internet
    > > connection provide my username and password and click and it just
    > > connects i think that is due to http .In my previous slackware install
    > > ie 11.0 i connected by assigning IP's to both the NIC and Router (i
    > > think it is ADSL modem/router) which was default 192.168.1.1 huawei
    > > sterlite smartAX MT841 is the modem

    >
    > I think I have found the manual for your combination router and modem.http://www.huawei.com/products/termi...?f=351&ctype=0
    >
    > According to the Manual the MT841 can autodial the pppoe connection. Here
    > is a blog post detailing how to configure the MT841 for access to BSNL
    > Broadband.
    >
    > http://jsbi.blogspot.com/2006/11/how...i-smartax-mt84...
    > --
    > Ed


    I have read the manual and tried to apply it but here i am having an
    issue i cannot open it on any browser but i am able to ping the modem
    additional details that i am supplying is as follows





    ??????????????????CONFIRM NETWORK
    SETUP?????????????????????
    ? These are the settings you have entered. To
    accept them ?
    ? and complete the networking setup, press
    enter. If you ?
    ? need to make any changes, you can do that
    now (or ?
    ? reconfigure later using
    'netconfig'). ?
    ? ?????????????????????????????????????????????????? ?????? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ?Hostname: ?
    root ? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ?Domain name: ?
    root ? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ?IP address: ?
    192.168.1.2 ? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ?Netmask: ?
    255.255.255.0 ? ? ?
    ? ? ??????????????????????????????????????? ? ?
    ? ?
    v(+)?????????????????????????????????????????????? ????? ?
    ?????????????????????????????????????????????????? ??????????
    ? < Edit >
    ?
    ?????????????????????????????????????????????????? ??????????



    this is the netconfig result soory dont know how to have a snapshot




    ** Summary of what you entered **

    Ethernet Interface: eth0
    User name: sahil07_pkt
    Activate-on-demand: No
    DNS addresses: Supplied by ISP's server
    Firewalling: STANDALONE

    >>> Accept these settings and adjust configuration files (y/n)? y

    Adjusting /etc/ppp/pppoe.conf
    Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
    (But first backing it up to /etc/ppp/pap-secrets-bak)
    (But first backing it up to /etc/ppp/chap-secrets-bak)



    Congratulations, it should be all set up!

    Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to
    bring
    it down. Type 'pppoe-status' to see the link status.
    root@sa:/# pppoe-start
    pppoe-start: There already seems to be a PPPoE connection up (PID
    3248)
    root@sa:/# pppoe-stop
    Killing pppd (3705)
    root@sa:/# pppoe-start
    pppoe-start: There already seems to be a PPPoE connection up (PID
    3248)
    root@sa:/# pppoe-stop
    Killing pppd (3725)
    root@sa:/# pppoe-stop
    Killing pppd (3725)
    root@sa:/# pppoe-stop
    Killing pppd (3742)
    root@sa:/# pppoe-stop
    Killing pppd (3742)
    root@sa:/# pppoe-stop
    Killing pppd (3742)


    this is the pppoe-setup result but here i am unable to stop pppoe with
    pppoe-stop command many pid's occur as i type pppoe-stop

  9. Re: INTERNET CONNECTION PROBLEM

    this is the other information that iu have as asked in some other
    thread



    root@root:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:13:46:8d:cc:88
    inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:
    255.255.255.0
    inet6 addr: fe80::213:46ff:fe8d:cc88/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:936 (936.0 B)
    Interrupt:22

    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:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root@root:~# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref
    Use Iface
    localnet * 255.255.255.0 U 0 0
    0 eth0
    loopback * 255.0.0.0 U 0 0
    0 lo
    root@root:~# /usr/bin/traceroute 64.233.183.99
    traceroute: findsaddr: Can't find interface
    root@root:~# /usr/bin/nslookup www.google.com
    ;; connection timed out; no servers could be reached
    root@root:/# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref
    Use Iface
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
    0 eth0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
    0 lo
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0
    0 eth0
    root@root:/#


  10. Re: INTERNET CONNECTION PROBLEM

    Hallo, ganesha,

    Du meintest am 15.08.08:

    > To clear the picture i have nic which is connected to a router/modem
    > as linux has very less usb support the default ip of my router is
    > 192.168.1.1
    > and that of my nic is 192.168.1.x which is specified by me using
    > netconfig command .


    Take a browser, ask the address "192.168.1.1"
    You should see the administration menu of the router (you may be asked
    for the adminstrator's password).

    In a submenu you should see wether the router sees the internet (you
    have to set the provider's data somewhere in a submenu).

    Only if the router is set to "bridge mode" you need pppoe.

    Viele Gruesse
    Helmut

    "Ubuntu" - an African word, meaning "Slackware is too hard for me".


  11. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:
    > root@root:~# route
    > Kernel IP routing table
    > Destination Gateway Genmask Flags Metric Ref
    > Use Iface
    > localnet * 255.255.255.0 U 0 0
    > 0 eth0
    > loopback * 255.0.0.0 U 0 0
    > 0 lo


    It seems as if you are missing a default route. Without a default route
    your computer doesn't know how to reach any machines outside your local
    network. You will need to configure a default gateway which probably
    should be 192.168.1.1 if that is your router.

    When running netconfig you will be asked for your gateway address, byt you
    don't have to run netconfig again, you can also edit
    /etc/rc.d/rc.inet1.conf and assign the IP-adress to your gateway there,
    by finding and editing a line looking something like this:

    # Default gateway IP address:
    GATEWAY="192.168.1.1"

    > root@root:~# /usr/bin/traceroute 64.233.183.99
    > traceroute: findsaddr: Can't find interface


    This is because your computer doesn't know how to reach machines with
    addresses other than 192.168.1.*. Those ping packets should have been sent
    to 192.168.1.1 which then would forward them out on the internet.

    > root@root:~# /usr/bin/nslookup www.google.com
    > ;; connection timed out; no servers could be reached


    If you have 192.168.1.1 listed as a nameserever in your /etc/resolv.conf
    this means that the DNS server in your router is misconfigured or maybe
    even missing? Are you sure that you should use your router as a DNS
    server? Maybe you should use a DNS server provided by your ISP instead?

    If your router really has a built in DNS server it could also be that your
    router hasn't been correctly configured.

    regards Henrik
    --
    The address in the header is only to prevent spam. My real address is:
    hc3(at)poolhem.se Examples of addresses which go to spammers:
    root@localhost postmaster@localhost


  12. Re: INTERNET CONNECTION PROBLEM

    On Aug 15, 9:59 pm, Ed Wilson wrote:
    > ganesha wrote:
    > > First of all i want to tell that i am a complete noob in slackware
    > > knowledge.This is how it is done in WINDOWS i ask for internet
    > > connection provide my username and password and click and it just
    > > connects i think that is due to http .In my previous slackware install
    > > ie 11.0 i connected by assigning IP's to both the NIC and Router (i
    > > think it is ADSL modem/router) which was default 192.168.1.1 huawei
    > > sterlite smartAX MT841 is the modem

    >
    > I think I have found the manual for your combination router and modem.http://www.huawei.com/products/termi...?f=351&ctype=0
    >
    > According to the Manual the MT841 can autodial the pppoe connection. Here
    > is a blog post detailing how to configure the MT841 for access to BSNL
    > Broadband.
    >
    > http://jsbi.blogspot.com/2006/11/how...i-smartax-mt84...
    > --
    > Ed


    i have used the link as described by you but now i am having problem
    in establishing connection using windows which i have dual boot

  13. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:

    >
    > i have used the link as described by you but now i am having problem
    > in establishing connection using windows which i have dual boot


    The link above described how to have the router perform pppoe
    authentication, if windows was working before then it is still trying to
    authenticate via pppoe. I would suggest that you configure windows not to
    use pppoe. This link might help.
    http://www.rescom.psu.edu/pages/icw/default.htm

    --
    Ed

  14. Re: INTERNET CONNECTION PROBLEM

    On Aug 18, 7:18 pm, Ed Wilson wrote:
    > ganesha wrote:
    >
    > > i have used the link as described by you but now i am having problem
    > > in establishing connection using windows which i have dual boot

    >
    > The link above described how to have the router perform pppoe
    > authentication, if windows was working before then it is still trying to
    > authenticate via pppoe. I would suggest that you configure windows not to
    > use pppoe. This link might help.http://www.rescom.psu.edu/pages/icw/default.htm
    >
    > --
    > Ed

    SIR i am having windows XP which does not show any of the options as
    discussed in the link moreover i am having very slow internet in
    linux(slackware)

  15. Re: INTERNET CONNECTION PROBLEM

    ganesha wrote:
    > SIR i am having windows XP which does not show any of the options as
    > discussed in the link


    Configuring your internet connection in Windows is better discussed in
    some kind of Windows forum.

    > moreover i am having very slow internet in linux(slackware)


    What is slow?

    Low bandwidth? Could you give us an example? What bandwidth did you get?
    What did you expect? What did you pay for?

    Long latency? How does this show for you in practice?

    Time to make DNS lookups? Again, do you have any example?

    regards Henrik
    --
    The address in the header is only to prevent spam. My real address is:
    hc3(at)poolhem.se Examples of addresses which go to spammers:
    root@localhost postmaster@localhost


+ Reply to Thread