On Thu, Feb 24, 2011 at 06:53:06PM -0000, brusberri wrote:
> Sorry to disturb you guys i just need some quick tips if possible.
> 
> 

> In my job as a software consultant almost daily i step into Linux servers 
> (mostly if not all RH Enterprises 3, 4, 5 and some Fedora) on small networks 
> which are not open to the internet.
> 
> i need this connection for my job and i rarely have access to the system 
> administrators of my company as i mostly work on remote, and they are 
> engulfed too!
> 
> of course i know the ip address of the server, of the router and of the 
> proxy, if any (rarely the case). i can also copy the DNS and whatever from 
> the windows machines in the network, i suppose.
> 
> the problem is i don't know where to put this informations in order to access 
> the internet (only strictly CLI commands and scripts please, there are no GUI 
> on those machines).

I'm not quite sure what you mean.  You're at the machine and it has to
reach the Internet or you have to reach the machine from the Internet?

To find out current ip address

ifconfig -a

Which will give you information on all cards in the machine.

To see the gateway 

route -n 

Usually the first and last lines both show the gateway.  Not sure how it
works on RH3, but 4 and 5 should also show the gateway with 

cat /etc/sysconfig/network

For DNS 

cat /etc/resolv.conf

will show the settings. 

To edit a network connection, you should be able to use

system-config-network-tui  

It's a curses based tool, so should show in terminal. 

This should enable you to configure interface, gateway and DNS.

If I have misunderstood the question, apologies.


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6



------------------------------------

To unsubscribe from this list, please email 
[email protected] & you will be removed.Yahoo! Groups 
Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to