• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to access netPI?
#1
Hi Armin,
Can you help me to access netPi?
I have attached my problem.

Thanks.


Attached Files
.docx   how to access netPI.docx (Size: 194.98 KB / Downloads: 4)
  Reply
#2
Hello,

I want to mention the following points

1.) are you sure you have a DHCP running in your network?
2.) what is the status of the LED ACT of your unit?
3.) if you can connect a cable to the HDMI port ... do you see any errors there during the boot sequence? usually you see [ok] marked all in green colour
4.) please read this post https://forum.hilscher.com/Thread-DHCP-D...of-the-box . he need to use "http://NTBxxxxxxxxxx.local" in his network setup

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
(May-14th-2019, 08:06 AM)Armin@netPI Wrote: Hello,

I want to mention the following points

1.) are you sure you have a DHCP running in your network?
2.) what is the status of the LED ACT of your unit?
3.) if you can connect a cable to the HDMI port ... do you see any errors there during the boot sequence? usually you see [ok] marked all in green colour
4.) please read this post https://forum.hilscher.com/Thread-DHCP-D...of-the-box . he need to use "http://NTBxxxxxxxxxx.local" in his network setup

Thx
Armin

Hi,

1.For the first question, how can I sure the Dynamic Host Configuration Protocol is running in my network?
I have change my DNS network to 8.8.8.8 and alternate DNS server to 8.8.4.4

2. The ACT LED is running in the bliking Green pattern.

3. Yes, I see all [OK] and after that nothing happens...

4. I read this forum and tried with the "http://NTBxxxxxxxxxx.local" 

These I have tried but I still can't connect to the web browser.

Thank you!
  Reply
#4
Hello,

so your log file looks ok and your netPI is working fine.

Back to the question 1.). I asked if your network has a DHCP server active which gives the netPI an IP address. A DNS server you are referencing is not necessary at all for finding a netPI first of all. The netPI needs an IP address from a DHCP sever, else it cannot work.

In order to get an own IP address the netPI sends out periodically a "DHCP Discover" frame from source ip 0.0.0.0 to destination ip 255.255.255.255


Code:
363    27.758019    0.0.0.0    255.255.255.255    DHCP    340    DHCP Discover - Transaction ID 0x2c54930a


My netPI in the office has the MAC address b8:27:eb:d5:07:6 (printed on the label). So I connected my netPI to my notebook ethernet port directly to check if it is sending out these frames. So I connected my netPI to my notebooks ethernet interface and start a wireshark capture. I set a filter to "eth.src == b8:27:eb:d5:07:66" to capture just those frames of interest:

   

So I see my netPI is sending out these frames. So I checked it is working fine with my netPI. You can do the same just to check your netPI is doing well. As next you can do the very same procedure when you connect back your netPI to your official network. You should see the same frames ... and if you have a DHCP server running it should return a valid IP address back to netPI ... and then instead of using https://NTBxxxxxxx you could easily access your netPI with its ip address received by the DHCP server.

Thx
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
(May-14th-2019, 08:55 AM)Armin@netPI Wrote: Hello,

so your log file looks ok and your netPI is working fine.

Back to the question 1.). I asked if your network has a DHCP server active which gives the netPI an IP address. A DNS server you are referencing is not necessary at all for finding a netPI first of all. The netPI needs an IP address from a DHCP sever, else it cannot work.

In order to get an own IP address the netPI sends out periodically a "DHCP Discover" frame from source ip 0.0.0.0 to destination ip 255.255.255.255


Code:
363    27.758019    0.0.0.0    255.255.255.255    DHCP    340    DHCP Discover - Transaction ID 0x2c54930a


My netPI in the office has the MAC address b8:27:eb:d5:07:6 (printed on the label). So I connected my netPI to my notebook ethernet port directly to check if it is sending out these frames. So I connected my netPI to my notebooks ethernet interface and start a wireshark capture. I set a filter to "eth.src == b8:27:eb:d5:07:66" to capture just those frames of interest:



So I see my netPI is sending out these frames. So I checked it is working fine with my netPI. You can do the same just to check your netPI is doing well. As next you can do the very same procedure when you connect back your netPI to your official network. You should see the same frames ... and if you have a DHCP server running it should return a valid IP address back to netPI ... and then instead of using https://NTBxxxxxxx you could easily access your netPI with its ip address received by the DHCP server.

Thx

Hi Armin,

Wire Shark gives me as shown below but I couldn't get into the https://ntbxxxxxxxx/views/landing-page.html by default. Can I access to the webrowser by connecting the netPI and my notebook with an ethernet cable or do I have to add a router in between them?

Thank you!


Attached Files Thumbnail(s)
   
  Reply
#6
So I see that your netPI is sending out "DHCP discovery" messages periodically in your screen shot. You and I made this examination just for tests to see if your netPI is working like it should and now based on your screen shot I can confirm your netPI is operating 100% fine.

So if now in your network a DHCP server exists it will respond to netPI's "DHCP discovery" message with a "DHCP offer" message. But I cannot see this message in your screen shot.

Please have a look at https://en.wikipedia.org/wiki/Dynamic_Ho...n_Protocol to understand how DHCP messageing works and now netPI will get its IP address.

To your question: "Can I access to the webrowser by connecting the netPI and my notebook with an ethernet cable or do I have to add a router in between them?" . This will only work if your notebook operates also as DHCP server, if not, netPI will never get an IP address and https://NTBxxxxxxxx will never work. In other words I assume you will need a switched network in beetween Notebook and PC where an additional DHCP server is connected to and running (like a fritzbox for example).
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#7
(May-15th-2019, 07:41 AM)Armin@netPI Wrote: So I see that your netPI is sending out "DHCP discovery" messages periodically in your screen shot. You and I made this examination just for tests to see if your netPI is working like it should and now based on your screen shot I can confirm your netPI is operating 100% fine.

So if now in your network a DHCP server exists it will respond to netPI's "DHCP discovery" message with a "DHCP offer" message. But I cannot see this message in your screen shot.

Please have a look at https://en.wikipedia.org/wiki/Dynamic_Ho...n_Protocol to understand how DHCP messageing works and now netPI will get its IP address.

To your question: "Can I access to the webrowser by connecting the netPI and my notebook with an ethernet cable or do I have to add a router in between them?" . This will only work if your notebook operates also as DHCP server, if not, netPI will never get an IP address and https://NTBxxxxxxxx will never work. In other words I assume you will need a switched network in beetween Notebook and PC where an additional DHCP server is connected to and running (like a fritzbox for example).
Hi Armin,

Yup, I tried a switch and it works.Thanks!

Thank you very much!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Wi-fi in Access Point mode Renato75 7 4,658 June-3rd-2022, 12:59 PM
Last Post: Armin@netPI
  NetPI wifi access to WPA2-Enterprise MikeP 4 4,257 September-3rd-2021, 02:56 PM
Last Post: MikeP
  netPI RTE 3: access from several comm. masters tad 3 4,026 June-3rd-2021, 12:03 PM
Last Post: Armin@netPI
  Access to RTC from my own container application tad 1 3,523 March-19th-2021, 02:58 PM
Last Post: Armin@netPI
  Bluetooth Access MGharat 10 8,543 February-25th-2020, 12:58 PM
Last Post: DSongra
Wink How to access Root Directory Rajesh3128 8 5,070 October-16th-2019, 11:19 AM
Last Post: Armin@netPI
  netPI access for remote PLC confign MGharat 3 4,867 October-15th-2019, 09:12 AM
Last Post: Armin@netPI
  Wi-Fi access problem MGharat 3 4,946 March-12th-2019, 09:27 AM
Last Post: Armin@netPI
  access to netPI MGharat 2 4,076 March-7th-2019, 07:16 AM
Last Post: Armin@netPI
  [SOLVED] Access problems Azzamjj 8 6,939 January-25th-2019, 07:43 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)