Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configure to network tether?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Inspyre
n00b
n00b


Joined: 13 Jul 2014
Posts: 3

PostPosted: Sun Jul 13, 2014 6:56 am    Post subject: Configure to network tether? Reply with quote

Hey everyone! So I'm trying Gentoo for the first time on a box that my brother's business was about to throw out.
I got the CD image from here and am trying to use my current Windows laptop (from which I am currently posting) to connect it to the network.

When I use ifconfig in the live shell while ethernetted to my laptop, the ethernet interface finds itself an APIPA address that it refuses to reconfigure with the net-setup command.

How do I get it up and running? Is there anything special (besides a network bridge) that I need to configure from my laptop's end?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sun Jul 13, 2014 9:39 am    Post subject: Reply with quote

Inspyre,

Welcome to Gentoo.

I recommend that you use SystemRescueCd for your install. Its Gentoo based and allows you to follow the handbook as you would with a normal install. It has the advantage of providndg a GUI if you want to use it.

If net-setup will only give you a link local address, it can be several things.
a) you need a crossover RJ45 cable to connect to another PC. Not everything works with straight through cables.
b) there is no DHCP server on your laptop, or its not doing DHCP pass through
c) Windows internet connection sharing is not set up correctly.
d) The live CD does not support you network card.

What interfaces does
Code:
ifconfig -a
show on Gentoo.
In Windows, do Start | Run, type cmd.exe in the box, to run a DOS box
In the DOS box run ipconfig
What interfaces and IP addresses are shomn there?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Inspyre
n00b
n00b


Joined: 13 Jul 2014
Posts: 3

PostPosted: Sun Jul 13, 2014 11:20 pm    Post subject: Reply with quote

On the Gentoo live CD, ifconfig -a has the exact same output as just ifconfig. I think the lack of network card support is likely, since for some reason I have 3 interfaces show up:
- enp2s0: ethernet that actually takes on the APIPA address when plugged in
- enp3s4: allegedly ethernet, though the computer has only one port. Not sure what this is about.
- loopback

On the rescue CD, ifconfig yields no IP address after being plugged in. My current laptop has the following IP configuration:
Address: 192.168.2.25
Netmask: 255.255.255.0
Gateway: 192.168.2.1



Also on the rescue CD, the enp2s0 interface changesto ens33; the other two remain the same.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Mon Jul 14, 2014 3:31 pm    Post subject: Reply with quote

Inspyre,

Your Windows laptop must have two IP addresses.

One on the port that faces the router. the other on the port that faces the machine you want to install Gentoo on.
The liveCD does not detect ethernet cobles being connected/disconnected. If the networxk works at boot, it will try to set up the network, if not, you need to run net-setup.

enp2s0 and enp3s4 both look like network interfaces, as you say. Can you post the output of lspci, so we can see what they are?
lspci -k will tell the kernel module in use too, like this.
lspci -k:
0a:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
   Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
   Kernel driver in use: r8169
If a kernel module appears in the output, the module is loaded.

That your interface appears in ifconfig (without the -a) tells that its up and working. The link local IP address is not useful but it indicates that the problem is with the connectivity, rather than the hardware or the driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Inspyre
n00b
n00b


Joined: 13 Jul 2014
Posts: 3

PostPosted: Tue Sep 02, 2014 1:26 am    Post subject: Reply with quote

Sorry for the... less than timely response. I've decided to give this project another shot now that I have much more time on my hands.

the lspci -k command outputs the following in the context of networks:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RLT8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 2a8c
Kernel driver in use: r8169
Kernel modules: r8169

03:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
Kernel driver in use: r8169
Kernel modules: r8169
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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