setting up a network adapter manually

I have a Ralink RT73 wifi adapter plugged onto my computer that isn't used as airport adapter. It comes with a software that sets up the wifi connection and simulates a second ethernet adapter (en1).
Everytime, the connection breaks, the device en1 is killed and when the wifi manager connects again, it shows as connected but the interface en1 is missing. I have to reboot the computer to go online again.

Does anybody know how to create the adapter en1 manually if the software does not to it? 'ifconfig en1 create' returns 'no such device'. The driver is still loaded and called com.Ralink.driver.RT73. Is there another shell command to establish a device name for the device that is controlled by the driver?

Posted on Sep 10, 2008 1:23 PM

Reply
5 replies

Sep 10, 2008 3:52 PM in response to GoaSkin

Hi GoaSkin, and a warm welcome to the forums! 🙂

I'm quite familiar with the devices, but not any shell commands to handle them. All of mine are en2 to en7.

Might try in Network Pref Pane>Show:>Network Port Configurations, and make a copy of en1, or disable en1 and reboot so it makes a new one, (drag it to the top of the list), (sometimes the device has to be plugged in after booting for it to work).

Do you have the latest driver...

http://www.ralinktech.com/ralink/Home/Support/Macintosh.html

Might also try dragging this file to the Desktop & reboot...

Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

Sep 10, 2008 4:41 PM in response to BDAqua

Hello,

I have the latest driver (I looked yesterday). Does that mean that the device (en1) normally is created when the kernel module is loaded? (result of the kextload command)?

I realized that it is impossible to unload the module when it is loaded once (kextunload command shows an error code). In the systems configuration, the device also disappears if the network has been disconnected one time (instead of network adapter (en1) there is listed network adapter (null)). The device is only up until the wireless connection is broken and does not come up again then.

If there is no other solution I will look for an alternative driver (there are various opensource projects I haven't tried yet). Maybe, the driver itself has bugs. Ralink didn't answer yet.

Sep 10, 2008 6:49 PM in response to BDAqua

Non-Apple WLAN hardware isn't treated as airport but like airport handled as ethernet device. en0 is built in ethernet and en1, en2... all the additional network devices. As I said, the system recognizes the ralink device and creates an interface. That is listed in the system preferences and can be configured there (DHCP or manual IP addresses). But if the wireless connection breaks, it disappears from the list (and also if running ifconfig or netstat -i). Once it is disappeared, it isn't listed any more in the system preferences. While it is working, I can copy it as often as I want, but later the device name is replaced there with 'null'. If I want to create a new connection, the wireless adapter does not appear anymore if the connection has been broken one time (just shows 'serial' and 'builtin ethernet'). The ralink device comes with another prefpane for entering WEP-key and to select the network. This part works well when the network connection was broken. I can reconnect there but the device and the wireless connection somehow isn't anymore availlable to be used for IP traffic.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

setting up a network adapter manually

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.