Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dynamic ip

Featured Replies

Hi

 

I need help.I search forum but i cannt find anything. 

 

I am using dynamic ip from my isp. I am making hosting server. Everything works great but when i configure email server from this link https://www.digitalocean.com/community/tutorials/how-to-run-your-own-mail-server-with-mail-in-a-box-on-ubuntu-14-04  so i need to install bind.

 

 

 

The issue is is it possible to write automatically dynamic ip address in the host file? I am using cubieboard 1.

 

 

Please tell me or put me the the right track.

4 hours ago, anuj9122 said:

The issue is is it possible to write automatically dynamic ip address in the host file?

Your question is a bit vague ...

If you wish to get your external IP address, here is a small python script that could help :

#!/usr/bin/python

import urllib, httplib, json

headers = {"User-Agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1",
	"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
	"Accept-Language": "en-us,en;q=0.5",
	"Connection": "keep-alive" }
conn = httplib.HTTPConnection("api.ipify.org")
conn.request("GET", "/?format=json", "", headers)
r1 = conn.getresponse()
data = r1.read()
jsonobj = json.loads(data)
myIP = jsonobj['ip']
print myIP

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.