Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pppoe support
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Mon Jun 17, 2002 11:00 am    Post subject: Reply with quote

U can solve this even in stage1 :-)
type:
modprobe ppp* ( thanks mksoft )
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
faithfull
n00b
n00b


Joined: 06 Jun 2002
Posts: 67

PostPosted: Mon Jun 17, 2002 12:50 pm    Post subject: Reply with quote

pacman wrote:
U can solve this even in stage1 :-)
type:
modprobe ppp* ( thanks mksoft )

:? Solve what? Modprobing the ppp modules doesn't solve anything because you need the pppoe stack.
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Mon Jun 17, 2002 5:29 pm    Post subject: Reply with quote

as posted earlier, the kernel messages show that the ppp etc. modules are loaded correctly, somehow some processes aren't started.

I'll try emerge sys-apps/baselayout

my detailed configuration, I suppose you mean my machine specs?

athlon TB 1000
maxtor IDE hd
msi kt7a turbo mb
512 sdram
geforce 2
ide dvd/rom and ide writer
_________________
haree
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Mon Jun 17, 2002 7:35 pm    Post subject: Reply with quote

faithfull wrote:
rieger wrote:
did not work either.

so I did the stage3 install again to make sure I did not overlook something. but still the same (during install the rp-pppoe thing works excellent, and after rebooting doesn't :( )

:? Try this: reboot from CD mount your gentoo partition start rp-pppoe and see if it works.
If the connection works then it's a kernel configuration problem (and if you send me the dedailed configuration of your box I can try to make a config for you), otherwise ... I don't know :roll:


tried it again (from other forum (installing gentoo, " runscript.sh errors"):

I tried to connect again via cd.

last time when I tried it I did only a mount to /mnt/gentoo.

this time I did also a mount to
/mnt/gentoo/boot, and
-o bind /proc /mnt/gentoo/proc

(I modprobed 8139too before this)

and...

I had Internet connection.

so your'e probably right about the kernel. I'll try your config. adapted for me.

thanks ahead.
_________________
haree
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Tue Jun 18, 2002 5:08 pm    Post subject: Reply with quote

my runscript.sh errors are gone and still no internet connection so I tried your kernel config.

however; it did not compile correctly.
There was no bzImage created...

there were also some errors at the end of the compile. I can't recall the errors exactly. but I'll try another config now.

this is what I think I need:

8139 Realtek = y
PPP modules = y
PPPOE = y
and the IP stuff.

is this correct?
_________________
haree
Back to top
View user's profile Send private message
faithfull
n00b
n00b


Joined: 06 Jun 2002
Posts: 67

PostPosted: Tue Jun 18, 2002 7:26 pm    Post subject: Reply with quote

rieger wrote:
my runscript.sh errors are gone and still no internet connection so I tried your kernel config.

however; it did not compile correctly.
There was no bzImage created...

there were also some errors at the end of the compile. I can't recall the errors exactly. but I'll try another config now.

this is what I think I need:

8139 Realtek = y
PPP modules = y
PPPOE = y
and the IP stuff.

is this correct?

No, I think that all must be compiled as modules (except for 8139 Realtek)
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Tue Jun 18, 2002 7:50 pm    Post subject: Reply with quote

well, I've booted from cd, chrooted to / and via the working connection, I downloaded the vanilla sources, compiled, rebooted (no modules, every PPP related item and the Realtek as *) and hit adsl-start.

Connected!

however, hosts cannoit be found.

resolv.conf shows:
195.96.96.97
195.96.96.33

so that's okay I figured.

any clues?


(thanks for your help anyway for the initial question, I must be a pain in the ***.....)
_________________
haree
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jun 18, 2002 7:53 pm    Post subject: Reply with quote

Can you ping any machine by IP address? What's your ifconfig show?
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Tue Jun 18, 2002 8:05 pm    Post subject: Reply with quote

I can ping localhost.

I couldn't come up with an IP address to test, but I have some outputs here.

outputs ifconfig.

before adsl-start:

eth0 Link encap:Ethernet HWaddr 00:10:A7:03:6F:88
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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)

affter adsl-start:


eth0 Link encap:Ethernet HWaddr 00:10:A7:03:6F:88
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:730 (730.0 b) TX bytes:840 (840.0 b)
Interrupt:11 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:68 (68.0 b) TX bytes:68 (68.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:62.234.97.77 P-t-P:62.234.96.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:78 (78.0 b) TX bytes:30 (30.0 b)

output route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
62.234.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 1 0 0 eth0
_________________
haree
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jun 18, 2002 8:13 pm    Post subject: Reply with quote

Well, it seems you don't have a route to the outside world, which would cause problems talking to the ouside world, if ya know what I'm sayin'. :)

Also, some good IPs to test (easy to remember and always up) are: 208.42.42.42 and 209.98.98.98.
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Tue Jun 18, 2002 8:17 pm    Post subject: Reply with quote

delta407 wrote:
Well, it seems you don't have a route to the outside world, which would cause problems talking to the ouside world, if ya know what I'm sayin'. :)


well, I know what you're sayin' ...
but how te resolve it :?:

Quote:
Also, some good IPs to test (easy to remember and always up) are: 208.42.42.42 and 209.98.98.98.


thanks, I'll try them.
_________________
haree
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Tue Jun 18, 2002 8:41 pm    Post subject: Reply with quote

delta407 wrote:
Can you ping any machine by IP address? What's your ifconfig show?


hmm, I tried your 209.98.98.98. and the other one; nothing

ping -r (I believe I used that one) gave a message " unreachable"

this is a message form dmesg:

"ds: no socket drivers loaded!"

relevant?
_________________
haree
Back to top
View user's profile Send private message
faithfull
n00b
n00b


Joined: 06 Jun 2002
Posts: 67

PostPosted: Wed Jun 19, 2002 8:16 am    Post subject: Reply with quote

rieger wrote:
I can ping localhost.

I couldn't come up with an IP address to test, but I have some outputs here.

outputs ifconfig.

before adsl-start:

eth0 Link encap:Ethernet HWaddr 00:10:A7:03:6F:88
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x4000

...

affter adsl-start:


eth0 Link encap:Ethernet HWaddr 00:10:A7:03:6F:88
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:730 (730.0 b) TX bytes:840 (840.0 b)
Interrupt:11 Base address:0x4000

ppp0 Link encap:Point-to-Point Protocol
inet addr:62.234.97.77 P-t-P:62.234.96.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:78 (78.0 b) TX bytes:30 (30.0 b)

output route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
62.234.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 1 0 0 eth0

Ok you ve done some mess around:
DON'T configure your NIC! :evil: If you type "ifconfig 192.168.0.2 netmask 255.255.255.0 up" this raise up the tcp/ip protocol over eth0 but also setup a route that mess all routing table when you connect with pppoe.
So: do only "ifconfig eth0 up" (may be works also without it).
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Wed Jun 19, 2002 8:51 am    Post subject: Reply with quote

i did an "ifconfig" only.

but...

I actually am scared to say this:
During install, I editted te conf.d/net file and uncommentend the gateway section.

So the gateway pointed to my own IP (the standard set ip 192.168. address).

when I fixed it (commented it again), the problem was solved.

sorry...


btw; how do you let the system know that config files are updated? (env-update didn't do it for me) I had to reboot to make the change work.

anyway, this morning gnome was fully emerged. Tonight I 'm going to configure it, so I can surf to gentoo.org in Gentoo, to ask questions instead of booting into windows :)
_________________
haree
Back to top
View user's profile Send private message
rieger
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2002
Posts: 136
Location: The Netherlands

PostPosted: Wed Jun 19, 2002 7:16 pm    Post subject: it worked Reply with quote

whoohoo

my first post from Gentoo :D

mozilla took ages too emerge/compile but it's working.

now let's emerge some other stuff.
_________________
haree
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum