Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant connect to rsync server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
adrian87
n00b
n00b


Joined: 16 Mar 2013
Posts: 22

PostPosted: Tue Apr 02, 2013 6:02 pm    Post subject: cant connect to rsync server Reply with quote

Iv just finished my first ever install but I cant update portage and i cant emerge anything.

when i try to update portage i get name or service not known - i tried using the method of selecting mirrors from the install guide but apparently "mirrorselect" is an unknown command. I also noticed that teh make.conf file isnt where it was during the installation - theres nothing in /mnt. I found one in /etc but its a blank file.

Is this the right file? and if so does anyone know how i define new mirror (both rsyn and general) urls and what the urls are?

cheers.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6962

PostPosted: Tue Apr 02, 2013 11:09 pm    Post subject: Reply with quote

I suppose you mistake some network configuration parts.

You didn't tell us if internet is working, so is the result of
Code:
ping -c1 www.gentoo.org
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13493

PostPosted: Wed Apr 03, 2013 1:17 am    Post subject: Reply with quote

Is "name or service not known" shown inside the chroot, outside the chroot, or both?
Back to top
View user's profile Send private message
Utsuho Reiuji
Apprentice
Apprentice


Joined: 03 Apr 2013
Posts: 157

PostPosted: Wed Apr 03, 2013 11:10 am    Post subject: Reply with quote

what does ifconfig say?

oh, also paste "ls -la /sys/class/net" output, please.


Since you just installed Gentoo, I suppose you fell for the udev update, which might have crippled your network connection.
Back to top
View user's profile Send private message
adrian87
n00b
n00b


Joined: 16 Mar 2013
Posts: 22

PostPosted: Wed Apr 03, 2013 5:14 pm    Post subject: Reply with quote

yea, networks totally knackered.

ping to anything results in unknown host.

"I suppose you fell for the udev update, which might have crippled your network connection." - quite possibly, however i have no idea what that is :P couldnt find any reference in installation guide.

ipconfig puts out

eth0 flags=4099<UP, BROADCAST, MULTICAST> MTU:1500
ether 00:1e:ec:55:db:05 txqueuelen 1000 (ethernet)
RX packets:1 RX bytes:64 (64.0 b)
RX errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 device interupt 18

lo: flags=73<UP, LOOPBACK, RUNNING> mtu 65536
inet 127.0.0.1 netmask255.0.0.0
loop txqueuelen 0 (local loopback)
RX packets 64 bytes 5524 (5.3 kib)
RX errors:0 dropped:0 overruns:0 frame:0
TX packets:68 bytes 5524 (5.3 kib)
TX errors:0 dropped:0 overruns:0 carrier:0
collisions:0




ls -la /sys/class/net

total 0
drwxr-xr-x 2 root root 0 Apr 3 16:34 .
drwxr-xr-x 51 root root 0 Apr 3 16:34 ..
lrwxrwxrwx 1 root root 0 Apr 3 16:34 eth0 -> ../..devices/pci0000:00/0000:00:1c.2/0000:05:00.0/net/eth0
lrwxrwxrwx 1 root root 0 Apr 3 16:34 lo -> ../../devices/virtual/net/lo
Back to top
View user's profile Send private message
comprookie2000
Developer
Developer


Joined: 25 Jul 2004
Posts: 921
Location: Sun City Center, Florida

PostPosted: Wed Apr 03, 2013 7:56 pm    Post subject: Reply with quote

Did you install dhcpcd ?
dhcpcd eth0
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
adrian87
n00b
n00b


Joined: 16 Mar 2013
Posts: 22

PostPosted: Fri Apr 05, 2013 7:48 pm    Post subject: Reply with quote

apparently not :(
Back to top
View user's profile Send private message
comprookie2000
Developer
Developer


Joined: 25 Jul 2004
Posts: 921
Location: Sun City Center, Florida

PostPosted: Fri Apr 05, 2013 8:30 pm    Post subject: Reply with quote

Thats no problem, just boot up a live cd or dvd, follow the guide like you did for your initial install and choot.

Change to your set-up as needed, and make sure your network is good with the live cd

Code:


livecd ~ # ping www.google.com -c 3
livecd ~ # swapon /dev/sda2
livecd ~ # mount /dev/sda3 /mnt/gentoo
livecd ~ # mkdir /mnt/gentoo/boot
livecd ~ # mount /dev/sda1 /mnt/gentoo/boot
livecd ~ # cd /
livecd / # mount -t proc proc /mnt/gentoo/proc
livecd / # mount --rbind /dev /mnt/gentoo/dev
livecd / # mount --rbind /sys /mnt/gentoo/sys
livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/
livecd / # chroot /mnt/gentoo /bin/bash
livecd / # source /etc/profile
livecd / # emerge dhcpcd
livecd / # exit
livecd / # umount -l /mnt/gentoo/dev{/shm,/pts,}
livecd / # umount -l /mnt/gentoo{/proc,/boot,/sys,}
livecd / # reboot

(Don't forget to remove the CD)
_________________
http://dev.gentoo.org/~dabbott/


Last edited by comprookie2000 on Mon Apr 08, 2013 10:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
adrian87
n00b
n00b


Joined: 16 Mar 2013
Posts: 22

PostPosted: Mon Apr 08, 2013 7:31 pm    Post subject: Reply with quote

thats done the trick :D cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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