Page 1 of 2
 1  2  >
Reply
   
 MAC OSX Internet Sharing & DHCP 
 
 
  #1 (permalink)  
Old 06-09-2006, 09:28 AM
Regular

Group: Regulars
Location: Sydney


Hi,

I have a media device that needs daily internet access to access EPG data.

I usually have it hooked up via a wireless ethernet bridge on my wifi network. However that seems pretty flaky with the bridge and device often dissapearing off the network, necessitating a boot of both devices and then accessing the device through a web interface to initiate the call to get the EPG.

I have decided to try and give the internet sharing of my G4 flatpanel Imac running tiger a go as it sits right next to the device.

Only problem is that once I set sharing the internet up, I don't know what IP address to try and log into via the web to access the devices interface.

I found some reference on the net to the fact that the in built DHCP server assigning IP addresses in the range 192.168.2.2 onwards. Is this correct?

Does anybody know how to find out what devices are connected to the Mac and what IP address/MAC address they possess?

Any help appreciated.
Thanks
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #2 (permalink)  
Old 06-09-2006, 09:55 AM
Regular

Group: Regulars
Location: Behind you


You can go to each machine, and open terminal.app and type "ifconfig"

You can open terminal.app and type in "apr -a", which might show a few of the machines on your network, and their IP addresses.

You can log into the DHCP server and see what IP Addresses are being handed out to what machines.

pipsqeek
__________________
WTF is Harmonytech? | The iBook Saga. | Successful Trades: Currawong, Byrd, xedos, Decryption, Greenie, Mivory
sudo chmod 327 /etc/car/subaru
pipsqeek is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #3 (permalink)  
Old 06-09-2006, 10:00 AM
Regular

Group: Regulars
Location: Sydney


Thanks for that ill give the terminal stuff a try from the iMac.

What exactly do you mean by the last sentence, ie logging into the DHCP server. That sounds exactly what I want to do.

Thanks.
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #4 (permalink)  
Old 06-09-2006, 10:28 AM
I'm crackin' skulls

Group: Forum Leaders
Location: Melbourne


<div class='quotetop'>QUOTE(lenman74 @ Sep 6 2006, 10:28 AM) [snapback]211199[/snapback]</div>
Quote:
I have a media device that needs daily internet access to access EPG data.

I usually have it hooked up via a wireless ethernet bridge on my wifi network. However that seems pretty flaky with the bridge and device often dissapearing off the network, necessitating a boot of both devices and then accessing the device through a web interface to initiate the call to get the EPG. [/b]
I have a very similar problem. My media device (it's a TiVo ) is hooked to a wireless bridge and accesses the net for EPG data daily. The problem I'm having is that the Mac likes to take up the IP address 192.168.0.2 - which is the exact one the TiVo needs.

I can't get the router to automatically assign the TiVo to that IP, because the MAC address that shows up on the network belongs to the bridge, not the TiVo, and the bridge won't connect if I do that.

Can I configure DHCP on the Mac to avoid that specific IP?
__________________
MacBook 2.0 GHz Core Duo, iPhone 3G 16GB
criminaldeli.tumblr.com | twitter
tcn33 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #5 (permalink)  
Old 06-09-2006, 10:36 AM
Regular

Group: Regulars
Location: Sydney


what u need to do is simply set a fixed IP to the Mac. if you know the restriction of your DHCP serveR(e.g. if it's set to asssign numbers between 192.168.0.1 - 192.168.0.100). then it would be safe for you to give your mac an address of say 192.168.0.101(fixed) then it won't conflict with any DHCP assigned address
__________________
_______
Macbook Pro Core 2 Duo 1.8Ghz, 2GB ram, Intel imac 1.9GHZ, 1.5GB ram, 160GB, G5 Dual 2.7GHZ, 5GB ram, 500GB, G5 Dual 1.8GHZ, 1GB ram, 160GB, Cube G4,1.5GB, 120GB ++, PPC Mac Mini, Airport Express and various necessary gadgets and gizmos .....Now Super Improved with OSX Leopard .....
Mctastic is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #6 (permalink)  
Old 06-09-2006, 10:48 AM
Regular

Group: Regulars
Location: Sydney


Hey, my "device" is a Tivo as well. God bless em. Just wished they networked easily.

Whats your wireless ethernet bridge hooking up to, a airport equipped mac or an independant router.

I had a similar problem a while back and solved it (using the netgear router) by assigning fixed IP addresses, or reserving certain IP addresses for certain MAC addresses. This worked for the computers and printers but the TIVO was much less compliant.

I recently got around this when installing one at a mates place by assiging a static IP address to the Tivo by telnetting (is that a word!) into the tivo and accessing some command line prompt. The Tivo is effectively running some flavour of 'nix i think. From there I turned off dynamic IP and gave it a permanant one outside the range assigned by my router as per the above post.

I want to do this now, however in order to telnet in to the tivo I need to know its IP address, Catch 22, and hence my original question.

Ultimately I wont need to use the built in DHCP server in OSX but for now I just need to know whats connected so that I can get in and assign a static IP.

Im hoping this info will help me

You can go to each machine, and open terminal.app and type "ifconfig"

You can open terminal.app and type in "apr -a", which might show a few of the machines on your network, and their IP addresses.
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #7 (permalink)  
Old 06-09-2006, 11:01 AM
Regular

Group: Regulars
Location: Sydney


your router will normally display a list of devices utilizing it's DHCP server. you may eliminate(from the numbers u know) in order to find which IP the TIVO is using
__________________
_______
Macbook Pro Core 2 Duo 1.8Ghz, 2GB ram, Intel imac 1.9GHZ, 1.5GB ram, 160GB, G5 Dual 2.7GHZ, 5GB ram, 500GB, G5 Dual 1.8GHZ, 1GB ram, 160GB, Cube G4,1.5GB, 120GB ++, PPC Mac Mini, Airport Express and various necessary gadgets and gizmos .....Now Super Improved with OSX Leopard .....
Mctastic is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #8 (permalink)  
Old 06-09-2006, 11:15 AM
Regular

Group: Regulars
Location: Sydney


Yes, but my problem is that the tivo is not connected to the netgear router but my imac which is connected to the router via airport. hence the netgear router is not assigning the IP to the tivo, the imac is.

What im trying to do is access what IP addresses the imac is serving up to the tivo over ethernet.

My topology is like this


Router -- wireless -- iMAC === ethernet === tivo
-- wireless -- MBP
-- wireless --printer
-- wireless --ethernet bridge === ethernet===2nd tivo (no problems with the 2nd tivo)

only 12 months ago I didnt know what an IP address was, so forgive my probably missing something basic here.
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #9 (permalink)  
Old 06-09-2006, 11:18 AM
I'm crackin' skulls

Group: Forum Leaders
Location: Melbourne


<div class='quotetop'>QUOTE(lenman74 @ Sep 6 2006, 11:48 AM) [snapback]211226[/snapback]</div>
Quote:
I recently got around this when installing one at a mates place by assiging a static IP address to the Tivo by telnetting (is that a word!) into the tivo and accessing some command line prompt. The Tivo is effectively running some flavour of 'nix i think. From there I turned off dynamic IP and gave it a permanant one outside the range assigned by my router as per the above post.

I want to do this now, however in order to telnet in to the tivo I need to know its IP address, Catch 22, and hence my original question.
[/b]
Come to think of it, this is exactly what I need to do (and already did - that's why it needs the particular IP it does). If I can just remember how it's done...

Anyway, I'll stop hijacking your thread now

What I can suggest for your issue is something similar to the tool I used to use on Windows, which was called Advanced IP Scanner. It displayed whether each IP within a given range was alive or dead, and the machine name attached. Surely there must be an equivalent for Mac?

Or you could look at the messages section of your TiVo and see if the most recent one tells you which IP it's on.
__________________
MacBook 2.0 GHz Core Duo, iPhone 3G 16GB
criminaldeli.tumblr.com | twitter
tcn33 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #10 (permalink)  
Old 06-09-2006, 11:40 AM
Regular

Group: Regulars
Location: Sydney


Yep,

Thats exactly what im loking for, a tool to allow me to see whats going on with the Mac's inbuilt DCHP server.

As for the TIVO messages, they return 0.0.0.0 as they always have for me, even when I know it is connected and has an IP address.

The following post: http://www.tuhs.org/twiki/bin/view/Network...ationofTurbonet

sets out the steps for assigning a static IP to a tivo

now if I only knew what IP address it is on......

lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #11 (permalink)  
Old 06-09-2006, 11:44 AM
Regular

Group: Regulars
Location: Sydney


u try looking at your system profiler?

goto the Apple, about this Mac, ... 'more info' .. look at the network tab, it should show what device is connected to the ethernet port & it's IP address
__________________
_______
Macbook Pro Core 2 Duo 1.8Ghz, 2GB ram, Intel imac 1.9GHZ, 1.5GB ram, 160GB, G5 Dual 2.7GHZ, 5GB ram, 500GB, G5 Dual 1.8GHZ, 1GB ram, 160GB, Cube G4,1.5GB, 120GB ++, PPC Mac Mini, Airport Express and various necessary gadgets and gizmos .....Now Super Improved with OSX Leopard .....
Mctastic is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #12 (permalink)  
Old 06-09-2006, 11:45 AM
Regular

Group: Regulars
Location: Sydney


bingo, just what i was looking for, secreted information for the unitiated.

thanks heaps McTastic!
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #13 (permalink)  
Old 06-09-2006, 12:15 PM
Regular

Group: Regulars
Location: Sydney


Good! i forgot about how detailed it was.. just took a look before i posted and seemed to be the place.
__________________
_______
Macbook Pro Core 2 Duo 1.8Ghz, 2GB ram, Intel imac 1.9GHZ, 1.5GB ram, 160GB, G5 Dual 2.7GHZ, 5GB ram, 500GB, G5 Dual 1.8GHZ, 1GB ram, 160GB, Cube G4,1.5GB, 120GB ++, PPC Mac Mini, Airport Express and various necessary gadgets and gizmos .....Now Super Improved with OSX Leopard .....
Mctastic is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #14 (permalink)  
Old 06-09-2006, 01:14 PM
Regular

Group: Regulars
Location: Sydney


Well actually I havent tried it yet, will have to wait until I get home, but it sounds very much right. here's hopin.
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #15 (permalink)  
Old 07-09-2006, 09:26 AM
Regular

Group: Regulars
Location: Sydney


I had a look under the network settings of the system profiler, and in particular the built in ethernet setting and I could find no evidence of any connected devices. See below for the information provided there.

Maybe Im going about this in a fundamentally wrong way.

If I enable the sharing of my airport internet connection over built in ethernet should the ethernet be obtaining an IP address from a DHCP server. Thats how its set up. What DHCP server? Should it be manually set up?

Im totally lost.

All i want is for my Tivo to be given an IP address through internet sharing AND to know what it is so I can telnet in.

Any help appreciated.

Ta

___________________________

Type: Ethernet
Hardware: Ethernet
BSD Device Name: en0
IPv4 Addresses: 169.254.194.252
IPv4:
Addresses: 169.254.194.252
Configuration Method: DHCP
Interface Name: en0
Subnet Masks: 255.255.0.0
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Default Zone: *
Interface Name: en0
Network ID: 65407
Node ID: 167
Proxies:
FTP Passive Mode: Yes
Ethernet:
MAC Address: 00:0a:95:d8:af:da
Media Options: Full Duplex
Media Subtype: 100baseTX
lenman74 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
 
Page 1 of 2
 1  2  >
Reply

Thread Tools

 
Similar Threads
 
Thread Thread Starter Forum Replies Last Post
Internet Sharing (Leopard) & Web Hosting Beau Mac OS X & All Software 1 23-02-2008 04:09 PM
internet sharing - what is the default IP address when sharing internet lenman74 Mac OS X & All Software 7 17-10-2007 09:58 PM
bluetooth internet sharing - imac & powerbook? guyb Help and New Mac User Support 0 26-04-2006 08:20 PM
Pc To Mac Internet Sharing stin Help and New Mac User Support 6 07-10-2005 11:54 AM
Dhcp Server For Mac Osx cmjl Terminal, UNIX, Command line & X11 7 27-05-2005 10:47 AM