Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-14 Thread Steven Marcotte
By chance do you have ACPI (the power management stuff) enabled in the kernel?
If you do, you might try turning it off and see what happens.  

When ever I've tried ACPI, it has caused a variety problems ranging from the 
networking problems you describe to system lockups with the nvidia branded 
driver.  I hope these problems will be ironed out with the 2.6 kernel.

Good luck,
Quattro

On Sunday 03 August 2003 11:46 pm, Farrell Farahbod wrote:
> first, i have used linux for close to five years, but this is the first
> time i have tried any distro other than redhat. :) i know a fair amount
> about linux, and i have compiled programs before, but i am not an
> expert, as you will probably realize by the end of this email :)
>
> so on to the problem.
>
> i successfully installed gentoo linux 1.4rc4, and its on a dual boot
> pc... redhat9/gentoo. i installed it from a stage2 tarball, and had it
> optimized for my athlon-xp cpu. the live cd worked perfectly with my
> nic, all i had to do was boot with "gentoo nodhcp" and run "net-setup
> eth0" to configure my nic, as i have a static IP. it seems my nic uses
> the "8139too" kernel module, as lsmod on the live cd, and on redhat9,
> both seemed to use that module. i did what the gentoo install docs said,
> putting a line containing "8139too" to /etc/modules.autoload, edited
> /etc/conf.d/net to have my ip, gateway, etc all in it as it's
> in-document comments told me to, and edited /etc/hosts, /etc/hostname
> /etc/dnsdomainname, etc...here are my settings:
>
> Static IP: 192.168.1.105
> Network Device: eth0
> Gateway: 192.168.1.1 (a linksys router--NOT performing dns services)
> Broadcast: 192.168.1.255
> Netmask: 255.255.255.0
> DNS: 64.105.166.122 (NOTE: this is NOT a personal dns...it does NOT
> cover my home lan...its from my isp.)
>
> the problem is, i cant ping anothing but my mechine. ping localhost/ping
> 192.168.1.105 work, but ping 192.168.1.1/ping google.com don't work! i
> dont know what is causing this! :/
>
> after tring to seek help in #gentoo on irc.freenode.net, i didn't have
> any success.
>
> i am not sure if this is my problem, but when i run "route" on gentoo,
> it prints this:
>
> Kernel IP Routing Table
> DestinationGateway  Genmask Flags  Metic Ref Use Iface
> 192.168.1.0*  255.255.255.0 U0  00
> eth0
> loopbacklocalhost   255.0.0.0   UG  0  00lo
> default 192.168.1.1 0.0.0.0 UG  1  00
> eth0
>
> shouldn't the top entry by 192.168.1.1not 192.168.1.0??
>
> also, when i am shown the login screen, it says: "This is farrell.(none)
> (Linux i686...)" but it should read farrell.freemans.org! :( farrell is
> my hostname, freemans.org is the domainname in my home LAN (NOT on the
> internet!) i set /etc/hostname, and /etc/dnsdomain correctly...at least
> as best i can tell. and i setup /etc/hosts correctly, afaik.
>
> here are two screenshots (literally ^_-) of my screen showing this, in
> case you don't quite get what i was saying earlier about route, my
> hostname, etc:
>
> http://reblended.com/www/upgrdman/01.jpg
> http://reblended.com/www/upgrdman/02.jpg
>
> and lastly, here is my /etc/conf.d/net file:
>
> # /etc/conf.d/net:
> # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7
> 2002/11/18 19:39:22 azarah Exp $
>
> # Global config file for net.* rc-scripts
>
> # This is basically the ifconfig argument without the ifconfig $iface
> #
> iface_eth0="192.168.1.105 broadcast 192.168.1.255 netmask 255.255.255.0"
> #iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
>
> # For DHCP set iface_eth? to "dhcp"
> # For passing options to dhcpcd use dhcpcd_eth?
> #
> #iface_eth0="dhcp"
> #dhcpcd_eth0="..."
>
> # For adding aliases to a interface
> #
> #alias_eth0="192.168.0.3 192.168.0.4"
>
> # NB:  The next is only used for aliases.
> #
> # To add a custom netmask/broadcast address to created aliases,
> # uncomment and change accordingly.  Leave commented to assign
> # defaults for that interface.
> #
> #broadcast_eth0="192.168.0.255 192.168.0.255"
> #netmask_eth0="255.255.255.0 255.255.255.0"
>
>
> # For setting the default gateway
> #
> gateway="eth0/192.168.1.1"
>
>
> thanks,
>
> farrell farahbod
>
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-14 Thread Dan Foster
Hot Diggety! Farrell Farahbod was rumored to have written:
> 
> 8139too Fast Ethernet driver 0.9.26
> eth0: RealTek RTL8139 Fast Ethernet at 0xe08cf000, 00:02:44:14:1b:72,
> IRQ 11
> eth0:  Identified 8139 chip type 'RTL-8139B'
> eth0: Setting half-duplex based on auto-negotiated partner ability .
> eth0: no IPv6 routers present
> NETDEV WATCHDOG: eth0: transmit timed out
> eth0: Tx queue start entry 4  dirty entry 0.
> eth0:  Tx descriptor 0 is 2000. (queue head)
> eth0:  Tx descriptor 1 is 2000.
> eth0:  Tx descriptor 2 is 2000.
> eth0:  Tx descriptor 3 is 2000.

After further thinking, I would suggest sending your /usr/src/linux/.config
file. In particular, I'm interested in your IO-APIC and ACPI table stuff
because there is a small chance of that misprogramming the IRQ routing
tables.

If the system delivers the IRQ from the ethernet card to the wrong place
(due to a misprogrammed IRQ routing table) then the driver essentially
never sees a single interrupt and hence, not a single packet.

Judging from the fact that it works fine for both the Gentoo LiveCD boot as
well as the RH 9 HD boot, all three setups using the same driver... the
only thing that differs is the kernel config, so this is quite possible
that you have IO-APIC or ACPI issues causing all this fun.

Can you also post the full dmesg output right after a boot into Gentoo
off the HD?

_And_ also a full dmesg output from a boot into Gentoo off the LiveCD?

(In both cases, you can do: # dmesg > /yourredhat9partition/gentoo.boot-hd
and likewise for gentoo.boot-cd, and also cp /usr/src/linux/.config
/yourredhat9partition/gentoo.config then upload these files for emailing.)

You're welcome to send these directly to me to avoid spamming the list if
you like... if I see anything useful, I can summarize it to the list.

Also, what kind of system is it? (CPU make, model, frequency, and
motherboard make and model. If you know, what chipset is on the motherboard
such as SiS900, etc. This is important.)

Is it an uniprocessor or multiprocessor system?

-Dan

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-05 Thread Dan Foster
Hot Diggety! Steven Marcotte was rumored to have written:
> By chance do you have ACPI (the power management stuff) enabled in the kernel?
> If you do, you might try turning it off and see what happens.  

Yeah, agreed. Looks like the LiveCD boot disables it with a acpi=off
parameter passed to the kernel, which is probably why it works then.

Likely use of ACPI broke IRQ routing in some way which probably explains
why the driver didn't process a single packet, is my best guess.

-Dan

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-04 Thread Farrell Farahbod
oh man.. :) well heres my results:

Gentoo LiveCD:0xb000
Gentoo (Installed): 0xf000
Redhat9 (Installted): 0x1000

lol...so im not sure if the base address makes a big difference :)

thanks yet again,

farrell farahbod

On Mon, 2003-08-04 at 13:03, Dan Foster wrote:
> Hot Diggety! Farrell Farahbod was rumored to have written:
> > heres the output of ifconfig eth0 on redhat9:
> > 
> > eth0  Link encap:Ethernet  HWaddr 00:02:44:14:1B:72
> >   inet addr:192.168.1.105  Bcast:192.168.1.255 
> > Mask:255.255.255.0
> >   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >   RX packets:412070 errors:0 dropped:0 overruns:0 frame:0
> >   TX packets:852881 errors:0 dropped:0 overruns:0 carrier:0
> >   collisions:209 txqueuelen:100
> >   RX bytes:192045449 (183.1 Mb)  TX bytes:77096680 (73.5 Mb)
> >   Interrupt:11 Base address:0x1000
> > 
> > hum...other than rx/tx packets, the only change i see, and this may be
> > the problem... "Base address" on redhat its 0x1000, on gentoo its
> > 0xf000...is this the problem?
> 
> Possibly. Can you boot from the LiveCD and do the ifconfig eth0 there
> as well?
> 
> That should help narrow it down further.
> 
> Having the wrong base address can indeed be enough to hose things; just
> not yet ready to pronounce that as the culprit...yet.
> 
> There *is* a way to specify the base address to use for a module if
> that's necessary, I believe -- but first, I want to make sure that this
> is indeed the culprit before going that far.
> 
> -Dan
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-04 Thread Dan Foster
Hot Diggety! Farrell Farahbod was rumored to have written:
> heres the output of ifconfig eth0 on redhat9:
> 
> eth0  Link encap:Ethernet  HWaddr 00:02:44:14:1B:72
>   inet addr:192.168.1.105  Bcast:192.168.1.255 
> Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:412070 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:852881 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:209 txqueuelen:100
>   RX bytes:192045449 (183.1 Mb)  TX bytes:77096680 (73.5 Mb)
>   Interrupt:11 Base address:0x1000
> 
> hum...other than rx/tx packets, the only change i see, and this may be
> the problem... "Base address" on redhat its 0x1000, on gentoo its
> 0xf000...is this the problem?

Possibly. Can you boot from the LiveCD and do the ifconfig eth0 there
as well?

That should help narrow it down further.

Having the wrong base address can indeed be enough to hose things; just
not yet ready to pronounce that as the culprit...yet.

There *is* a way to specify the base address to use for a module if
that's necessary, I believe -- but first, I want to make sure that this
is indeed the culprit before going that far.

-Dan

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-04 Thread Farrell Farahbod
heres the output of ifconfig eth0 on redhat9:

eth0  Link encap:Ethernet  HWaddr 00:02:44:14:1B:72
  inet addr:192.168.1.105  Bcast:192.168.1.255 
Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:412070 errors:0 dropped:0 overruns:0 frame:0
  TX packets:852881 errors:0 dropped:0 overruns:0 carrier:0
  collisions:209 txqueuelen:100
  RX bytes:192045449 (183.1 Mb)  TX bytes:77096680 (73.5 Mb)
  Interrupt:11 Base address:0x1000

hum...other than rx/tx packets, the only change i see, and this may be
the problem... "Base address" on redhat its 0x1000, on gentoo its
0xf000...is this the problem?

the output of # demsg | grep -i eth, on gentoo is:

8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xe08cf000, 00:02:44:14:1b:72,
IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139B'
eth0: Setting half-duplex based on auto-negotiated partner ability .
eth0: no IPv6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 2000. (queue head)
eth0:  Tx descriptor 1 is 2000.
eth0:  Tx descriptor 2 is 2000.
eth0:  Tx descriptor 3 is 2000.
eth0: Setting half-duplex based on auto-negotiated partner ability .
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 2000. (queue head)
eth0:  Tx descriptor 1 is 2000.
eth0:  Tx descriptor 2 is 2000.
eth0:  Tx descriptor 3 is 2000.
eth0: Setting half-duplex based on auto-negotiated partner ability .

hum...that doesnt look good. heres is what that same command shows on
redhat9:

8139too Fast Ethernet driver 0.9.26
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xe08b1000, 00:02:44:14:1b:72,
IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139B'
eth0: Setting half-duplex based on auto-negotiated partner ability .

:) looks like a lot less errors :) so perhaps you were right about a
possible problem with my kernel module...any idea what it could be? any
easy way to fix? e.g. without recompiling my entire kernel :) i rearly
compile kernels...i think this gentoo kernel was my second time :) i
will probably build a kernel for gentoo more thoroughly later on when i
have the patience. but until then, i would appreciate it, if i end up
needing to recompile part or all of my gentoo kernel, if you could be
specific, as i am not used to compiling kernels. im used to the quick
and easy compiles of gtk-gnutella, mplayer, etc :)

lastly, emerge -s ipchains said that neither ipchains nor
ipchains-firewall were installed.

thanks again,

farrell farahbod

On Sun, 2003-08-03 at 23:29, Dan Foster wrote: 
> Hot Diggety! Farrell Farahbod was rumored to have written:
> > wow...quick reply :) i guess they werent lying when they said gentoo has
> > terrific forums! wooho!
> 
> It's a pretty nifty crowd, indeed. :)
>  
> > well about possible nic/nat problems...i highly highly doubt it, becuase
> > like i said, i run redhat9 linux on the same box...its a dual boot. and
> > the live cd was able to easily use my nic, like i mentioned earlier. but
> 
> Ok. Based on that and the other information you pasted, I'd like to say
> that it's likely a module issue of some sort, possibly. Not with loading
> it, but with functioning, for some unknown reason?
> 
> > cat /etc/env.d/01hostname:
> > 
> > HOSTNAME="farrell"
> > 
> > (you said it should have a FQDN...but it doesnt...but if it was supposed
> > to have a fqdn, why is the filename 01hostname? just curious...i like to
> > learn :) )
> 
> With some OS installs (not just Gentoo, but many others on various
> platforms), sometimes it isn't always clear to end users -- especially one
> new to the OS/distribution -- that a FQDN is desirable. I'm no spring
> chicken when it comes to UNIX (and UNIX-like clones for some of our
> resident pedants ;) ) but that still bites me from time to time.
> 
> Further compounded by the fact that the various OS/distros don't usually be
> picky about FQDN vs non-FQDN hostname because it doesn't assume anything
> about the environment the machine is in. (DNS, no DNS, domain vs no domain,
> or just plain don't care, etc)
> 
> As for numbering scheme with /etc/env.d, if it's anything like SysV init
> scripts, it appears that the numbering is mostly to ensure the more
> important basic stuff gets set or processed first.
> 
> For instance, with /etc/env.d, you see: 00basic, 01hostname -- number one
> stuff to get set early on! Then you have 05gcc, 10mozilla, 10xfree, etc...
> then later on, the less important stuff -- 70less, 90games, etc.
>  
> > lsmod:
> > 
> > Module  Size  Used byNot tainted
> > usbcore55488   1
> > 8139too14152   1
> > mii 2160   0  [8139too]
> 
> So it appears to have loaded ok. You've got an eth0 device as well.
> 
> But wha

Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-04 Thread Farrell Farahbod
yes its up. look at the output of ifconfig eth0: "UP..." :) but yes, at
bootup it also tells me it has loaded the kernel module, and that eth0
is up. :)

thanks,

farrell farahbod

On Mon, 2003-08-04 at 06:20, Ernie Schroder wrote:
> On Monday 04 August 2003 01:58 am, Farrell Farahbod wrote:
> > wow...quick reply :) i guess they werent lying when they said gentoo
> > has terrific forums! wooho!
> >
> > well about possible nic/nat problems...i highly highly doubt it,
> > becuase like i said, i run redhat9 linux on the same box...its a dual
> > boot. and the live cd was able to easily use my nic, like i mentioned
> > earlier. but now back to your questions...
> 
> Is eth0 up? do:
> # etc/init.d/net.eth0 status
> if this returns:
> * status:  stopped
> do:
> # /etc/init.d/net.eth0 start
> Try to ping out now
> If this does it, do:
> # rc-update add net.eth0 default


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-04 Thread Ernie Schroder
On Monday 04 August 2003 01:58 am, Farrell Farahbod wrote:
> wow...quick reply :) i guess they werent lying when they said gentoo
> has terrific forums! wooho!
>
> well about possible nic/nat problems...i highly highly doubt it,
> becuase like i said, i run redhat9 linux on the same box...its a dual
> boot. and the live cd was able to easily use my nic, like i mentioned
> earlier. but now back to your questions...

Is eth0 up? do:
# etc/init.d/net.eth0 status
if this returns:
* status:  stopped
do:
# /etc/init.d/net.eth0 start
Try to ping out now
If this does it, do:
# rc-update add net.eth0 default
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-03 Thread Dan Foster
Hot Diggety! Farrell Farahbod was rumored to have written:
> wow...quick reply :) i guess they werent lying when they said gentoo has
> terrific forums! wooho!

It's a pretty nifty crowd, indeed. :)
 
> well about possible nic/nat problems...i highly highly doubt it, becuase
> like i said, i run redhat9 linux on the same box...its a dual boot. and
> the live cd was able to easily use my nic, like i mentioned earlier. but

Ok. Based on that and the other information you pasted, I'd like to say
that it's likely a module issue of some sort, possibly. Not with loading
it, but with functioning, for some unknown reason?

> cat /etc/env.d/01hostname:
> 
> HOSTNAME="farrell"
> 
> (you said it should have a FQDN...but it doesnt...but if it was supposed
> to have a fqdn, why is the filename 01hostname? just curious...i like to
> learn :) )

With some OS installs (not just Gentoo, but many others on various
platforms), sometimes it isn't always clear to end users -- especially one
new to the OS/distribution -- that a FQDN is desirable. I'm no spring
chicken when it comes to UNIX (and UNIX-like clones for some of our
resident pedants ;) ) but that still bites me from time to time.

Further compounded by the fact that the various OS/distros don't usually be
picky about FQDN vs non-FQDN hostname because it doesn't assume anything
about the environment the machine is in. (DNS, no DNS, domain vs no domain,
or just plain don't care, etc)

As for numbering scheme with /etc/env.d, if it's anything like SysV init
scripts, it appears that the numbering is mostly to ensure the more
important basic stuff gets set or processed first.

For instance, with /etc/env.d, you see: 00basic, 01hostname -- number one
stuff to get set early on! Then you have 05gcc, 10mozilla, 10xfree, etc...
then later on, the less important stuff -- 70less, 90games, etc.
 
> lsmod:
> 
> Module  Size  Used byNot tainted
> usbcore55488   1
> 8139too14152   1
> mii 2160   0  [8139too]

So it appears to have loaded ok. You've got an eth0 device as well.

But what bothers me is the ifconfig eth0 output.
 
> (hum...looks to me like petty few kernel modules...but then again i have
> practically nothing configured...sound, printing, etc..) also, you asked

That's fine. Modules offers the greatest flexibility and lessens the need
to reboot to enable/disable functionality. But since this is a new
installation, I'm sure you'll eventually get around to modulizing as many
stuff as you can... for now, what you have is fine.

> ifconfig eth0:
> eth0  Link encap:Ethernet  HWaddr 00:02:44:14:1B:72
>   inet addr:192.168.1.105  Bcast:192.168.1.255 Mask:255.255.255.0
>   inet6 addr: fe80::202:44ff:fe14:1b72/10 Scope:Link
>   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:0xf000

I was mostly concerned about 'UP BROADCAST RUNNING' being present
along with inet+bcast+netmask matching/making sense, and MAC address
being correctly displayed. Looks good on all counts.

Now, the fact is, there's _0_ packets or errors... that seriously
bothers me the most. Try pinging the default route IP again, and see
if you get anywhere.

Not going to be a cable issue (which usually lists some TX packets
and errors) because it works fine in a dual-booted RH setup.

Also, could try booting into RH, and do 'ifconfig eth0' and compare
to see if stuff (like the MTU, for instance) agrees.

Now, normally, 0'd counters for an ethernet device might mean that
the driver (module) is not working or didn't recognize the chipset,
even though it loaded.

Just because a module loaded, doesn't mean it will actually handle
a device. I'm baffled, if the exact same module worked ok on the
LiveCD. Hmm.

Might also try pasting the output of:

# dmesg | grep -i eth
 
> and about ipchains etc..i dont think so... i dont recall them loading at
> boot time, but it scrolls by soo fast i dont know if i'd really
> notice... but all i have installed on gentoo is what i had emerge
> install: sync, gnome, kudzu, but of course it satasfied any dependencies
> those had. how do i check to see if ipchains, etc is installed? im used
> to redhats rpm -qa ;(

That's ok... judging from eth0 info, doesn't appear to be an issue.

As for checking packages... you'd need to do this to emulate rpm -qa:

# emerge gentoolkit
# qpkg -I -v [search string]

(or just 'qpkg -I -v' to look through the whole list)

Although until you get eth0 working, probably don't have an easy way of
grabbing gentoolkit-0.1.30.tar.bz2 (or .gz) into /usr/portage/distfiles
for that emerge to work. :) (short of booting into RH, d/l'ing that file,
cp'ing over to the Gentoo partition, etc)

One workaround and a way 

Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-03 Thread Farrell Farahbod
wow...quick reply :) i guess they werent lying when they said gentoo has
terrific forums! wooho!

well about possible nic/nat problems...i highly highly doubt it, becuase
like i said, i run redhat9 linux on the same box...its a dual boot. and
the live cd was able to easily use my nic, like i mentioned earlier. but
now back to your questions...

the following was run on my gentoo install:

cat /etc/env.d/01hostname:

HOSTNAME="farrell"

(you said it should have a FQDN...but it doesnt...but if it was supposed
to have a fqdn, why is the filename 01hostname? just curious...i like to
learn :) )

lsmod:

Module  Size  Used byNot tainted
usbcore55488   1
8139too14152   1
mii 2160   0  [8139too]

(hum...looks to me like petty few kernel modules...but then again i have
practically nothing configured...sound, printing, etc..) also, you asked
about my kernel...ya its a gentoo-sources install, and instead of
menuconfig, i did what the install docs told me to do to have it merge
the options gentoo would chose for me...i forgot the command it was...i
can look it up if necessary. so perhaps it compiled  lot in statically?
well in either case my box is lightning fast compared to my redhat9
install...gentoo boots in like 30 seconds, redhat in about 90 seconds...

ifconfig eth0:
eth0  Link encap:Ethernet  HWaddr 00:02:44:14:1B:72
  inet addr:192.168.1.105  Bcast:192.168.1.255 
Mask:255.255.255.0
  inet6 addr: fe80::202:44ff:fe14:1b72/10 Scope:Link
  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:0xf000

and about ipchains etc..i dont think so... i dont recall them loading at
boot time, but it scrolls by soo fast i dont know if i'd really
notice... but all i have installed on gentoo is what i had emerge
install: sync, gnome, kudzu, but of course it satasfied any dependencies
those had. how do i check to see if ipchains, etc is installed? im used
to redhats rpm -qa ;(

thanks again,

farrell farahbod

On Sun, 2003-08-03 at 22:06, Dan Foster wrote:
> Hot Diggety! Farrell Farahbod was rumored to have written:
> > first, i have used linux for close to five years, but this is the first
> > time i have tried any distro other than redhat. :) i know a fair amount
> > about linux, and i have compiled programs before, but i am not an
> > expert, as you will probably realize by the end of this email :)
> 
> You're doing just fine.
>  
> > i am not sure if this is my problem, but when i run "route" on gentoo,
> > it prints this:
> > 
> > Kernel IP Routing Table
> > DestinationGateway  Genmask Flags  Metic Ref Use Iface
> > 192.168.1.0*  255.255.255.0 U0  00   
> > eth0
> > loopbacklocalhost   255.0.0.0   UG  0  00lo
> > default 192.168.1.1 0.0.0.0 UG  1  00   
> > eth0
> 
> Looks sane.
>  
> > shouldn't the top entry by 192.168.1.1not 192.168.1.0??
> 
> Nah, it's referring to a whole subnet, saying anything destined for an IP
> in that /24 netblock will exit through eth0. This is necessary to make the
> default route work properly.
> 
> The default route itself is pointed at 192.168.1.1, and the flags looks
> fine.
>  
> > also, when i am shown the login screen, it says: "This is farrell.(none)
> 
> That's a known bug with agetty, I believe... someone submitted a patch
> for this on this mailing list a few weeks ago. Cosmetic but trivially
> fixed if you apply the patch. Mail me if you need a copy of the email
> with patch and installation instructions, if you can handle the patch
> utility.
> 
> But first, double check the next suggestion (see below).
> 
> > (Linux i686...)" but it should read farrell.freemans.org! :( farrell is
> > my hostname, freemans.org is the domainname in my home LAN (NOT on the
> > internet!) i set /etc/hostname, and /etc/dnsdomain correctly...at least
> > as best i can tell. and i setup /etc/hosts correctly, afaik.
> 
> See if /etc/env.d/01hostname has the FQDN defined there.
>  
> > and lastly, here is my /etc/conf.d/net file:
> 
> Looks perfect.
> 
> So, considering your settings looks to be exactly as it should be...  I'm
> going to guess that either it's a eth0 issue in some way OR it's a linksys
> issue of some sort with NAT.
> 
> Just to double check -- you don't have ipchains or a similar firewall
> utility loaded and enabled on your box?
> 
> Can you post the output of:
> 
> # ifconfig eth0
> 
> and
> 
> # lsmod 
> 
> Which kernel tree package are you using? gentoo-sources?
> 
> -Dan
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-03 Thread Dan Foster
Hot Diggety! Farrell Farahbod was rumored to have written:
> first, i have used linux for close to five years, but this is the first
> time i have tried any distro other than redhat. :) i know a fair amount
> about linux, and i have compiled programs before, but i am not an
> expert, as you will probably realize by the end of this email :)

You're doing just fine.
 
> i am not sure if this is my problem, but when i run "route" on gentoo,
> it prints this:
> 
> Kernel IP Routing Table
> DestinationGateway  Genmask Flags  Metic Ref Use Iface
> 192.168.1.0*  255.255.255.0 U0  00   
> eth0
> loopbacklocalhost   255.0.0.0   UG  0  00lo
> default 192.168.1.1 0.0.0.0 UG  1  00   
> eth0

Looks sane.
 
> shouldn't the top entry by 192.168.1.1not 192.168.1.0??

Nah, it's referring to a whole subnet, saying anything destined for an IP
in that /24 netblock will exit through eth0. This is necessary to make the
default route work properly.

The default route itself is pointed at 192.168.1.1, and the flags looks
fine.
 
> also, when i am shown the login screen, it says: "This is farrell.(none)

That's a known bug with agetty, I believe... someone submitted a patch
for this on this mailing list a few weeks ago. Cosmetic but trivially
fixed if you apply the patch. Mail me if you need a copy of the email
with patch and installation instructions, if you can handle the patch
utility.

But first, double check the next suggestion (see below).

> (Linux i686...)" but it should read farrell.freemans.org! :( farrell is
> my hostname, freemans.org is the domainname in my home LAN (NOT on the
> internet!) i set /etc/hostname, and /etc/dnsdomain correctly...at least
> as best i can tell. and i setup /etc/hosts correctly, afaik.

See if /etc/env.d/01hostname has the FQDN defined there.
 
> and lastly, here is my /etc/conf.d/net file:

Looks perfect.

So, considering your settings looks to be exactly as it should be...  I'm
going to guess that either it's a eth0 issue in some way OR it's a linksys
issue of some sort with NAT.

Just to double check -- you don't have ipchains or a similar firewall
utility loaded and enabled on your box?

Can you post the output of:

# ifconfig eth0

and

# lsmod 

Which kernel tree package are you using? gentoo-sources?

-Dan

--
[EMAIL PROTECTED] mailing list



[gentoo-user] eth0 problems after installing gentoo 1.4rc4

2003-08-03 Thread Farrell Farahbod
first, i have used linux for close to five years, but this is the first
time i have tried any distro other than redhat. :) i know a fair amount
about linux, and i have compiled programs before, but i am not an
expert, as you will probably realize by the end of this email :)

so on to the problem.

i successfully installed gentoo linux 1.4rc4, and its on a dual boot
pc... redhat9/gentoo. i installed it from a stage2 tarball, and had it
optimized for my athlon-xp cpu. the live cd worked perfectly with my
nic, all i had to do was boot with "gentoo nodhcp" and run "net-setup
eth0" to configure my nic, as i have a static IP. it seems my nic uses
the "8139too" kernel module, as lsmod on the live cd, and on redhat9,
both seemed to use that module. i did what the gentoo install docs said,
putting a line containing "8139too" to /etc/modules.autoload, edited
/etc/conf.d/net to have my ip, gateway, etc all in it as it's
in-document comments told me to, and edited /etc/hosts, /etc/hostname
/etc/dnsdomainname, etc...here are my settings:

Static IP: 192.168.1.105
Network Device: eth0
Gateway: 192.168.1.1 (a linksys router--NOT performing dns services)
Broadcast: 192.168.1.255
Netmask: 255.255.255.0
DNS: 64.105.166.122 (NOTE: this is NOT a personal dns...it does NOT
cover my home lan...its from my isp.)

the problem is, i cant ping anothing but my mechine. ping localhost/ping
192.168.1.105 work, but ping 192.168.1.1/ping google.com don't work! i
dont know what is causing this! :/

after tring to seek help in #gentoo on irc.freenode.net, i didn't have
any success.

i am not sure if this is my problem, but when i run "route" on gentoo,
it prints this:

Kernel IP Routing Table
DestinationGateway  Genmask Flags  Metic Ref Use Iface
192.168.1.0*  255.255.255.0 U0  00   
eth0
loopbacklocalhost   255.0.0.0   UG  0  00lo
default 192.168.1.1 0.0.0.0 UG  1  00   
eth0

shouldn't the top entry by 192.168.1.1not 192.168.1.0??

also, when i am shown the login screen, it says: "This is farrell.(none)
(Linux i686...)" but it should read farrell.freemans.org! :( farrell is
my hostname, freemans.org is the domainname in my home LAN (NOT on the
internet!) i set /etc/hostname, and /etc/dnsdomain correctly...at least
as best i can tell. and i setup /etc/hosts correctly, afaik.

here are two screenshots (literally ^_-) of my screen showing this, in
case you don't quite get what i was saying earlier about route, my
hostname, etc:

http://reblended.com/www/upgrdman/01.jpg
http://reblended.com/www/upgrdman/02.jpg

and lastly, here is my /etc/conf.d/net file:

# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7
2002/11/18 19:39:22 azarah Exp $
 
# Global config file for net.* rc-scripts
 
# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.1.105 broadcast 192.168.1.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
 
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
 
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
 
# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
 
 
# For setting the default gateway
#
gateway="eth0/192.168.1.1"
 

thanks,

farrell farahbod


--
[EMAIL PROTECTED] mailing list