# Default username and password of both CPE and ACS server

**URL:** <https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344>\
**Category:** Uncategorized\
**Created:** [January 9, 2021, 7:57pm UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344 "2021-01-09T19:57:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajingithub](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/rajingithub/32/373_2.png) [@rajingithub](https://forum.genieacs.com/u/rajingithub)\
**Post date:** [January 9, 2021, 7:57pm UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/1 "2021-01-09T19:57:59Z")

</div>

hi guys,  
what is the default username and password of the CPE and ACS server.

in my CPE configuration file i have given these values

acs\_url=http://127.0.0.1:7547/  
#ca\_file=/etc/ssl/private/ca.pem  
#ca\_password=121111  
cpe\_manufacture=ChinaNMS  
cpe\_oui=A00001  
cpe\_sn=12345  
cpe\_name=000000   
cpe\_pc=OT2800  
cpe\_specver=V1.0  
cpe\_hwver=V1.0  
cpe\_version=V1.2.7.29  
cpe\_username=cwmp  
cpe\_password=cwmp  
acs\_username=cwmp  
acs\_password=cwmp

iam getting response as =\> HTTP/1.1 400 Bad Request  
is error related to username and password or anything else??thank you

---

<div class="post-metadata">

**Author:** ![Foolson](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/foolson/32/70_2.png) [@Foolson](https://forum.genieacs.com/u/Foolson)\
**Post date:** [January 9, 2021, 8:30pm UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/2 "2021-01-09T20:30:31Z")

</div>

The default configuration has no CPE to ACS authentication active.

[http://docs.genieacs.com/en/latest/cpe-authentication.html#cpe-to-acs](http://docs.genieacs.com/en/latest/cpe-authentication.html#cpe-to-acs)

---

<div class="post-metadata">

**Author:** ![rajingithub](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/rajingithub/32/373_2.png) [@rajingithub](https://forum.genieacs.com/u/rajingithub)\
**Post date:** [January 10, 2021, 5:38am UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/3 "2021-01-10T05:38:15Z")

</div>

hi ,i have tried with different configuration still it is showing the same thing (400 bad request)

 ![screenshot_a](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/9ae9bc075df2b4c4be19591d807bcc0d0c59d22d.png)

my configuration file=\>

[cwmp]  
enable=1;  
soap\_env=SOAP-ENV  
soap\_enc=SOAP-ENC  
acs\_auth=0  
cpe\_auth=0  
event\_filename=/etc/cwmpevent.bin

acs\_url=http://127.0.0.1:7547/  
#acs\_url=http://192.168.28.246:9999/  
ca\_file=/etc/ssl/private/ca.pem  
ca\_password=123456

cpe\_manufacture=ChinaNMS  
cpe\_oui=A00001  
cpe\_sn=300000  
cpe\_name=000000  
cpe\_pc=OT2800  
cpe\_specver=V1.0  
cpe\_hwver=V1.0  
cpe\_version=V1.2.7.29  
cpe\_username=  
cpe\_password=  
acs\_username=  
acs\_password=  
[cwmpd]  
httpd\_port=5400  
http\_timeout=-1

---

<div class="post-metadata">

**Author:** ![wesx](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/wesx/32/402_2.png) [@wesx](https://forum.genieacs.com/u/wesx)\
**Post date:** [February 4, 2021, 7:09am UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/4 "2021-02-04T07:09:15Z")

</div>

Im not sure, but our CPEs have a serial of 12 hex letters while yours have just 6. Could this be a problem?

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [February 5, 2021, 8:31am UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/5 "2021-02-05T08:31:31Z")

</div>

Authentication failure should give you 401 code, not 400. Check the logs of Genie for any error messages or exceptions.

---

<div class="post-metadata">

**Author:** ![rajingithub](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/rajingithub/32/373_2.png) [@rajingithub](https://forum.genieacs.com/u/rajingithub)\
**Post date:** [February 5, 2021, 9:03am UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/6 "2021-02-05T09:03:28Z")

</div>

![IMG_20210205_143439](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/693efeaa9c2e62b73efd0ecdcfc4b0d2dddeb754.jpeg)

Hii, my client(CPE) is sending 2 messages at a time ,that may be the reason for error. Iam attaching a flow which I observed in my wireshark(hand drawn)

---

<div class="post-metadata">

**Author:** ![UK-cpe-user](https://avatars.discourse-cdn.com/v4/letter/u/c77e96/32.png) [@UK-cpe-user](https://forum.genieacs.com/u/UK-cpe-user)\
**Post date:** [June 16, 2021, 11:09am UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/7 "2021-06-16T11:09:04Z")

</div>

Hi

Did you make any progress with this query?

I too am seeing a straight ‘Bad Request 400’ in response to inform from my CPE. No indication from Genie why it is bad, I’m not seeing the double request you do.

I was interested in your log output though, I get absolutely nothing in the debug log when this happens, but I know logging is OK, when I use the Genie ClientSim program I get loads of debug.

My XML all looks OK, if you are able to help with a couple of pointers that would be really helpful:-

- How to switch on more logging (you seem to be seeing different information from mine)
- What might be a likely cause of 400 code

Many thanks

---

<div class="post-metadata">

**Author:** ![rajingithub](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/rajingithub/32/373_2.png) [@rajingithub](https://forum.genieacs.com/u/rajingithub)\
**Post date:** [June 23, 2021, 12:47pm UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/8 "2021-06-23T12:47:02Z")

</div>

Hi,

I still did not got the solution .

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [June 23, 2021, 7:23pm UTC](https://forum.genieacs.com/t/default-username-and-password-of-both-cpe-and-acs-server/1344/9 "2021-06-23T19:23:48Z")

</div>

I suspect you might have an apache server running on the same port. Try doing the queries over port 7547 or check your firewall rules.

In my case I have iptables doing a nat redirection

```auto
root@acs2:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination         
REDIRECT tcp -- anywhere anywhere tcp dpt:http redir ports 7547

```

in case you are not getting any progress I recommend starting from scratch on a new server (IOW fresh Linux install) with a physically separated network with no firewall and using genieacs-sim to test cpe connection to genieacs if necessary. Once you have a minimal working setup you can explore from there.
