Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Goodbye to gentoo? (http://www.linux-archive.org/gentoo-user/646146-goodbye-gentoo.html)

Maxim Wexler 03-18-2012 11:36 PM

Goodbye to gentoo?
 
I like gentoo; there's a steep learning curve but after you pass that
it just clicks. As difficult as it ever became there was always an
answer to be found, on a blog, irc, documentaiton...

But I might have to give up on gentoo if I can't find a way to fix
this latest difficulty. I live in the hinterland where there is no
broadband. I have to make do with a dialup modem over ~10mi of copper
wire. Now I find I can no longer dialup the internet using ppp command
#pon <isp>. The modem lights come on and the log says the DNS have
been all been assigned. status=0x0. But I can't ping out. 'Host
unreachable'.

As slow as my connection is, I've always been able to sync portage and
use bash to write a link file which I can download at the free wifi in
town. Now I can't even do that.

I suspect this has something to do with the openrc which seems to be
steadily "improving".. There are no error msgs other than the ping
error above. I'm sure this is gentoo specific because it doesn't
affect the Ubuntu side of my pc(yet ;().where I'm typing this. In
ubuntu I have to rmmod my wifi and ethn drivers or the same thing
happens: modem lights up, log says everything fine, but no internet.
Once every other bit of net hardware comes down, the web is reachable.
This USED to be the case for gentoo as well, but now, even that
doesn't help.

The landline gets no respect. Now gmail is making angry noises cause I
won't give them my mobile number. But I don't have one. There isn't
even coverage out here.

Broadband and dialup used to get along but those days seem to be gone.

Hope somebody can see a way out.

MW

Canek Peláez Valdés 03-18-2012 11:44 PM

Goodbye to gentoo?
 
On Sun, Mar 18, 2012 at 6:36 PM, Maxim Wexler <maxim.wexler@gmail.com> wrote:
> I like gentoo; there's a steep learning curve but after you pass that
> it just clicks. As difficult as it ever became there was always an
> answer to be found, on a blog, irc, documentaiton...
>
> But I might have to give up on gentoo if I can't find a way to fix
> this latest difficulty. I live in the hinterland where there is no
> broadband. I have to make do with a dialup modem over ~10mi of copper
> wire. Now I find I can no longer dialup the internet using ppp command
> #pon <isp>. The modem lights come on and the log says the DNS have
> been all been assigned. status=0x0. But I can't ping out. 'Host
> unreachable'.
>
> As slow as my connection is, I've always been able to sync portage and
> use bash to write a link file which I can download at the free wifi in
> town. Now I can't even do that.
>
> I suspect this has something to do with the openrc which seems to be
> steadily "improving".. There *are no error msgs other than the ping
> error above. I'm sure this is gentoo specific because it doesn't
> affect the Ubuntu side of my pc(yet ;().where I'm typing this. *In
> ubuntu I have to rmmod my wifi and ethn drivers or the same thing
> happens: modem lights up, log says everything fine, but no internet.
> Once every other bit of net hardware comes down, the web is reachable.
> This USED to be the case for gentoo as well, but now, even that
> doesn't help.
>
> The landline gets no respect. Now gmail is making angry noises cause I
> won't give them my mobile number. But I don't have one. There isn't
> even coverage out here.
>
> Broadband and dialup used to get along but those days seem to be gone.
>
> Hope somebody can see a way out.

This is far from ideal, but I have been able to work around situations
like this. You need to rsync the portage tree by hand to a USB drive
in the wi-fi cafe, and then rsync again by hand in your house. Then,
you run:

emerge --metadata

Then, you get the list of URLs you need to download to emerge world:

emerge -uDNvfp world > urls

You need to edit the file to remove duplicates and redundant mirrors
(I can usually do it inside emacs in two minutes or less), and then
check what files you already have in /usr/portage/distfiles (with a
tiny bash script). You get the list of files you need, and only select
those from the list of URLs, and then you have the files you need to
download. You go back to the wi-fi cafe, download the files on a USB
drive, and return home to put them on /usr/portage/distfiles. And then
you can upgrade world.

It sucks, since you need to drive twice to the wi-fi cafe, but it works.

Hope it helps.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Nikos Chantziaras 03-18-2012 11:52 PM

Goodbye to gentoo?
 
On 19/03/12 02:36, Maxim Wexler wrote:

As slow as my connection is, I've always been able to sync portage and
use bash to write a link file which I can download at the free wifi in
town. Now I can't even do that.


Get satellite Internet :-P

Eliezer Croitoru 03-19-2012 12:01 AM

Goodbye to gentoo?
 
On 19/03/2012 02:52, Nikos Chantziaras wrote:

On 19/03/12 02:36, Maxim Wexler wrote:

As slow as my connection is, I've always been able to sync portage and
use bash to write a link file which I can download at the free wifi in
town. Now I can't even do that.


Get satellite Internet :-P



and it will cost him fortune...
if you do have dial-up connection it's really annoying to use gentoo.
if you do know what you want to build your system for and with you can
handle it.
but if you want to change some stuff you will need to make the whole
trip and i think it's not worth it.

what are you doing with the computer?

--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
elilezer <at> ngtech.co.il

Nikos Chantziaras 03-19-2012 12:13 AM

Goodbye to gentoo?
 
On 19/03/12 03:01, Eliezer Croitoru wrote:

On 19/03/2012 02:52, Nikos Chantziaras wrote:

On 19/03/12 02:36, Maxim Wexler wrote:

As slow as my connection is, I've always been able to sync portage and
use bash to write a link file which I can download at the free wifi in
town. Now I can't even do that.


Get satellite Internet :-P



and it will cost him fortune...


The equipment is not cheap, yes. Around $600. The subscription fee
though is OK. It's just $60 to $80 a month.

William Kenworthy 03-19-2012 12:48 AM

Goodbye to gentoo?
 
On Sun, 2012-03-18 at 18:36 -0600, Maxim Wexler wrote:
> I like gentoo; there's a steep learning curve but after you pass that
> it just clicks. As difficult as it ever became there was always an
> answer to be found, on a blog, irc, documentaiton...
>
> But I might have to give up on gentoo if I can't find a way to fix
> this latest difficulty. I live in the hinterland where there is no
> broadband. I have to make do with a dialup modem over ~10mi of copper
> wire. Now I find I can no longer dialup the internet using ppp command
> #pon <isp>. The modem lights come on and the log says the DNS have
> been all been assigned. status=0x0. But I can't ping out. 'Host
> unreachable'.
>
> As slow as my connection is, I've always been able to sync portage and
> use bash to write a link file which I can download at the free wifi in
> town. Now I can't even do that.
>
> I suspect this has something to do with the openrc which seems to be
> steadily "improving".. There are no error msgs other than the ping
> error above. I'm sure this is gentoo specific because it doesn't
> affect the Ubuntu side of my pc(yet ;().where I'm typing this. In
> ubuntu I have to rmmod my wifi and ethn drivers or the same thing
> happens: modem lights up, log says everything fine, but no internet.
> Once every other bit of net hardware comes down, the web is reachable.
> This USED to be the case for gentoo as well, but now, even that
> doesn't help.
>
> The landline gets no respect. Now gmail is making angry noises cause I
> won't give them my mobile number. But I don't have one. There isn't
> even coverage out here.
>
> Broadband and dialup used to get along but those days seem to be gone.
>
> Hope somebody can see a way out.
>
> MW
>

Hi Maxim, what changed when the modem stopped working?

Also can you supply the output of the "route -n" and ifconfig commands
to give us a chance of seeing if anything has gone adrift there. Also
if you are using (and have tested that its not the problem) any firewall
running.

When I was on dialup, routing (issues) was always a problem and if your
modem comes up and ppp is working (i.e., dns has been assigned) this is
a possibility.

BillK

Pandu Poluan 03-19-2012 01:06 AM

Goodbye to gentoo?
 
On Mar 19, 2012 8:51 AM, "William Kenworthy" <billk@iinet.net.au> wrote:

>

> On Sun, 2012-03-18 at 18:36 -0600, Maxim Wexler wrote:

> > I like gentoo; there's a steep learning curve but after you pass that

> > it just clicks. As difficult as it ever became there was always an

> > answer to be found, on a blog, irc, documentaiton...

> >

> > But I might have to give up on gentoo if I can't find a way to fix

> > this latest difficulty. I live in the hinterland where there is no

> > broadband. I have to make do with a dialup modem over ~10mi of copper

> > wire. Now I find I can no longer dialup the internet using ppp command

> > #pon <isp>. The modem lights come on and the log says the DNS have

> > been all been assigned. status=0x0. But I can't ping out. 'Host

> > unreachable'.

> >

> > As slow as my connection is, I've always been able to sync portage and

> > use bash to write a link file which I can download at the free wifi in

> > town. Now I can't even do that.

> >

> > I suspect this has something to do with the openrc which seems to be

> > steadily "improving".. There *are no error msgs other than the ping

> > error above. I'm sure this is gentoo specific because it doesn't

> > affect the Ubuntu side of my pc(yet ;().where I'm typing this. *In

> > ubuntu I have to rmmod my wifi and ethn drivers or the same thing

> > happens: modem lights up, log says everything fine, but no internet.

> > Once every other bit of net hardware comes down, the web is reachable.

> > This USED to be the case for gentoo as well, but now, even that

> > doesn't help.

> >

> > The landline gets no respect. Now gmail is making angry noises cause I

> > won't give them my mobile number. But I don't have one. There isn't

> > even coverage out here.

> >

> > Broadband and dialup used to get along but those days seem to be gone.

> >

> > Hope somebody can see a way out.

> >

> > MW

> >

>

> Hi Maxim, what changed when the modem stopped working?

>

> Also can you supply the output of the "route -n" and ifconfig commands

> to give us a chance of seeing if anything has gone adrift there. *Also

> if you are using (and have tested that its not the problem) any firewall

> running.

>

> When I was on dialup, routing (issues) was always a problem and if your

> modem comes up and ppp is working (i.e., dns has been assigned) this is

> a possibility.

>

> BillK

>


Hmmm...


This happening after openrc upgrade?


Can you post the contents of /etc/conf.d/net also?


Rgds,

"Bruce Hill, Jr." 03-19-2012 03:43 AM

Goodbye to gentoo?
 
On March 18, 2012 at 8:36 PM Maxim Wexler <maxim.wexler@gmail.com> wrote:

>
> Hope somebody can see a way out.
>
> MW
>

I'd probably swap my computer shop and all it's latest-and-greatest to live
where you are, and leave all the computers, 'smart' phones, etc. "in town".
Just me, the wife, the daughter, horses, chickens ... you get the picture.
--
Happy Penguin Computers >`)
126 Fenco Drive (
Tupelo, MS 38801 ^^
662-269-2706; 662-491-8613
support at happypenguincomputers dot com
http://www.happypenguincomputers.com

Maxim Wexler 03-19-2012 03:44 AM

Goodbye to gentoo?
 
>
> Hi Maxim, what changed when the modem stopped working?

Dunno

>
> Also can you supply the output of the "route -n" and ifconfig commands
> to give us a chance of seeing if anything has gone adrift there. Also
> if you are using (and have tested that its not the problem) any firewall
> running.

I don't use the /etc/conf.d/net file. Also all net hotplug services
are turned of in rc.conf.
route -n shows nothing except ppp0
(this is from ubuntu, but it was the same for gentoo when it was working)
root@gnubu:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
161.184.0.199 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

(also from the ubuntu side)
root@gnubu:~# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:161.184.44.73 P-t-P:161.184.0.199 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5867 errors:0 dropped:0 overruns:0 frame:0
TX packets:6439 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1694892 (1.6 MB) TX bytes:746705 (746.7 KB)


ifconfig eth0 and wlan0 are empty because I rmmod'd the drivers. I
only use them when talking to the router or another pc on a lan, I set
them up manually and take them down when not in use. Otherwise the web
is unreachable. This true for Ubuntu and gentoo.

There is no firewall as far as I know.

MW

Matthew Finkel 03-19-2012 03:58 AM

Goodbye to gentoo?
 
On Mon, Mar 19, 2012 at 12:44 AM, Maxim Wexler <maxim.wexler@gmail.com> wrote:


>

> Hi Maxim, what changed when the modem stopped working?



Dunno



>

> Also can you supply the output of the "route -n" and ifconfig commands

> to give us a chance of seeing if anything has gone adrift there. *Also

> if you are using (and have tested that its not the problem) any firewall

> running.



I don't use the /etc/conf.d/net file. Also all net hotplug services

are turned of in rc.conf.

route -n shows nothing except ppp0

(this is from ubuntu, but it was the same for gentoo when it was working)

root@gnubu:~# route -n

Kernel IP routing table

Destination * * Gateway * * * * Genmask * * * * Flags Metric Ref * *Use Iface

0.0.0.0 * * * * 0.0.0.0 * * * * 0.0.0.0 * * * * U * * 0 * * *0 * * * *0 ppp0

161.184.0.199 * 0.0.0.0 * * * * 255.255.255.255 UH * *0 * * *0 * * * *0 ppp0

I am too young to know the details of*dial-up, but going on the assumption that it uses DHCP or something similar, that last line is definitely a problem. In order for packets to reach an outside network, they need to know where to go. This may be your local router or a router from your ISP. Regardless of the configuration, with a gateway of 0.0.0.0, any packets with a destination on the internet will never get there. Because you experience this problem under both Gentoo and Ubuntu, it sounds like an issue elsewhere. Does the other computer on your LAN have a problem accessing the internet?

*- Matt


All times are GMT. The time now is 02:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.