EzDevInfo.com

adsl interview questions

Top adsl frequently asked interview questions

How to setup Quality of Service?

I'm talking about http://en.wikipedia.org/wiki/Quality_of_service. With streaming stackoverflow podcasts and downloading the lastest updates to ubuntu, I would like to have QoS working so I can use stackoverflow without my http connections timing out or taking forever.

I'm using an iConnect 624 ADSL modem which has QoS built-in but I can't seem to get it to work. Is it even possible to control the downstream (ie. from ISP to your modem)?


Source: (StackOverflow)

How to map my private ip which change dynamically onto my vps_ip?

I have create a droplet in digitalocean,there is a vps_ip i can use.
In my home the way connected to the internet is: route+modem+adsl.
I built a wordpress on the local pc on my home.
The net status is as below when to connect to the web.

WAN:
MAC:ommitted for privacy
IP :public_ip PPPoE
subnet mask:255.255.255.255
gateway:153.0.68.1
DNS:114.114.114.114 223.5.5.5

LAN
MAC:ommitted for privacy
IP :192.168.1.1
subnet mask:255.255.255.0
DHCP:active

ifconfig
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0                                                                    

My goal: let the public access my wordpress site on the home pc with vps_ip digitalocean gave me.

Thank to CrypticDesigns .
https://www.digitalocean.com/community/questions/how-to-map-my-local-ip-192-168-1-100-with-my-vps_ip?
I have solved the problem with the help of CrypticDesigns.

In my local network:
On my router portforward port 80 and private ip 192.168.1.100 to the outside of your network.

In public droplet system:

sudo apt-get install nginx
sudo nano /etc/nginx/sites-available/default
server {
    listen *:80;
    server_name vps_ip;
    rewrite .* http://publlic_ip$request_uri permanent; 
}
sudo service nginx restart

Anyone who go to the vpsip can browse my wordpress now.
It is important that my ip address on the wan changes about every 30 minutes.How about 30 minutes later?
The publicip will change,the configurration file /etc/nginx/sites-available/default can't work .
I want to make improvements on the problem.
It is my opinion to make the task done that :
1.in my home pc
The command curl ipinfo.io/ip can get my public ip.
Write it into crontab for every 30 minutes.
2.send the vpsip and change the value of publicip in /etc/nginx/sites-available/default
,and restart nginx.

How to express the two steps with shell command to make the process automatic?


Source: (StackOverflow)

Advertisements

ADSL modem drop outs cause SQL to lose connection

this may be a simply question but I hope its not.

I run some very long winded SQL operations on my local PC, which is hard wired to an ADSL modem for internet. The SQL Server and databases are ALL local on my PC, and the processing seems fine. (as fast as normal).

However, if my internet drops out - which happens perhaps a few times a night (at later hours usually), my SQL connection also drops with the familiar Connection lost error. (An error one would get if connecting to SQL over a network)

For me this does not make sense, my SQL connection string refers to the local instance only and no processing is over a network of any kind (I have VPN sometimes active, but not always when this happens)

I can run the same SQL processing without the modem connected with no issues at all. (Although sometimes it can take many many hours so I prefer to have the modem connected)

Could this possibly be due to the extra SQL Services ie Browser - that is somehow affected by the modem losing its internet connection?

(I would like to know that my ISP-provided modem is not doing any funny business in the background - like examining my data / traffic / etc)

Any help appreciated


Source: (StackOverflow)

TW-EAV510 modem exposes admin interface publically

I have a ADSL/VDSL modem, model TW-EAV510 ADSL2+/VDSL2 WLAN Router. The firmware version I am running is 5.00.59g-1.

I noticed that the modem is exposing the admin web interface on port 80 via my public IP address. This wasn't a major problem, because I have a pretty strong password, but I'd like to disable this so that the admin interface is only accessible within my local network.

I'm now hosting a website, so I forwarded port 80 to my server. When I set up the port forwarding, the modem automatically mapped the public admin interface to port 8080 (and informed me in an alert box). I have a domain name pointing to my IP, so the admin interface can be accessed through mydomain.com:8080

I've read all the manuals and docs, and combed through every setting in the web interface, but couldn't find any option to disable public accessibility.

Anyone else run into this problem, or know how to fix it?


Source: (StackOverflow)

How to send a sms message Via ADSL Router / Modem

I just want to know that how to send a sms via ADSL modem / Router ?? Just searched the internet and asked some friends.but couldn't get an answer.....!! Please help


Source: (StackOverflow)

Changing proxy settings programmatically in Windows for DSL connections

I'm currently writing a C# proxy program that needs to change Windows proxy settings. Every single guide online only changes the proxy settings for a LAN connection (i.e. behind a NAT). This is a problem, since many users in China (my target audience) directly hook up PPPoE connections from their modem into their computer and use PPPoE software to dial up to DSL (yes, this is sucky security, with all listening ports visible to the world, but that's the way things are).

How would I change the DSL proxy? This is worrying, as looking at my user stats ~20% of people are not getting the proxy settings changed automatically.


Source: (StackOverflow)

Mysql Replication

I want to be able to replicate a local mysql db to an online mysql db over adsl.

My adsl ip is dynamic, so I dont have static ip.

I use a custom application to fill the local db, the app uses quite a lot of cpu and the on webserver that hosts the online db is suffering when I run the app online.

Is there any way to do this ?

Thanks lin advance for any help.

Regards

Potman100


Source: (StackOverflow)

Load-Balancing 2 ADSL lines on a Software Level

We want to load balance two ADSL lines in our office.

I have limited experiences with is and was wondering if someone could provide me with a solution beyond the theory, in other words, specifics about hardware and software requirements and suggestions.

So we have 2 4mb ADSL lines and want to laod-balance them preferably using a linux box. How should this be set up? Obviously each line connects to a modem/router, and then do there routers connect to a switch on which the rest of the LAN and the Linux Box are connected to?

Also, is there any load-balancing software for linux someone could recommend?

Your help is GREATLY appreciated!!!

kidnest regards

Seb


Source: (StackOverflow)