View previous topic :: View next topic |
Author |
Message |
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Fri Jan 31, 2003 6:19 am Post subject: dhcp prpblem |
|
|
Code: | root # emerge rsync
>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
rsync: getaddrinfo: rsync.gentoo.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(83)
>>> Updating Portage cache...
|
Code: | nameserver 207.69.188.185
nameserver 207.69.188.186
serch earthlink.net
|
this is my etc/hosts
Code: | 127.0.0.1 bastard localhost
192.168.0.2 bastard
|
this is where i think i lose it
Code: |
root # grep -v ^"#" /etc/conf.d/net
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
broadcast_eth0="192.168.0.255 192.168.0.255"
netmask_eth0="255.255.255.0 255.255.255.0"
|
and the last one Code: | root # cat /etc/dhcpc/dhcpcd-eth0.info
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=255.255.255.255
GATEWAY=192.168.0.1
HOSTNAME='bastard'
DOMAIN='earthlink.net'
DNS=207.69.188.185,207.69.188.186,207.69.188.187
DHCPSID=24.29.99.207
DHCPGIADDR=10.49.64.1
DHCPSIADDR=0.0.0.0
DHCPCHADDR=00:01:03:84:84:BB
DHCPSHADDR=00:09:12:86:94:70
DHCPSNAME=''
LEASETIME=43200
RENEWALTIME=21600
REBINDTIME=37800
INTERFACE='eth0'
CLASSID='Linux 2.4.20-gentoo-r1 i686'
|
***update
Code: | root # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
|
Code: | root # /etc/init.d/net.eth0 restart
* Unmounting network filesystems... [ ok ]
* Stopping sshd... [ ok ]
* Bringing eth0 down... [ ok ]
* Bringing eth0 up... [ ok ]
* Adding aliases...
* eth0:0... [ ok ]
* eth0:1... [ ok ]
* Mounting network filesystems... [ ok ]
* Starting sshd... [ ok ]
|
i get all this by ssh from my windows box(xp, i use it only to learn then use it with my other gentoo box), i had it work for a second but i lost it all
these are the only files i am messing with
thank u for ur help
Last edited by li1_getoo on Fri Jan 31, 2003 10:04 am; edited 1 time in total |
|
Back to top |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Fri Jan 31, 2003 9:18 am Post subject: |
|
|
i forgot to say i am loging in usint usb modem and connecting the puter using the nics , like i siad i had it work yesterday but i decided to try somethin else now i can t have it work at all
***update
problem solved thanx to people smarter then me
Code: | /sbin/route add -net default gw 192.168.0.1 netmask 0.0.0.0 metric 1 |
i would not recomend using this though , buying a router is the way to go , this is just me bieng stubborn,,cause if u wanna use the clien i need to have the server on also :} |
|
Back to top |
|
|
|
|
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
|
|