public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Network connection repeatedly failing!
@ 2006-08-16 15:47 Samuel Baldwin
  2006-08-16 16:01 ` [gentoo-user] " Jim Ramsay
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-16 15:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2906 bytes --]

I'm trying to install Gentoo 2006.0 AMD64, on a brand-new AMD64 machine,
system specs are below:

CPU: AMD ATHLON-64 3200+ 939 pin
RAM: 1024MB (two 512mb sticks), PC-3200/400
NETWORK CARD: 10/100MBPS RJ-45 integrated
160GB UDMA SATA HD
300GB HD (EIDE, ATA)

Temperatures check out at system: 28C and cpu: 31C, so I don't think it's an
overheating problem.

I'm set up in an office, my IP needs to be 10.0.0.100, Gateway is 10.0.0.1,
and DNC is 10.0.0.221. No proxies, just need those specific things. I tried
running "net-setup eth0", which worked, untill I tried to ping
www.google.com, and 10.0.0.1 (and other computers in my workplace).

When I run ifconfig, I get this:
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:28 errors:0 dropped:0 overruns:0 frame:0
                TX Packets:28 errors:0 dropped:2 overruns:0 carrier:0
                collisions: 0 txqueuelen: 0
                RX bytes: 3080 (3.0 KB) TX bytes:3080 (3.0kb)

Which doesn't look shabby, except for the dropped:2. But otherwise, to me,
it looks like it would work (I'm no expert anyways, as you have no doubt
determined)

When I run "ping 10.0.0.1" (I stop with ^C), I get THIS:
                 PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
                 From 10.0.0.100 icmp_seq=1 Destination Host Unreachable
                 From 10.0.0.100 icmp_seq=2 Destination Host Unreachable
                 From 10.0.0.100 icmp_seq=3 Destination Host Unreachable
                 From 10.0.0.100 icmp_seq=5 Destination Host Unreachable
                 From 10.0.0.100 icmp_seq=6 Destination Host Unreachable
                 From 10.0.0.100 icmp_seq=7 Destination Host Unreachable
^C
--- 10.0.0.1 ping statistics ---
9 packets transmitted, 0 recieved, +6 errors, 100% packet loss, time 8010ms
, pipe 3
livecd root #

Which, on the other hand, does not look so good. I've already tried
"ifconfig eth0 ${IPADDR}.....", and the like.

Please, if anyone has some insight, please share it with me. I've got an
abundance of other ethernet cards, if it sounds like this is a hardware
error. I'd very much like to install Gentoo (I have a universal disk, I know
I can do a networkless installation). Eventually, when I return home, I can
use dhcp, but not for a few days, and I much rather have my computer running
by then.

Also, does anyone know of a tool that allows you to play audio from a
terminal? Basically, sending audio to standard audio out? I'd like to be
able to listen to music (all .ogg and .mp3, if it makes a difference), while
in runlevel 3. This is a side comment, and do not waste time answering
this/looking it up if you don't know off hand.

Thanks a metric ton,
-- 
Samuel (shardz)

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 4840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-user]  Re: Network connection repeatedly failing!
  2006-08-16 15:47 [gentoo-user] Network connection repeatedly failing! Samuel Baldwin
@ 2006-08-16 16:01 ` Jim Ramsay
       [not found]   ` <975fd1710608160938t164fe940g89197b19ef6477c4@mail.gmail.com>
  2006-08-17  1:57 ` Stefan Wimmer
  2006-08-17  2:10 ` [gentoo-user] " Fredrik Tolf
  2 siblings, 1 reply; 13+ messages in thread
From: Jim Ramsay @ 2006-08-16 16:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1489 bytes --]

Samuel Baldwin wrote:

> When I run ifconfig, I get this:
> 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:28 errors:0 dropped:0 overruns:0 frame:0
>                 TX Packets:28 errors:0 dropped:2 overruns:0 carrier:0
>                 collisions: 0 txqueuelen: 0
>                 RX bytes: 3080 (3.0 KB) TX bytes:3080 (3.0kb)

This is just the inernal loopback device, not eth0.  Try 'ifconfig -a'
and see if your system even knows about your eth0 interface.

If it's not listed by 'ifconfig -a', you need to load the right kernel
module to get it there.

If it's listed but not up, a command like 'ifconfig eth0 up 10.0.0.100'
and 'route add default 10.0.0.1' may do for now.

> Also, does anyone know of a tool that allows you to play audio from a
> terminal? Basically, sending audio to standard audio out? I'd like to
> be able to listen to music (all .ogg and .mp3, if it makes a
> difference), while in runlevel 3. This is a side comment, and do not
> waste time answering this/looking it up if you don't know off hand.

I use 'media-sound/mpd' which is a mp3/ogg playing daemon (server), then
one of the front-ends (media-sound/ncmpc is a good console client) to
set up your playlist.  http://www.musicpd.org for more info and a list
of other frontends.

-- 
Jim Ramsay
"Me fail English?  That's unpossible!"

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: Network connection repeatedly failing!
       [not found]   ` <975fd1710608160938t164fe940g89197b19ef6477c4@mail.gmail.com>
@ 2006-08-16 16:39     ` Samuel Baldwin
  0 siblings, 0 replies; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-16 16:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

As for those media players, thanks a ton as well. Both of you. I'll give
them both a shot.
-- 
Samuel (shardz)

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 348 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-user]  Re: Network connection repeatedly failing!
  2006-08-16 15:47 [gentoo-user] Network connection repeatedly failing! Samuel Baldwin
  2006-08-16 16:01 ` [gentoo-user] " Jim Ramsay
@ 2006-08-17  1:57 ` Stefan Wimmer
  2006-08-17  2:10 ` [gentoo-user] " Fredrik Tolf
  2 siblings, 0 replies; 13+ messages in thread
From: Stefan Wimmer @ 2006-08-17  1:57 UTC (permalink / raw
  To: gentoo-user

 * Samuel Baldwin <shardz4217@gmail.com>
   wrote on Wed, 16 Aug 2006 11:47:23 -0400 :
>  Also, does anyone know of a tool that allows you to play audio from a
>  terminal? Basically, sending audio to standard audio out? I'd like to be
>  able to listen to music (all .ogg and .mp3, if it makes a difference), while
>  in runlevel 3. This is a side comment, and do not waste time answering
>  this/looking it up if you don't know off hand.
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org

My favorite is PyTone - a ncurses based jukebox written in Python ... you can 
find an ebuild here: 

    http://bugs.gentoo.org/show_bug.cgi?id=70450#c10

If you try it tell me please how the install went ;-)

HTH
swimmer

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-16 15:47 [gentoo-user] Network connection repeatedly failing! Samuel Baldwin
  2006-08-16 16:01 ` [gentoo-user] " Jim Ramsay
  2006-08-17  1:57 ` Stefan Wimmer
@ 2006-08-17  2:10 ` Fredrik Tolf
  2006-08-17 13:29   ` Samuel Baldwin
  2 siblings, 1 reply; 13+ messages in thread
From: Fredrik Tolf @ 2006-08-17  2:10 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-08-16 at 11:47 -0400, Samuel Baldwin wrote:
> Also, does anyone know of a tool that allows you to play audio from a
> terminal? Basically, sending audio to standard audio out? I'd like to
> be able to listen to music (all .ogg and .mp3, if it makes a
> difference), while in runlevel 3. This is a side comment, and do not
> waste time answering this/looking it up if you don't know off hand. 

My personal favorite is mpg321 (or ogg123 for OGG). Very efficient and
very customizable. Normally, it plays directly to your default libao
plugin (probably OSS or ALSA), but with the -s option, you can send raw
(headerless) 44100 kHz, 8 bit signed short audio to stdout for further
processing by e.g. sox. Call me a simpleton, but I often have lots of
fun with changing the playback sampling rate :)

mpg123 -vs somefile.mp3 | sox -t .raw -r 48000 -sw -c 2 - -t \
  ossdsp /dev/dsp

Have fun,
Fredrik Tolf


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-17  2:10 ` [gentoo-user] " Fredrik Tolf
@ 2006-08-17 13:29   ` Samuel Baldwin
  2006-08-17 15:56     ` [gentoo-user] " Jim Ramsay
  2006-08-17 22:41     ` [gentoo-user] " Ryan Tandy
  0 siblings, 2 replies; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-17 13:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

On a more serious note:

I get this when I try to run "route add default 10.0.0.1", as on the live CD
(I thought I had already configured the network anyway, in /etc/conf.d/net .


SIOCADDRT: No such device

I'm not sure what this means, but I can't ping www.google.com, or any other
public address. I CAN ping other IP's in my network, including 10.0.0.1
Emerge obviously doesn't work either.

Some insight would be appreciated
-- 
Samuel (shardz)

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 829 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-user]  Re: Network connection repeatedly failing!
  2006-08-17 13:29   ` Samuel Baldwin
@ 2006-08-17 15:56     ` Jim Ramsay
  2006-08-17 17:52       ` Samuel Baldwin
  2006-08-17 22:41     ` [gentoo-user] " Ryan Tandy
  1 sibling, 1 reply; 13+ messages in thread
From: Jim Ramsay @ 2006-08-17 15:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

Samuel Baldwin wrote:
> On a more serious note:
> 
> I get this when I try to run "route add default 10.0.0.1", as on the
> live CD (I thought I had already configured the network anyway,
> in /etc/conf.d/net .

My mistake, I think I meant:

'route add default gw 10.0.0.1'

Also, you may want to read the sample net config
file /etc/conf.d/net.example and make sure you've got the syntax
right.  Or you may want to post your current net config file here and
maybe someone can help you with details.

-- 
Jim Ramsay
"Me fail English?  That's unpossible!"

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: Network connection repeatedly failing!
  2006-08-17 15:56     ` [gentoo-user] " Jim Ramsay
@ 2006-08-17 17:52       ` Samuel Baldwin
  0 siblings, 0 replies; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-17 17:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

Yeah, I got it, I put my email out pre-maturely.

Anyways, now I'm having problems with X, a new monitor, that I know all the
specs to, is going to help me write xorg.conf

Thanks for the help though.

-- 
Samuel (shardz)

"A Gentoo-er's job is never done. You can always count on source installs to
make that true."

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 592 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-17 13:29   ` Samuel Baldwin
  2006-08-17 15:56     ` [gentoo-user] " Jim Ramsay
@ 2006-08-17 22:41     ` Ryan Tandy
  2006-08-18  0:12       ` Samuel Baldwin
  1 sibling, 1 reply; 13+ messages in thread
From: Ryan Tandy @ 2006-08-17 22:41 UTC (permalink / raw
  To: gentoo-user

Samuel Baldwin wrote:
> On a more serious note:
> 
> I get this when I try to run "route add default 10.0.0.1 
> <http://10.0.0.1>", as on the live CD (I thought I had already 
> configured the network anyway, in /etc/conf.d/net .

Have you run '/etc/init.d/net.eth0 start'?  Alternatively, is net.eth0 
in your default runlevel? (hint: try '/etc/init.d/net.eth0 status')  Are 
there any messages from the script (error or otherwise) in 
/var/log/messages?

If you actually want to set routes by hand, the command should be 'route 
add default gw 10.0.0.1' (you're missing 'gw').

HTH.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-17 22:41     ` [gentoo-user] " Ryan Tandy
@ 2006-08-18  0:12       ` Samuel Baldwin
  2006-08-18  1:24         ` Samuel Baldwin
  0 siblings, 1 reply; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-18  0:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

With those problems resolved, another arises.

I have since moved my computer back to my house (to stay). Upon initial
boot, it complained about not finding certain things (gateway, nameserver),
which is obviously the fact that I'm using dhcp. I then changed the settings
in /etc/conf.d/net, then rebooted. It all seemed fine, but ping, emerge, and
firefox dont work for anything public, and I'm wondering if I did something
wrong. I changed all the settings in /etc/conf.d/net to resemble the dhcp
settings in the handbook. Is there another command/file I need to edit?

-- 
Samuel (shardz)

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 1092 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-18  0:12       ` Samuel Baldwin
@ 2006-08-18  1:24         ` Samuel Baldwin
  2006-08-18  7:18           ` Richard Fish
  0 siblings, 1 reply; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-18  1:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

For the record, I have a router. Under XP, dhcp works fine, and I can get
past that.

Under linux, dhcp seems to be working as well, I can get a local IP and ping
computers on my network, but anything outside, no luck.

-- 
Samuel (shardz)

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 542 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-18  1:24         ` Samuel Baldwin
@ 2006-08-18  7:18           ` Richard Fish
  2006-08-18 15:07             ` Samuel Baldwin
  0 siblings, 1 reply; 13+ messages in thread
From: Richard Fish @ 2006-08-18  7:18 UTC (permalink / raw
  To: gentoo-user

On 8/17/06, Samuel Baldwin <shardz4217@gmail.com> wrote:
> Under linux, dhcp seems to be working as well, I can get a local IP and ping
> computers on my network, but anything outside, no luck.

Does the route command show a default (0.0.0.0) route?  Is it pointed
at the right place (your router)?  What does your /etc/conf.d/net
contain now?

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Network connection repeatedly failing!
  2006-08-18  7:18           ` Richard Fish
@ 2006-08-18 15:07             ` Samuel Baldwin
  0 siblings, 0 replies; 13+ messages in thread
From: Samuel Baldwin @ 2006-08-18 15:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

Apparently it wasn't the route command. I was looking for an old DNS server.
I just changed it, and boom! Problems gone.

Thanks everybody!

-- 
Samuel (shardz)

Noha+Shardz Productions: nsproductions.co.nr

Registered Linux User #410639

amarok.kde.org
usmc.mil

[-- Attachment #2: Type: text/html, Size: 419 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-08-18 15:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-16 15:47 [gentoo-user] Network connection repeatedly failing! Samuel Baldwin
2006-08-16 16:01 ` [gentoo-user] " Jim Ramsay
     [not found]   ` <975fd1710608160938t164fe940g89197b19ef6477c4@mail.gmail.com>
2006-08-16 16:39     ` Samuel Baldwin
2006-08-17  1:57 ` Stefan Wimmer
2006-08-17  2:10 ` [gentoo-user] " Fredrik Tolf
2006-08-17 13:29   ` Samuel Baldwin
2006-08-17 15:56     ` [gentoo-user] " Jim Ramsay
2006-08-17 17:52       ` Samuel Baldwin
2006-08-17 22:41     ` [gentoo-user] " Ryan Tandy
2006-08-18  0:12       ` Samuel Baldwin
2006-08-18  1:24         ` Samuel Baldwin
2006-08-18  7:18           ` Richard Fish
2006-08-18 15:07             ` Samuel Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox