New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Other Hardware and Peripherals Other Apple systems and peripherals discussion.

Ethernet-Adapter Problems (DIY+Programming)


Post Reply New Thread Subscribe

 
Thread Tools
JamesBond

 
Member Since: Jan 19, 2014
Posts: 1
JamesBond is on a distinguished road

JamesBond is offline
Hi Guys,
I am currently working on a programming/DIY project, and have recently hit a wall. Due to the fact that my Macbook Air is not equipped with Ethernet (and in my case, only one usb port), I have been forced to use a USB hub and an USB to Ethernet adapter. Unfortunatly, as I am trying to set up a remote telnet server on my board, I have to include where to push it to. As this is unclear, I have included the arduino code below:
----------
void setup() {
system("telnetd -l /bin/sh");
system("ifconfig eth0 169.254.10.68 netmask 255.255.0.0 up");
}
----------
(The underlined part is the ip of the adapter.) The bold part is what I'm referencing to. However, my computer does not have an ethernet card, which means that this code is referencing to something that does't exist. I want it to be configured so that the code refernces to the adapter, not to my computer's nonexistent ethernet card. If somebody could tell me what I should use instead, that would be awesome.

Thanks Guys!
QUOTE Thanks

Post Reply New Thread Subscribe


« Printing problem | Problem with mirroring Mac's Hard Drive for Hard Drive Upgrade »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
imac G3 wireless adapter problems kbrower Apple Desktops 1 06-11-2005 11:04 PM
running os 8 and built in ethernet card problems kinlungchan Running Windows (or anything else) on your Mac 0 02-18-2005 06:20 AM
Power Mac g3 desktop ethernet problems RBWare83 Apple Desktops 5 03-10-2004 11:50 AM
NIC / Ethernet card problems amcdonnell OS X - Operating System 0 01-19-2004 11:20 PM
Power adapter and Window problems fasheezy Apple Notebooks 3 11-22-2003 05:52 PM

All times are GMT -4. The time now is 01:12 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?