#7 configure local_ip and remote_ip in synce-hal.conf

closed
None
5
2009-12-03
2009-09-15
No

I am using synce-0.14 on gentoo from the ebuilds in portage. Everithing is working fine. But I need to bi able to define an IP addresses which get assigned to my laptop and PDA device when pppd starts.

Would it be possible to be able to define local_ip and remote_ip IP addresses in synce-hal.conf insted of network parameter for default network?

Discussion

  • Mark Ellis

    Mark Ellis - 2009-09-16

    Yes, but not easily, the whole point of synce-hal is to support multiple devices dynamically.

    Expanding on that, it would be quite easy to modify the scripts to do this, but not in a way that fits in with the current operation.

    PS this is not a bug, its a feature request

     
  • Mark Ellis

    Mark Ellis - 2009-09-16
    • labels: 1163856 -->
     
  • Dimitrije Zivkovic

    Thanx for Your quick response. I realise this is a feature request, but I cannot access IRC and it seems like this feature is allready implemented but does not work...
    Let me explain....
    When my PDA works in USB serial mode, I can control which IP address gets assigned. Nothing is problematic there. But....
    When my PDA works in RNDIS mode, it always gets an IP from DHCP. But, in /etc/synce-hal.conf file, under RNDIS section of file, there are parameters for defining an STATIC IP addresses for local and remote IP. When I set these parameters, synce log says those parameters are recognized but format of IP addresses is invalid?!!!
    Couldn't find the correct format of these parameters in documentation nor on google... :) Google does'nt know it all, after all :)
    I'll attach my synce-hal.conf when I get to my linux box...

     
  • Mark Ellis

    Mark Ellis - 2009-09-19

    Ah, in that case what you want cannot be done, as far as we know.

    In RNDIS mode, we always try dhcp first, then if that fails use a static address. That is a design decision, it's not fixed. The addresses for rndis in the config file are for static only, as you've probably guessed.

    However, they are only in the config file to deal with devices that don't use the standard addresses. As far as we can tell the only way to set a particular IP address on the device is to manually edit the registry. So I'm afraid this cannot be done. If you find a way it can, please let me know :)

     
  • Mark Ellis

    Mark Ellis - 2009-12-03
    • status: open --> closed
     

Log in to post a comment.