Ethernet Issues

When I boot up to RTP v6.0.1 into Photon, I can see io-net running from
a quick pidin command: “86031 io-net -ptcpip -ppppmgr -pqnet”. I use
the “Network Configurator” in Photo to choose between DHCP and a static
IP address, and I’d like to know what is going on behind the scenes when

I change things. When I select DHCP, I can see the DHCP client running,

with its args, but when I have a static IP address selected I’d like to
know what commands are issued to configure the NIC, etc.

I have tried to manually configure the NIC four different ways (static
IP address / DHCP, or tiny / full TCP/IP stack),

tiny TCP/IP stack, static IP-address:
“io-net -v -v -dspeedo -dup=1,verbose -pttcpip
if=en0:IPADDR:MASK,default=GATEWAY”
tiny TCP/IP stack, DHCP:
“io-net -v -v -dspeedo -dup=1,verbose -pttcpip”
“dhcp.client -i en0 -m -u -t 1”
full TCP/IP stack, static IP-address:
“io-net -v -v -dspeedo -dup=1,verbose -ptcpip”
“ifconfig en0 HOSTNAME netmask MASK up”
“ifconfig lo0 localhost up”
full TCP/IP stack, DHCP:
“io-net -v -v -dspeedo -dup=1,verbose -ptcpip”
“dhcp.client -i en0 -m -u -t 1”

These always work but are MUCH slower than when the Photon network
configurator handles things. When I run “nicinfo”, I can get 100Mbps,
but never full duplex even though I manually specify it. I have client
and server applications that just transfer data across a socket
connection (to test thu-put), and when I manually configure the NIC the
best I can ever get is about 0.5Mbps, but the Photon configurator has
gotten me as high as 91Mbps, and more typically 30~50Mbps.

What is the Photon network configurator doing that I don’t know about?
Can I put it in some kind of “verbose” mode so I can see what is going
on, or can I run some other utility that would capture all commands run
in the O/S? Is there a “console” mode version of that Photon network
configurator that I can use if I don’t want to boot into Photon?

Also I’ve noticed that the verbose options passed to both “io-net” and
the device driver don’t report anything except error messages when
something goes wrong. Shouldn’t I get some info about the auto-detected

parameters?

Thanks,
Jim

Hello Jim,

Try using the ‘pidin ar’. This will give you the list of arguments run
when starting things.

Regards,
Dave B.




Jim Bormann wrote:

When I boot up to RTP v6.0.1 into Photon, I can see io-net running from
a quick pidin command: “86031 io-net -ptcpip -ppppmgr -pqnet”. I use
the “Network Configurator” in Photo to choose between DHCP and a static
IP address, and I’d like to know what is going on behind the scenes when

I change things. When I select DHCP, I can see the DHCP client running,

with its args, but when I have a static IP address selected I’d like to
know what commands are issued to configure the NIC, etc.

I have tried to manually configure the NIC four different ways (static
IP address / DHCP, or tiny / full TCP/IP stack),

tiny TCP/IP stack, static IP-address:
“io-net -v -v -dspeedo -dup=1,verbose -pttcpip
if=en0:IPADDR:MASK,default=GATEWAY”
tiny TCP/IP stack, DHCP:
“io-net -v -v -dspeedo -dup=1,verbose -pttcpip”
“dhcp.client -i en0 -m -u -t 1”
full TCP/IP stack, static IP-address:
“io-net -v -v -dspeedo -dup=1,verbose -ptcpip”
“ifconfig en0 HOSTNAME netmask MASK up”
“ifconfig lo0 localhost up”
full TCP/IP stack, DHCP:
“io-net -v -v -dspeedo -dup=1,verbose -ptcpip”
“dhcp.client -i en0 -m -u -t 1”

These always work but are MUCH slower than when the Photon network
configurator handles things. When I run “nicinfo”, I can get 100Mbps,
but never full duplex even though I manually specify it. I have client
and server applications that just transfer data across a socket
connection (to test thu-put), and when I manually configure the NIC the
best I can ever get is about 0.5Mbps, but the Photon configurator has
gotten me as high as 91Mbps, and more typically 30~50Mbps.

What is the Photon network configurator doing that I don’t know about?
Can I put it in some kind of “verbose” mode so I can see what is going
on, or can I run some other utility that would capture all commands run
in the O/S? Is there a “console” mode version of that Photon network
configurator that I can use if I don’t want to boot into Photon?

Also I’ve noticed that the verbose options passed to both “io-net” and
the device driver don’t report anything except error messages when
something goes wrong. Shouldn’t I get some info about the auto-detected

parameters?

Thanks,
Jim

That would work find if I could actually capture while the Photon Network
Configurator was in the process of configuring. I’m guessing it spawns
ifconfig or something, which is what I’m trying to figure out.

Apps wrote:

Hello Jim,

Try using the ‘pidin ar’. This will give you the list of arguments run
when starting things.

Regards,
Dave B.

Jim Bormann wrote:

When I boot up to RTP v6.0.1 into Photon, I can see io-net running from
a quick pidin command: “86031 io-net -ptcpip -ppppmgr -pqnet”. I use
the “Network Configurator” in Photo to choose between DHCP and a static
IP address, and I’d like to know what is going on behind the scenes when

I change things. When I select DHCP, I can see the DHCP client running,

with its args, but when I have a static IP address selected I’d like to
know what commands are issued to configure the NIC, etc.

I have tried to manually configure the NIC four different ways (static
IP address / DHCP, or tiny / full TCP/IP stack),

tiny TCP/IP stack, static IP-address:
“io-net -v -v -dspeedo -dup=1,verbose -pttcpip
if=en0:IPADDR:MASK,default=GATEWAY”
tiny TCP/IP stack, DHCP:
“io-net -v -v -dspeedo -dup=1,verbose -pttcpip”
“dhcp.client -i en0 -m -u -t 1”
full TCP/IP stack, static IP-address:
“io-net -v -v -dspeedo -dup=1,verbose -ptcpip”
“ifconfig en0 HOSTNAME netmask MASK up”
“ifconfig lo0 localhost up”
full TCP/IP stack, DHCP:
“io-net -v -v -dspeedo -dup=1,verbose -ptcpip”
“dhcp.client -i en0 -m -u -t 1”

These always work but are MUCH slower than when the Photon network
configurator handles things. When I run “nicinfo”, I can get 100Mbps,
but never full duplex even though I manually specify it. I have client
and server applications that just transfer data across a socket
connection (to test thu-put), and when I manually configure the NIC the
best I can ever get is about 0.5Mbps, but the Photon configurator has
gotten me as high as 91Mbps, and more typically 30~50Mbps.

What is the Photon network configurator doing that I don’t know about?
Can I put it in some kind of “verbose” mode so I can see what is going
on, or can I run some other utility that would capture all commands run
in the O/S? Is there a “console” mode version of that Photon network
configurator that I can use if I don’t want to boot into Photon?

Also I’ve noticed that the verbose options passed to both “io-net” and
the device driver don’t report anything except error messages when
something goes wrong. Shouldn’t I get some info about the auto-detected

parameters?

Thanks,
Jim