• 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: 3)
  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
Wink How to access Root Directory Rajesh3128 8 83 Yesterday, 11:19 AM
Last Post: Armin@netPI
  netPI access for remote PLC confign MGharat 3 24 October-15th-2019, 09:12 AM
Last Post: Armin@netPI
  Wi-Fi access problem MGharat 3 12 March-12th-2019, 09:27 AM
Last Post: Armin@netPI
  access to netPI MGharat 2 20 March-7th-2019, 07:16 AM
Last Post: Armin@netPI
  [SOLVED] Access problems Azzamjj 8 179 January-25th-2019, 07:43 AM
Last Post: Armin@netPI
  Remote Access Jonas.Sellmann@outlook.de 12 460 September-20th-2018, 10:20 AM
Last Post: Armin@netPI
  [SOLVED] after WIFI enabled - no access paubau 7 263 August-30th-2018, 02:04 PM
Last Post: Armin@netPI
  Resart/Access NetPi from Remote Jonas.Sellmann@outlook.de 11 395 August-1st-2018, 11:06 AM
Last Post: Jonas.Sellmann@outlook.de
  Access Denied to LED1 / LED2 crthomas1234 1 104 July-12th-2018, 04:36 PM
Last Post: Armin@netPI
  usage as WLAN access point with hostapd FrankJacob 1 104 July-6th-2018, 10:34 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)