USB SMC Network adapter

Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

Assuming that you’re on a 6.3.x system, I believe that the driver for
that adapter is devn-asix.so. If you plug in the adapter, you should be
able to mount the driver and treat it exactly like any other network
interface.

Robt.
Augie wrote:

Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

Hi.

This being my first time with 6.3.x system…

This is a USB device.

Do I need to run any other commands before running the driver?

What command do I use for run the driver?

Why can’t 6.3.x scan for this and auto install?

TIA

Augie

“Robert Craig” <rcraig_at_qnx@nowhere.com> wrote in message
news:fqp15n$alf$1@inn.qnx.com

Assuming that you’re on a 6.3.x system, I believe that the driver for that
adapter is devn-asix.so. If you plug in the adapter, you should be able
to mount the driver and treat it exactly like any other network interface.

Robt.
Augie wrote:
Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

On 06/03/2008 10:31 AM, Augie wrote:

Do I need to run any other commands before running the driver?

You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be active
when the driver is started.

TIA

Augie

“Ryan J. Allen” <ryallen@qnx.com> wrote in message
news:fqp5ad$d6c$1@inn.qnx.com

On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?

You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

“Augie” <augiehenriques@hotmail.com> wrote in message
news:fqpba0$h0b$1@inn.qnx.com

Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Well you need to give it an IP address or use dhcp.

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be active
when the driver is started.

TIA

Augie

“Ryan J. Allen” <> ryallen@qnx.com> > wrote in message
news:fqp5ad$d6c$> 1@inn.qnx.com> …
On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?

You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

You still need to configure the interface with an IP address. You can
either use ifconfig to assign a static address or dhcp.client to get a
dynamic address assigned.

If you’re on an x86 box, io-usb will already be running. If not, please
take a look at the docs… You also need to tell it what driver
libraries to load in.

Make sure that io-net isn’t already running before you start it again.
If it is already running use the “mount -Tio-net” command instead.



Augie wrote:

Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be active
when the driver is started.

TIA

Augie

“Ryan J. Allen” <> ryallen@qnx.com> > wrote in message
news:fqp5ad$d6c$> 1@inn.qnx.com> …
On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?
You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

Augie wrote:

io-usb

What about specifying the host controller? eg “-d ehci” or “-d uhci”

io-net -d asix -p tcpip
inetd &

Hi

io-net &
mount -T io-net if=en0:192.9.200.9 /lib/dll/devn-asix.so
inetd &

This doesn’t work.

Not sure what the correct syntax to all of this stuff?

Not sure of the correct order?

When I try to open the network config tab, it complains about “could not
open socket”/

All very confusing! :slight_smile:

TIA

Augie

“Robert Craig” <rcraig_at_qnx@nowhere.com> wrote in message
news:fqpfmh$jv8$1@inn.qnx.com

You still need to configure the interface with an IP address. You can
either use ifconfig to assign a static address or dhcp.client to get a
dynamic address assigned.

If you’re on an x86 box, io-usb will already be running. If not, please
take a look at the docs… You also need to tell it what driver libraries
to load in.

Make sure that io-net isn’t already running before you start it again. If
it is already running use the “mount -Tio-net” command instead.



Augie wrote:
Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be active
when the driver is started.

TIA

Augie

“Ryan J. Allen” <> ryallen@qnx.com> > wrote in message
news:fqp5ad$d6c$> 1@inn.qnx.com> …
On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?
You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

Hi Augie:

I’d recommend having a quick look through the docs. There’s a section
on TCP/IP networking which covers much of this.

The problem here is that the mount command is being used incorrectly.

Mount the driver:

mount -T io-net /lib/dll/devn-asix.so

Configure the interface:

ifconfig en0 192.9.200.9

OR

dhcp.client -ien0

Robert.


Augie wrote:

Hi

io-net &
mount -T io-net if=en0:192.9.200.9 /lib/dll/devn-asix.so
inetd &

This doesn’t work.

Not sure what the correct syntax to all of this stuff?

Not sure of the correct order?

When I try to open the network config tab, it complains about “could not
open socket”/

All very confusing! > :slight_smile:

TIA

Augie

“Robert Craig” <> rcraig_at_qnx@nowhere.com> > wrote in message
news:fqpfmh$jv8$> 1@inn.qnx.com> …
You still need to configure the interface with an IP address. You can
either use ifconfig to assign a static address or dhcp.client to get a
dynamic address assigned.

If you’re on an x86 box, io-usb will already be running. If not, please
take a look at the docs… You also need to tell it what driver libraries
to load in.

Make sure that io-net isn’t already running before you start it again. If
it is already running use the “mount -Tio-net” command instead.



Augie wrote:
Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be active
when the driver is started.

TIA

Augie

“Ryan J. Allen” <> ryallen@qnx.com> > wrote in message
news:fqp5ad$d6c$> 1@inn.qnx.com> …
On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?
You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

Oh yes. And don’t forget to make sure that the IP stack is loaded.

io-net -dtcpip


Just to be sure:

If you’re on an x86 box that you’ve booted, io-net will already be
running, so you should use the mount command.

If you’ve killed io-net, then you can run:

io-net -dasix -ptcpip

which will load the driver and protocol stack at the same time.


Robert Craig wrote:

Hi Augie:

I’d recommend having a quick look through the docs. There’s a
section on TCP/IP networking which covers much of this.

The problem here is that the mount command is being used incorrectly.

Mount the driver:

mount -T io-net /lib/dll/devn-asix.so

Configure the interface:

ifconfig en0 192.9.200.9

OR

dhcp.client -ien0

Robert.


Augie wrote:
Hi

io-net &
mount -T io-net if=en0:192.9.200.9 /lib/dll/devn-asix.so
inetd &

This doesn’t work.

Not sure what the correct syntax to all of this stuff?

Not sure of the correct order?

When I try to open the network config tab, it complains about “could
not open socket”/

All very confusing! > :slight_smile:

TIA

Augie

“Robert Craig” <> rcraig_at_qnx@nowhere.com> > wrote in message
news:fqpfmh$jv8$> 1@inn.qnx.com> …
You still need to configure the interface with an IP address. You
can either use ifconfig to assign a static address or dhcp.client to
get a dynamic address assigned.

If you’re on an x86 box, io-usb will already be running. If not,
please take a look at the docs… You also need to tell it what
driver libraries to load in.

Make sure that io-net isn’t already running before you start it
again. If it is already running use the “mount -Tio-net” command
instead.



Augie wrote:
Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be
active when the driver is started.

TIA

Augie

“Ryan J. Allen” <> ryallen@qnx.com> > wrote in message
news:fqp5ad$d6c$> 1@inn.qnx.com> …
On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?
You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you
can either mount the driver in to io-net or run io-net -dasix …


Ryan J. Allen
QNX Software Systems

I think that the driver for SMC is devn-pegasus.so.

Augie wrote:

Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

Like Robert said, these docs should help:

http://www.qnx.com/developers/docs/6.3.2/neutrino/user_guide/hardware.html
http://www.qnx.com/developers/docs/6.3.2/neutrino/user_guide/tcpip.html


Ryan J. Allen
QNX Software Systems


On 06/03/2008 3:03 PM, Augie wrote:

Hi

io-net &
mount -T io-net if=en0:192.9.200.9 /lib/dll/devn-asix.so
inetd &

This doesn’t work.

Not sure what the correct syntax to all of this stuff?

Not sure of the correct order?

When I try to open the network config tab, it complains about “could not
open socket”/

All very confusing! > :slight_smile:

TIA

Augie

“Robert Craig” <> rcraig_at_qnx@nowhere.com> > wrote in message
news:fqpfmh$jv8$> 1@inn.qnx.com> …
You still need to configure the interface with an IP address. You can
either use ifconfig to assign a static address or dhcp.client to get a
dynamic address assigned.

If you’re on an x86 box, io-usb will already be running. If not, please
take a look at the docs… You also need to tell it what driver libraries
to load in.

Make sure that io-net isn’t already running before you start it again. If
it is already running use the “mount -Tio-net” command instead.



Augie wrote:
Hi.

I ran…

io-usb
io-net -d asix -p tcpip
inetd &

Still can’t get to the internet.

No ping.

On the network configuration there is nothing there to work with.

Any ideas?

The only good news is that the LED on the USB adapter seems to be active
when the driver is started.

TIA

Augie

“Ryan J. Allen” <> ryallen@qnx.com> > wrote in message
news:fqp5ad$d6c$> 1@inn.qnx.com> …
On 06/03/2008 10:31 AM, Augie wrote:
Do I need to run any other commands before running the driver?
You should be running the usb stack (io-usb).

If you run the “usb” utility you should see the device. Then you can
either mount the driver in to io-net or run io-net -dasix …

Hi,

I have looked at the documentation and still I can’t figure this out.

Sorry to keep asking… I find this so frustrating… No GUI to setup the
network card/ network settings…
I was hoping someone would give me the basic sequence of commands to run
this…
But it seems even hard for the experts, never mind myself :slight_smile:

io-net -t tcpip &
mount -T io-net devn-pegasus.so
ifconfig en0 192.9.200.9


This returns …

if config socket: Address family not supported by protocol family.

Where do I run ‘inetd &’?

What else do I need?

TIA

Augie

“Kevin Miller” <kevin.miller@transcore.com> wrote in message
news:fqpkek$ms9$1@inn.qnx.com

I think that the driver for SMC is devn-pegasus.so.

Augie wrote:
Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

Typos abound :>

My original io-net line had “-d” where it should have been “-p”.


So let’s try again… Assuming that you have already killed off io-net.
(The pegasus driver is for the 2208, not 2209)…

io-net -dasix -ptcpip

ifconfig en0 192.9.200.9

If you want to start inetd, do it any time after io-net has been started.

if you want to see a configuration GUI, after you’ve run io-net, as
root, run “phlip &”

phlip is also brought up under the configuration button in the shelf
manager but you need to be root to run it.





Augie wrote:

Hi,

I have looked at the documentation and still I can’t figure this out.

Sorry to keep asking… I find this so frustrating… No GUI to setup the
network card/ network settings…
I was hoping someone would give me the basic sequence of commands to run
this…
But it seems even hard for the experts, never mind myself > :slight_smile:> …

io-net -t tcpip &
mount -T io-net devn-pegasus.so
ifconfig en0 192.9.200.9


This returns …

if config socket: Address family not supported by protocol family.

Where do I run ‘inetd &’?

What else do I need?

TIA

Augie

“Kevin Miller” <> kevin.miller@transcore.com> > wrote in message
news:fqpkek$ms9$> 1@inn.qnx.com> …
I think that the driver for SMC is devn-pegasus.so.

Augie wrote:
Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie