Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]gentoo 2006.0 rp-pppoe not installed, no internet.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
praka123
Apprentice
Apprentice


Joined: 19 Jan 2006
Posts: 184
Location: Kerala,India

PostPosted: Tue Apr 18, 2006 1:36 pm    Post subject: [Solved]gentoo 2006.0 rp-pppoe not installed, no internet. Reply with quote

I have Succesfully installed Gentoo 2006.0 in my PC using Gentoo 2006.0 x86 livecd's Installer.now it used only GRP packages available on live-cd.so i misses networking and to connect to Internet i need rp-ppoe emerged.now without internet,how do i emerge this..though installer setup my ethernet eth0 correctly,i miss adsl-setup..help is appreciated pals
_________________
Linux Rocks!Grab it Yaara!
spread the Linux message!add this to ur siggY- http://getgnulinux.org
http://linux.oneandoneis2.org/LNW.htm


Last edited by praka123 on Tue Apr 18, 2006 10:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Tue Apr 18, 2006 2:13 pm    Post subject: Reply with quote

probably your best bet is to boot off the livecd as if you were doing a manual install, setup networking (assuming it doesn't auto-detect) following the instructions here, then chroot into your install (again follow the instructions in the guide and you shouldn't have too much trouble) then emerge the required packages
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
praka123
Apprentice
Apprentice


Joined: 19 Jan 2006
Posts: 184
Location: Kerala,India

PostPosted: Tue Apr 18, 2006 2:32 pm    Post subject: Reply with quote

I have already have my eth0 network setup on gentoo OK.only thing is my standalone gentoo pc misses rp-pppoe..so cant connect to Internet.so...
Is it possible to emerge needed packages if i boot with livecd and connected to internet and try chroot into gentoo installed in hdd..
_________________
Linux Rocks!Grab it Yaara!
spread the Linux message!add this to ur siggY- http://getgnulinux.org
http://linux.oneandoneis2.org/LNW.htm
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Tue Apr 18, 2006 2:44 pm    Post subject: Reply with quote

This is the only way if you don't have any "other" computer or partition (Windows) running Internet. If you have one, the following should be quicker :

- Do the "emerge rp-pppoe" command
- Look out the filename that the program try to reach and note it
- Switch to your computer/partition with Internet set up
- Find that file on a Gentoo mirror (typing the filename into quotes in AltaVista would work easily)

- Return to your Gentoo (Yay !) and copy this file (using a USB stick or a CD) into
Code:
/usr/portage/distfiles


Should work ! :)
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Tue Apr 18, 2006 2:46 pm    Post subject: Reply with quote

However, the chrooting thing would work too, just longer to me :)
Back to top
View user's profile Send private message
praka123
Apprentice
Apprentice


Joined: 19 Jan 2006
Posts: 184
Location: Kerala,India

PostPosted: Tue Apr 18, 2006 4:49 pm    Post subject: Reply with quote

chrooted into gentoo from knoppix,internet ready,but after chrooting i cant have internet on chrooted gentoo :cry:
o/p:
Code:
Knoppix / # ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0      Link encap:Ethernet  HWaddr 00:11:11:66:B6:5E
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
ppp0      Link encap:Point-to-Point Protocol
          inet addr:59.93.4.187  P-t-P:59.93.0.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1

_________________
Linux Rocks!Grab it Yaara!
spread the Linux message!add this to ur siggY- http://getgnulinux.org
http://linux.oneandoneis2.org/LNW.htm
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Tue Apr 18, 2006 5:59 pm    Post subject: Reply with quote

ok, first mount /proc

Quote:
Mounting the /proc and /dev Filesystems

Mount the /proc filesystem on /mnt/gentoo/proc to allow the installation to use the kernel-provided information within the chrooted environment, and then mount-bind the /dev filesystem.

Code Listing 4: Mounting /proc and /dev

# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev

Entering the new Environment

Now that all partitions are initialized and the base environment installed, it is time to enter our new installation environment by chrooting into it. This means that we change from the current installation environment (Installation CD or other installation medium) to your installation system (namely the initialized partitions).

This chrooting is done in three steps. First we will change the root from / (on the installation medium) to /mnt/gentoo (on your partitions) using chroot. Then we will create a new environment using env-update, which essentially creates environment variables. Finally, we load those variables into memory using source.

Code Listing 5: Chrooting into the new environment

# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating /etc/ld.so.cache...
# source /etc/profile
# export PS1="(chroot) $PS1"

Congratulations! You are now inside your own Gentoo Linux environment. Of course it is far from finished, which is why the installation still has some sections left :-)


then you'll be able to use all your devices from knoppix
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
praka123
Apprentice
Apprentice


Joined: 19 Jan 2006
Posts: 184
Location: Kerala,India

PostPosted: Tue Apr 18, 2006 6:33 pm    Post subject: Reply with quote

Thanks for that great reply.i tried as what you quoted,everything is fine even chrooted gentoo shows ifconfig ppp0 interface.but no internet yet!.see..
Code:
(chroot) Knoppix / # ping google.com

(chroot) Knoppix / # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:11:66:B6:5E
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:11ff:fe66:b65e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16364 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21311 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6654536 (6.3 Mb)  TX bytes:4945019 (4.7 Mb)

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:170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13360 (13.0 Kb)  TX bytes:13360 (13.0 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:59.93.35.133  P-t-P:59.93.32.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:288 errors:0 dropped:0 overruns:0 frame:0
          TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:318318 (310.8 Kb)  TX bytes:46102 (45.0 Kb)

(chroot) Knoppix / # ping 59.93.35.133
PING 59.93.35.133 (59.93.35.133) 56(84) bytes of data.
64 bytes from 59.93.35.133: icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from 59.93.35.133: icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from 59.93.35.133: icmp_seq=3 ttl=64 time=0.034 ms

--- 59.93.35.133 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.034/0.034/0.034/0.000 ms
(chroot) Knoppix / # 

so i tried "route add default ppp0" but no effect.what was the correct procedure..Thank You again!...[/quote]
_________________
Linux Rocks!Grab it Yaara!
spread the Linux message!add this to ur siggY- http://getgnulinux.org
http://linux.oneandoneis2.org/LNW.htm
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Tue Apr 18, 2006 7:28 pm    Post subject: Reply with quote

hmm..

odd, if knoppix is up & running with access to the internaweb it should just carry straight thru to the chroot..

I use a router, so I automatically bypass these kinda issues..

I take it you're using an ADSL modem? hence needing rp-pppoe? if so do you connect thru dhcp? and shouldn't you need to give it some info about your ISP?

take a look at this section of the handbook and see if you can see what needs to be done, as I've never had to configure that kinda card before, it's much easier with a router, you just bring up the eth0 with dhcp and it all works fine..

also, according to that page in the handbook rp-pppoe is provided on the livecd, so it *should* be in distfiles, if the installer copies them onto your system like you do in the manual install (again, I've never used the gui i'm afraid, its much better to do it hardcore) then you should just be able to
Code:
emerge rp-pppoe
as the required files will all be on your machine..

another thought is that perhaps knoppix is doing something strange (ie diff from gentoo) to get adsl up and thats why it's not passing thru, you might try booting off the gentoo livecd-->run adsl-setup if neccesary-->chroot, as that may work better..

tho there's no real reason it should be any different, but my experience with *nix is "take nothing for granted, else it'll come back an bite your ass"

if you need further help give me a shout, tho maybe someone who also uses a modem might be able to help you more..
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Tue Apr 18, 2006 7:39 pm    Post subject: Reply with quote

another thought:

as you're running knoppix, I take it you're chrooted inside a konsole? in which case you can follow jeanfrancis's advice and run emerge rp-pppoe, then grab any files it doesn't have with konqueror and copy them into /usr/portage/distfiles on your gentoo install then emerge away..

might be quicker and less painfull :)
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
praka123
Apprentice
Apprentice


Joined: 19 Jan 2006
Posts: 184
Location: Kerala,India

PostPosted: Tue Apr 18, 2006 8:21 pm    Post subject: Reply with quote

thanks.i manually downloaded a lot of ! packages along with rp-pppoe to /usr/portage/distfiles and i set my adsl connxn.now i can start adsl-start,and net is there,i can ping dns server,but cant get connected!.i tried adding default device as ppp0.but no avail.friends please help me get it right..Thank you All! below is console log:
Quote:
localhost ~ # adsl-start
.. Connected!
localhost ~ # ping google.com

localhost ~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:66:B6:5E
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:450 errors:0 dropped:0 overruns:0 frame:0
TX packets:557 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29634 (28.9 Kb) TX bytes:25493 (24.8 Kb)

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:6674 errors:0 dropped:0 overruns:0 frame:0
TX packets:6674 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:429151 (419.0 Kb) TX bytes:429151 (419.0 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:59.93.35.56 P-t-P:59.93.32.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 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:30 (30.0 b) TX bytes:30 (30.0 b)

localhost ~ # route add default ppp0
localhost ~ # ping google.com
^[[A^[[A
localhost ~ # route add default eth0
SIOCADDRT: File exists
localhost ~ # route add default eth0
SIOCADDRT: File exists
localhost ~ # ping google.com

localhost ~ # ping 59.93.35.56
PING 59.93.35.56 (59.93.35.56) 56(84) bytes of data.
64 bytes from 59.93.35.56: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from 59.93.35.56: icmp_seq=2 ttl=64 time=0.022 ms
64 bytes from 59.93.35.56: icmp_seq=3 ttl=64 time=0.024 ms

--- 59.93.35.56 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.022/0.026/0.032/0.004 ms
localhost ~ #


also i dont find net-tools or? some command to configure eth0,although it is configured during install
_________________
Linux Rocks!Grab it Yaara!
spread the Linux message!add this to ur siggY- http://getgnulinux.org
http://linux.oneandoneis2.org/LNW.htm
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Tue Apr 18, 2006 8:40 pm    Post subject: Reply with quote

ok, have you added your dns server to /etc/resolv.conf?

net-tools sounds like a gentoo wrapper package (containing lots of little files) sys-apps/net-tools-1.60-r12 i guess, what does portage want when you try to emerge it? it should give you urls..
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
praka123
Apprentice
Apprentice


Joined: 19 Jan 2006
Posts: 184
Location: Kerala,India

PostPosted: Tue Apr 18, 2006 10:20 pm    Post subject: Reply with quote

I would like to thank all of you... :D
I've got internet on gentoo and can emerge packages...thing is i need to set /etc/resolv.conf and
Code:
route del defaults
route add defaults ppp0

Thank You ALL
_________________
Linux Rocks!Grab it Yaara!
spread the Linux message!add this to ur siggY- http://getgnulinux.org
http://linux.oneandoneis2.org/LNW.htm
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Wed Apr 19, 2006 11:54 am    Post subject: Reply with quote

Great if that works !

However, I use ADSL and never used the route things ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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