ifconfig can't find cipcbN?

View: New views
2 Messages — Rating Filter:   Alert me  

ifconfig can't find cipcbN?

by Karl Kleinpaste :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've just noticed that in 2.6.13, though CIPE works just fine, the
basic ifconfig program cannot find a named cipcbN interface on its own.

I run a custom build of RH's .src.rpm, to turn on IKCONFIG, turn off
REGPARM, and fix a sched.c annoyance -- nothing net-specific in my
differences.  Is there anything already known as to why ifconfig
cannot find a named interface, but knows about it when showing all
interfaces?

--karl

[1018] [02:17 PM] mesquite:~> uname -r
2.6.13-1.1526_FC4.karl
[1018] [02:31 PM] mesquite:~> ifconfig
cipcb0    Link encap:IPIP Tunnel  HWaddr
          inet addr:128.2.198.166  P-t-P:192.168.1.7 Mask:255.255.255.255
          [...and so on...]

eth0      Link encap:Ethernet  HWaddr 00:40:CA:23:40:3A
          inet addr:192.168.1.1  Bcast:192.168.1.255 Mask:255.255.255.0
          [...and so on...]

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          [...and so on...]

[1019] [02:31 PM] mesquite:~> ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:40:CA:23:40:3A
          inet addr:192.168.1.1  Bcast:192.168.1.255 Mask:255.255.255.0
          [...and so on...]

[1020] [02:31 PM] mesquite:~> ifconfig cipcb0
: error fetching interface information: Device not found

--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>

Re: ifconfig can't find cipcbN?

by Dick St.Peters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Karl Kleinpaste writes:
> I've just noticed that in 2.6.13, though CIPE works just fine, the
> basic ifconfig program cannot find a named cipcbN interface on its own.
>
> I run a custom build of RH's .src.rpm, to turn on IKCONFIG, turn off
> REGPARM, and fix a sched.c annoyance -- nothing net-specific in my
> differences.  Is there anything already known as to why ifconfig
> cannot find a named interface, but knows about it when showing all
> interfaces?

I don't have a 2.6.13 kernel handy to try, but on my 2.6.14.2 test
system I don't have this problem:

test1# uname -r
2.6.14.2-1_NH
test1# zgrep IKCONFIG /proc/config.gz
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
test1# zgrep REGPARM /proc/config.gz
# CONFIG_REGPARM is not set
test1# ifconfig cipcb0
cipcb0    Link encap:IPIP Tunnel  HWaddr  
          inet addr:208.20.133.125  P-t-P:208.20.133.30  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1418  Metric:1
          RX packets:13811 errors:0 dropped:0 overruns:0 frame:0
          TX packets:402 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100

I'm using a fairly old ifconfig:

test1# ifconfig --version
net-tools 1.60
ifconfig 1.42 (2001-04-13)

--
Dick St.Peters, stpeters@...

--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>