Cisco to Alcatel Config Converter - converters

I am having a CISCO config file which needs to be converted to corresponding ALCATEL config ,can someone suggest something .

Some Alcatel Lucent Switches and routers uses cli commands such 6450, 6350 etc. Then there are other such as SR 7750 which uses NetConf.
So direct conversion is not possible but may be you can just understand the and then configure other box with appropriate relevant commands.
Regards

Related

Adding wifi SSID and PASSWORD to sdkconfig

I'm creating a wifi application using ESP-IDF based on the examples but the example I'm using has options for setting the SSID and PASSWORD under:
Example Connection Configuration
when using idf.py menuconfig and which are used by CONFIG_EXAMPLE_WIFI_SSID and CONFIG_EXAMPLE_WIFI_PASSWORD in the code.
I want to set SSID and PASSWORD in my own project without using this in CMakeLists.txt:
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
without the above there isn't a way to define SSID and PASSWORD. They appear in:
build/config/kconfig_menus.json
but I can't seem to keep this from being overwritten in my own project. sdkconfig states it should not be edited.
Is there a best practice for using idf.py menuconfig? Or do most people just use sdkconfig.defaults and not use idf.py menuconfig?
I eventually tracked down the file Kconfig.projbuild in the example project via the build system docs:
Each component may also include a Kconfig file defining the component
configuration options that can be set via menuconfig. Some components
may also include Kconfig.projbuild and project_include.cmake files,
which are special files for overriding parts of the project.
created my own version and put it in main and the options now appear when using idf.py menuconfig. Thanks to this video.
When we use ESP-IDF example and change config using idf.py menuconfig there is one config option example configuration that is custom or user's own configuration created by espressif. And we can also make our own configuration like that.
Kconfig.projbuild is used for making our own configuration. for details see below links.
how-to-add-custom-configuration-in-project-config
Espressif official doc

Changing Max Client Protocol in smb.conf

I have a bunch of CentOS computers for which I would like to change the smb.conf to either enable client max protocol = SMB2 by uncommenting it or by adding it in of it doesn't exist under the [global] section.
Is there any way to script this? Its quite a couple computers that this change will have to be executed on and I'd like to pair it with another bash script so this maintenance doesn't take too much time.
Thanks in advance.

How to configure spi in the driver file insted of giving configuration in the application

I want to write a test driver for mcspi and want to give all configuration in my driver file (instead of using user space application I want to use driver as a test driver and want to create .ko) and want to pass all configuration to the mcspi controller.
The configurations like chip_select, mode, speed, bits etc., Basically all these configurations I want to use for my test driver to check functionality of FIFO mode in the mcspi. I have already enabled FIFO in the mcspi but I want to check its functionality.
Can anyone please give me some suggestions?
I don't really know why cant you do something you want. I think you can pass the configuration by set up parameters using module_param
Adding on what #sunnyleevip suggested: another "standard" way to configure your driver would be to expose the params of interest via the /proc or the /sys filesystems.
You can find all the details in Linux Device Driver
Expanding on #sergico and #sunnyleevip, you could also use device tree to pass configuration data to the driver. The SPI bus master driver (since the 2.6.30s and all of the 3.x kernels) already are pretty devicetree supportive, so there might not be much more to do to get it to work.

How to install applications to a WebSphere 7.0 cluster using wsadmin?

I want to deploy to all four processes on a Websphere cluster with two nodes. Is there a way of doing this with one Jython command or do I have to call 'AdminControl.invoke' on each one?
Easiest way to install an application using wsadmin is with AdminApp and not AdminControl.
I suggest you download wsadminlib.py (Got the link from here)
it has a lot of functions, one of them is installApplication which works also with cluster.
Edit:
Lately I found out about AdminApplication which is a script library included in WAS 7 (/opt/IBM/WebSphere/AppServer/scriptLibraries/application/V70)
The docuemntation is not great in the info center but its a .py file you can look inside to see what it does.
It is imported automatically to wsadmin and you can use it without any imports or other configuration.
Worth a check.
#aviram-segal is right, wsadminlib is really helpful for this.
I use the following syntax:
arg = ["-reloadEnabled", "-reloadInterval '0'", "-cell "+self.cellName, "-node "+self.nodeName, "-server '"+ self.serverName+"'", "-appname "+ name, '-MapWebModToVH',[['.*', '.*', self.virtualHost]]]
AdminApp.install(path, arg)
Where path is the location of your EAR/WAR file.
You can find documentation here

How to configure firefox over command line on a linux machine

I use two Internet connections so i want to use bash scripts to automate the task of switching between the two..
the problem is i cant able to configure firefox proxy settings via scripts, so is there a way to do that... does any configuration file exists for firefox so that i can modify over command line..
I have read this entry but this dint helped me much.. (its on windows)
firefox proxy settings via command line
you can use the "automatic proxy configuration" for this. this field takes a "pac" file which in fact is just a javascript function named FindProxyForURL that can use things like dnsResolve or isInNet to determine wether a proxy is needed or not. there is a wikipedia article which describes the files in detail and i have written a blog post a while a go that gives an example function.

Resources