[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Toon onderwerp - vast IP adres compileren • nodo-domotica.nl

nodo-domotica.nl

vast IP adres compileren

Voor hulp om je Nodo aan de praat te krijgen

vast IP adres compileren

Berichtdoor Naitsirhc » 29 nov 2013, 23:09

Hallo,

Korte vraag:
Is het mogelijk om bij het compileren de Nodo een vast IP adres te geven?
Dus in de code?

Ik zag wel dat in de code het volgende staat:
byte Nodo_IP[4]; // IP adres van van de Nodo. als 0.0.0.0 ingevuld, dan IP toekenning o.b.v. DHCP

Moet ik ipv [4} een IP adres toekennen?
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: vast IP adres compileren

Berichtdoor Markie » 30 nov 2013, 15:03

dit kan je je dhcp server in je router ook laten doen zodat hij altijd het zelfde adres krijgt
dit werkt op basis van het mac adres .

mark
Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Nodo Ethernetshield
Software Nodo Mega SWACNC-MEGA-R739
4 x Slave Small SWACNC-SMALL-R739
Lichtslave,Weerstationslave,Meterkastslave,ketelslave.
Gebruikers-avatar
Markie
 
Berichten: 419
Geregistreerd: 11 jan 2012, 11:41

Re: vast IP adres compileren

Berichtdoor Naitsirhc » 01 dec 2013, 08:39

Bedankt voor je antwoord.

Maar wil dit toch graag in de broncode vastleggen. Al mijn aansluitingen hebben een vast IP adres en wil dat bij de Nodo ook doen
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: vast IP adres compileren

Berichtdoor kabouter » 01 dec 2013, 09:48

kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: vast IP adres compileren

Berichtdoor Naitsirhc » 01 dec 2013, 12:24

Ok,

Dat wordt te gek. Ik zet DHCP aan in de router. Is het makkelijkst :D
Ik heb het al moeilijk genoeg met de mega inrichten.

Wel bedankt voor het meedenken
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: vast IP adres compileren

Berichtdoor manjh » 05 dec 2013, 20:04

Ip setting opnemen in een config file werkt ook. Bij opstarten leest de nodo die file uit en gebruikt die settings.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: vast IP adres compileren

Berichtdoor Naitsirhc » 08 dec 2013, 14:21

Hallo Manjh

Bedankt voor je antwoord. Ik ga me hier eens in verdiepen, want ik wil de Nodo achter een repeater hebben in een netwerk met vaste IP adressen...
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: vast IP adres compileren

Berichtdoor negraohikal » 09 dec 2013, 20:35

Via telnet of serial:

IP 192.168.x.x
Gateway 192.168.x.1
Subnet 255.255.255.0
Dnsserver 8.8.8.8
SettingsSave
Reboot

Zou moeten werken :)
negraohikal
 
Berichten: 6
Geregistreerd: 07 dec 2013, 14:17


Keer terug naar Nodo aan de praat krijgen

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 13 gasten

cron