Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
during install dhcpcd fails how do i disable ipv6 in /proc
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
cfriedt
n00b
n00b


Joined: 12 Sep 2003
Posts: 56
Location: Montréal, Québec

PostPosted: Tue Jan 27, 2004 10:52 pm    Post subject: during install dhcpcd fails how do i disable ipv6 in /proc Reply with quote

dhcpcd fails ipv6 disable
HOW DO YOU DISABLE IPV6?

... sorry, i thought i'd see if that would show up the next time i searched on that string.

Hi there,

I've been a gentoo user for a while, and administrating a small network as well with a linux router / masqued gateway.

I just tried to change my routers distro from Slack to Gentoo, thinking that it might be a bit better for updating and security and that sort of thing.

I've run into a wall and i'm not taking stabs in the dark here, i know exactly what the problem is, i just don't know how to change it.

IPv6 is enabled by default in the kernel for the "x86 basic" release of 1.4, and my ISP (Rogers Cable, Toronto) does not like this at all, because when i request an IP address via DHCP i believe that my network card is sending a DHCPv6 request to the ISP. Which would explain why

`ifconfig eth0`

shows that exactly one packet has been sent on eth0 and none received. They're ignoring me... how rude!

Furthermore, I know that ipv6 is the problem because my desktop is currently directly connected to the exact same Modem using the exact same cable, and is getting a dhcp resonse instantaneously, using IPv4.

I've tried to disable certain options by

`echo 0 > /proc/sys/net/conf/ipv6/all/<various files>`

but unfortunately nothing helps me in my quest to find a damned IP address.

i've also tried setting my ip statically, and it says that it's also been assigned an inet6 address, which really bothers me.

HOW DO YOU DISABLE IPV6?

please, i've tried negotiating, bribing, threatening, begging, and i'm about to resort to physical violence if my little PI router doesn't respond soon.

any help would greatly be appreciated

ps:
btw.... for gentoo developers, i think it would be wise to disable ipv6 in the factory kernel for the basic cd, because i think i've gone through about 1000 different posts on this forum from people who are experiencing the same problem as me, but can't quite pin it down. It would prevent me from wasting my time reading their posts, but also a little bit of space on your server, and the time of the people that try to help these people out.

and, realistically, hardly ANYONE is going to need to use IPv6 for a long long time unless doing some sort of testing or network analysis. but the average user isn't goign to ever need a 128 bit address. And in general, the people who are doing such network analysis also probably know how to enable IPv6 if they need it.

in general, if you search for something like

"eth0 no ipv6 router present"

you'll come up with a million posts describing this exact problem (some people believe it's the network card's error... and it might be, but i've been using the same two network cards in a 2.4 kernel for a long time and there have been no problems)...

for those who would insist:

a) Relevent Dmseg output
Code:
`egrep ".*IP.*|.*eth.*|.*NET.*|.*net.*" init.dmesg`

Code:
Calibrating delay loop... 199.06 BogoMIPS
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
ISO 9660 Extensions: RRIP_1991A
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xc506e000, 00:40:f4:62:d9:d9, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
  http://www.scyld.com/network/epic100.html
eth1: SMSC EPIC/100 83c170 at 0x1100, IRQ 11, 00:e0:29:3d:a6:3c.
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)


b) IP config for eth0
Code:
`ifconfig eth0`

Code:
eth0      Link encap:Ethernet  HWaddr 00:40:F4:62:D9:D9
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:86 (86.0 b)
          Interrupt:10 Base address:0xe000


c) IP config for lo
Code:
`ifconfig`
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