OpenQNX :: The QNX Community Portal

Sep 07, 2008 - 07:29 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 45 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Augie
Post subject: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 02:36 PM
Guest





Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie
 
   
Reply with quote Back to top
Robert Craig
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 03:11 PM
Guest





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:
Quote:
Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

 
   
Reply with quote Back to top
Augie
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 03:31 PM
Guest





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...
Quote:
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
 
   
Reply with quote Back to top
Ryan J. Allen
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 04:22 PM
Guest





On 06/03/2008 10:31 AM, Augie wrote:
Quote:
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
 
   
Reply with quote Back to top
Augie
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 06:04 PM
Guest





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...
Quote:
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
 
   
Reply with quote Back to top
Mario Charest
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 07:14 PM
Guest





"Augie" <augiehenriques@hotmail.com> wrote in message
news:fqpba0$h0b$1@inn.qnx.com...
Quote:
Hi.

I ran...

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


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

Quote:
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

 
   
Reply with quote Back to top
Robert Craig
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 07:19 PM
Guest





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:
Quote:
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

 
   
Reply with quote Back to top
John Garvey
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 07:21 PM
Guest





Augie wrote:
Quote:
io-usb

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

Quote:
io-net -d asix -p tcpip
inetd &
 
   
Reply with quote Back to top
Augie
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 08:03 PM
Guest





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! :-)

TIA

Augie

"Robert Craig" <rcraig_at_qnx@nowhere.com> wrote in message
news:fqpfmh$jv8$1@inn.qnx.com...
Quote:
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
 
   
Reply with quote Back to top
Robert Craig
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 08:35 PM
Guest





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:
Quote:
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! :-)

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
 
   
Reply with quote Back to top
Robert Craig
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 08:38 PM
Guest





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:
Quote:
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! :-)

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
 
   
Reply with quote Back to top
Kevin Miller
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 08:40 PM
Guest





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

Augie wrote:
Quote:
Hi.

I got a USB SMC (SMC2209USB/ETH).

How do I configure a USB SMC Network adapter?

TIA

Augie

 
   
Reply with quote Back to top
Ryan J. Allen
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 08:41 PM
Guest





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:
Quote:
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! :-)

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 ...
 
   
Reply with quote Back to top
Augie
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 09:08 PM
Guest





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 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...
Quote:
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
 
   
Reply with quote Back to top
Robert Craig
Post subject: Re: USB SMC Network adapter  PostPosted: Mar 06, 2008 - 09:40 PM
Guest





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:
Quote:
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 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

 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.