You are not logged in.
Pages: 1
hello,
i have a problem when i configure pppoe connection
when i use this command pppoe-start his reply is connected and when i see the ifconfig ppp0
i see the correct remote and client ip
but when i ping for yahoo i cant get any replies from it
that mean no internet in a machine.
i need help to this problem
Last edited by linux-obsessed (2011-04-23 17:11:38)
Offline
when i restart network service i get it
Shutting down interface ppp0: [ OK ]
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: [ OK ]
why it doesn't bringing up the ppp0
please help
Offline
Have you configured the dns?
edit /etc/resolv.conf (create one, if not present). Add your favourite dns server, for e.g.
nameserver 8.8.8.8
nameserver 8.8.4.4
Offline
i done it but same error
Offline
When ifconfig shows ppp0 connected, try to ping an ip instead of the website name, and post the result here:
ping -c 4 8.8.8.8
Also post your rc.conf.
PS: please embed the rc.conf in code tags, or use a pastebin.
Offline
when i ping i get
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
and can't get any replies
this is rc.conf
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)
.
Last edited by linux-obsessed (2011-04-25 20:40:28)
Offline
Hmm.. everything looks fine rc.conf. I have no idea, what's wrong. Is dhcp working fine?
Also, if you haven't already, take a look here:
https://wiki.archlinux.org/index.php/Co … ng_Network
Also, if you are in a hurry, go to the irc channel, and ask someone for help there.
Offline
I don't think 8.8.8.8 responds to ICMP packets.
Try this site belonging to the best darn Linux distribution out there ping 66.211.214.131
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I don't think 8.8.8.8 responds to ICMP packets.
Try this site belonging to the best darn Linux distribution out there ping 66.211.214.131
Well, i can ping 8.8.8.8 (it's google dns's primary server, for those who don't know).
Offline
ewaller wrote:I don't think 8.8.8.8 responds to ICMP packets.
Try this site belonging to the best darn Linux distribution out there ping 66.211.214.131Well, i can ping 8.8.8.8 (it's google dns's primary server, for those who don't know).
Interesting. I could not from home last night. I can from work. I also just ssh'ed home and tried, and now it works
I knew it was goggle's DNS server; I don't think that means it is required to respond ICMP packets; but apparently it does.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
are you using PPPoE/ADSL or not? if yes, why do you use dhcp?
when you setup your connection with pppoe-setup, set DNSTYPE to SERVER if you don't know your DNS nameserver's.
remove network from DAEMONS array, and netfs too if you don't use network filesystems.
...
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(!eth0)
...
DAEMONS=(syslog-ng crond adsl)
Last edited by JokerBoy (2011-04-26 14:56:12)
Arch64/DWM || My Dropbox referral link
Offline
thanks for all,
jokerboy,
i'm in network the admin of it using pppoe server for that i used dhcp
i done all it and the problem still exist
and i want to know how i make the pppo is default connectiffon
ppp0 is appears in ifconfig command
thanks
Offline
look for this output of pppoe-connect command
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
CHAP authentication succeeded
CHAP authentication succeeded
not replacing existing default route via 1.1.1.1
local IP address 192.168.0.11
remote IP address 192.168.0.1
primary DNS address 192.168.0.1
secondary DNS address 163.121.128.134
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
Received bad configure-rej: 12 06 00 00 00 01
CCP: timeout sending Config-Requests
and ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.0.11 P-t-P:192.168.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:277 errors:0 dropped:0 overruns:0 frame:0
TX packets:307 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:177424 (173.2 KiB) TX bytes:49535 (48.3 KiB)
i hope to get help from here
Offline
Maybe it's routing program ?
Encounter similar program today when using a live USB
LAN: DHCP -> eth0
WAN: PPPoE -> ppp0
`ifconfig` show both eth0 and ppp0 with right IP address
`ping` host on LAN reply normally
But `ping` host on WAN always fail ( tried www.google.com, 8.8.8.8...etc)
So I look into route table
[left]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
h254.s98.ts.hin * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 eth0
the default gate way is using Interface eth0
after changing it to ppp0
Solved my problem
[left]$ sudo route del default
[left]$ sudo route add default ppp0
[left]$ sudo /etc/rc.d/network restart
[left]$ sudo /etc/rc.d/adsl restart
Last edited by lefthaha (2011-05-10 06:48:00)
Offline
Pages: 1